-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connect - core in suite-desktop #14690
Conversation
10a19b9
to
813585f
Compare
6aa7d61
to
8e58f34
Compare
|
||
mainThreadEmitter.on('blur-window', () => { | ||
app.hide(); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one preliminary question - is it the correct way to achieve inter-module focus-window and blur-window? if yes, then of course code duplication needs to be solved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have handlers in window-controls
that respond to ipcMain app/hide
and app/focus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However it can only focus an existing window, not recreate it
8e58f34
to
b85894c
Compare
b85894c
to
ff0afd7
Compare
🚀 Expo preview is ready!
|
4a816ff
to
9be558b
Compare
Current state:
Missing features:
|
9be558b
to
b1630f7
Compare
2b772b3
to
d0ee74b
Compare
…isting http receiver
d0ee74b
to
b1125c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦭 ✅
fdb3d98
to
21ec6ac
Compare
21ec6ac
to
9bcddac
Compare
- #14690 introduced dependency on @trezor/suite-desktop-api in @suite-common/connect-init - The ultimate solution would be to split that logic to a new package and remove the dependency on desktop-api from connect-init
- #14690 introduced dependency on @trezor/suite-desktop-api in @suite-common/connect-init - The ultimate solution would be to split that logic to a new package and remove the dependency on desktop-api from connect-init
So far only some preliminary research and exploration of replacing connect-popup with suite-desktop. My general idea is to merge this feature behind debug. The motivation is that there are similar UX problems to be solved for both core-in-suite-native and core-in-suite-desktop so it makes sense to me to have some playground available for both.
suite-desktop:
--expose-connect-ws
flag is on, suite-desktop opens websocket on 8090 and accepts connect calls here.connect-web:
core-in-suite-desktop
. what is a better name?core-in-ws-server
?connect
package. And also fromconnect-webextension
. I need to discuss this with @karliatto