Skip to content
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

chore(suite): separate popup logic from @suite-common/connect-init #15975

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

martykan
Copy link
Member

@martykan martykan commented Dec 16, 2024

Description

Separate popup logic from @suite-common/connect-init into a new package @trezor/suite-desktop-connect-popup

Copy link

github-actions bot commented Dec 16, 2024

🚀 Expo preview is ready!

  • Project → trezor-suite-preview
  • Platforms → android, ios
  • Scheme → trezorsuitelite
  • Runtime Version → 20
  • More info

Learn more about 𝝠 Expo Github Action

@martykan martykan marked this pull request as ready for review December 16, 2024 10:10
@martykan martykan requested review from mroz22 and matejkriz December 16, 2024 10:10
@matejkriz
Copy link
Member

This would fix the issue with suite-native dependency tree, but I'm not sure if this new package belongs to suite-common and I don't like the name that can be confused with @trezor/connect-popup.

Is it intended to be reused on mobile in the future for mobile connect popup?

I would move it to packages and rename to something like connect-popup-desktop?

@martykan
Copy link
Member Author

I see potential to reuse it for mobile as well, but it would need some adjustments.
The package would also handle permissions and maybe also WalletConnect will be there.

@martykan martykan force-pushed the chore/separate-connect-init-desktop-popup branch from 9786cea to 39c0b79 Compare December 16, 2024 11:52
Copy link
Member

@matejkriz matejkriz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@martykan martykan force-pushed the chore/separate-connect-init-desktop-popup branch from 39c0b79 to 399d96e Compare December 16, 2024 15:47
@matejkriz matejkriz merged commit 3b4f582 into develop Dec 16, 2024
73 checks passed
@matejkriz matejkriz deleted the chore/separate-connect-init-desktop-popup branch December 16, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants