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

Feat/empty device label #14483

Merged
merged 5 commits into from
Sep 24, 2024
Merged

Feat/empty device label #14483

merged 5 commits into from
Sep 24, 2024

Conversation

komret
Copy link
Contributor

@komret komret commented Sep 23, 2024

Description

  • Do not set device label automatically, it can only be set by user action (previously it was set when creating a new wallet to "My Trezor".
  • If device label is not set, display device name instead (e.g. Trezor Safe 5).

Related Issue

Resolve #12881

Screenshots:

Before:

Screenshot 2024-09-23 at 13 25 54
Screenshot 2024-09-23 at 13 58 41
Screenshot 2024-09-23 at 13 58 57

After:

Screenshot 2024-09-23 at 15 51 20
Screenshot 2024-09-23 at 13 58 28
This is not value but placeholder:
Screenshot 2024-09-23 at 16 25 00

@komret komret marked this pull request as ready for review September 23, 2024 15:38
@komret komret added the onboarding Onboarding part for a new user/device label Sep 23, 2024
@komret komret mentioned this pull request Sep 23, 2024
Copy link
Contributor

@Lemonexe Lemonexe left a comment

Choose a reason for hiding this comment

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

Tested with physical trezor and onboarding works fine ✔️
I tested some of the usages selectDeviceLabelOrName and they work fine, so I'd trust the others ✔️
Codewise LGTM, though with comment above 💬

@komret
Copy link
Contributor Author

komret commented Sep 24, 2024

/rebase

Copy link

Copy link

Rebasing failed, please rebase manually.

@komret komret enabled auto-merge (rebase) September 24, 2024 09:41
@komret komret merged commit 1fef125 into develop Sep 24, 2024
48 checks passed
@komret komret deleted the feat/empty-device-label branch September 24, 2024 09:47
matejkriz added a commit that referenced this pull request Oct 15, 2024
- #14483 broke device label in case of multiple devices. Device label of selected device was reused for all of them.
matejkriz added a commit that referenced this pull request Oct 15, 2024
- #14483 broke device label in case of multiple devices. Device label of selected device was reused for all of them.
PeKne pushed a commit that referenced this pull request Oct 15, 2024
- #14483 broke device label in case of multiple devices. Device label of selected device was reused for all of them.

(cherry picked from commit ff92fc9)
komret pushed a commit that referenced this pull request Nov 14, 2024
- #14483 broke device label in case of multiple devices. Device label of selected device was reused for all of them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
onboarding Onboarding part for a new user/device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not rename device default name to "My Trezor"
3 participants