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

docs(connect-explorer): connect-deeplink / mobile #14481

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

martykan
Copy link
Member

@martykan martykan commented Sep 23, 2024

Description

Add a section about mobile to the index page, including quickstart guide.
Add a page documenting the deeplink URL spec.

Add the option to open and receive deeplinks from Connect Explorer.

Link: https://dev.suite.sldev.cz/connect/doc/native-connect-popup/

Related Issue

Resolve #14533

@martykan martykan changed the title WIP: docs(connect-explorer): native connect popup WIP: docs(connect-explorer): connect-deeplink / mobile Sep 23, 2024
@trezor-ci trezor-ci force-pushed the feat/native-connect-popup branch from 5572148 to 47deadd Compare September 24, 2024 11:22
@martykan martykan force-pushed the feat/native-connect-popup branch 3 times, most recently from 5dea4aa to ef51c96 Compare September 25, 2024 13:56
@martykan martykan force-pushed the doc/native-connect-popup branch from 164ecee to 9e64c06 Compare September 26, 2024 07:00
@martykan martykan force-pushed the feat/native-connect-popup branch from 55ee24f to c7f9d1f Compare September 26, 2024 12:05
Base automatically changed from feat/native-connect-popup to develop September 26, 2024 13:11
An error occurred while trying to automatically change base from feat/native-connect-popup to develop September 26, 2024 13:11
@martykan martykan changed the title WIP: docs(connect-explorer): connect-deeplink / mobile docs(connect-explorer): connect-deeplink / mobile Sep 26, 2024
@martykan martykan force-pushed the doc/native-connect-popup branch 3 times, most recently from bcafbfb to 635c797 Compare September 26, 2024 14:29
@martykan martykan marked this pull request as ready for review September 26, 2024 15:06
@martykan martykan force-pushed the doc/native-connect-popup branch from 635c797 to dc74699 Compare September 30, 2024 08:40
@martykan martykan force-pushed the doc/native-connect-popup branch from dc74699 to ad09e32 Compare October 15, 2024 13:57
Copy link
Contributor

@mroz22 mroz22 left a comment

Choose a reason for hiding this comment

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

image

on sldev

Comment on lines +126 to +130
if (!this.messagePromises[id]) {
// Most likely old ID, ignore
return;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

feels like it would deserve a standalone commit maybe. nitpick.

@mroz22
Copy link
Contributor

mroz22 commented Oct 15, 2024

Copy link
Contributor

@mroz22 mroz22 left a comment

Choose a reason for hiding this comment

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

just some nitpicks. I think it makes sense to have this already in develop.

@@ -143,6 +145,7 @@ export const init =
// Get default coreMode from URL params (?core-mode=auto)
const urlParams = new URLSearchParams(window.location.search);
const coreMode = (urlParams.get('core-mode') as ConnectOptions['coreMode']) || 'auto';
const deeplink = urlParams.get('deeplink') === 'true'; // TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

I imagine, that in the end, deeplink will be only one of the core modes maybe (only available if some conditions are met, such as registering callbacks etc).

@martykan martykan force-pushed the doc/native-connect-popup branch from ad09e32 to 0530156 Compare October 15, 2024 14:33
@martykan martykan enabled auto-merge (rebase) October 15, 2024 14:48
@martykan martykan merged commit 21e0d42 into develop Oct 15, 2024
83 of 86 checks passed
@martykan martykan deleted the doc/native-connect-popup branch October 15, 2024 14:49
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.

Create @trezor/connect-deeplink section in Explorer
3 participants