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

UI Page to add current device to the current origin #2757

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

lmuntaner
Copy link
Collaborator

@lmuntaner lmuntaner commented Dec 19, 2024

Motivation

As part of the migration plan for Domains Compatibility, we want to offer the user the possibility to add the current device to the current origin.

This is needed to avoid having a bad UX when the user logs in and the initial RP ID selected by the algorithm is incorrect and the user needs to try again. For example, the user has a device registered in the current domain, but is currently on another device.

Changes

  • New page addCurrentDevice with its templates and pages.

Tests

  • Added a showcase page to check how it looks. See screenshot attached.

🟢 Some screens were added
🟡 Some screens were changed

@lmuntaner
Copy link
Collaborator Author

lmuntaner commented Dec 19, 2024

New Page:

Screenshot 2024-12-20 at 08 37 31

@lmuntaner lmuntaner marked this pull request as ready for review December 19, 2024 09:57
@lmuntaner lmuntaner requested review from sea-snake and LXIF December 19, 2024 09:57
@lmuntaner
Copy link
Collaborator Author

@LXIF @sea-snake please review

Copy link
Contributor

@LXIF LXIF left a comment

Choose a reason for hiding this comment

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

LGTM

@lmuntaner lmuntaner force-pushed the lm-page-replace-device-domain branch from 7133f76 to 1cdb051 Compare December 20, 2024 07:38
@lmuntaner lmuntaner requested a review from LXIF December 20, 2024 07:38
@lmuntaner lmuntaner changed the title UI Page to replace current device's origin UI Page to add current device to the current origin Dec 20, 2024
"title": "Add Current Device",
"paragraph": "Please add the current device to your identity to improve the user experience with Internet Identity.",
"skip": "Skip",
"replace_origin": "Add",
Copy link
Contributor

Choose a reason for hiding this comment

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

One more

@lmuntaner lmuntaner enabled auto-merge December 20, 2024 11:38
@lmuntaner lmuntaner added this pull request to the merge queue Dec 20, 2024
Merged via the queue into main with commit 2fe1683 Dec 20, 2024
68 checks passed
@lmuntaner lmuntaner deleted the lm-page-replace-device-domain branch December 20, 2024 11: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.

3 participants