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(core) rename Shamir to Multi-share #3803

Merged
merged 1 commit into from May 16, 2024
Merged

chore(core) rename Shamir to Multi-share #3803

merged 1 commit into from May 16, 2024

Conversation

ibz
Copy link
Contributor

@ibz ibz commented May 8, 2024

@ibz ibz added the low hanging fruit Simple, quick task. label May 8, 2024
@ibz ibz requested a review from matejcik May 8, 2024 10:44
@ibz ibz self-assigned this May 8, 2024
@ibz ibz requested a review from prusnak as a code owner May 8, 2024 10:44
Copy link

github-actions bot commented May 8, 2024

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T2B1 Safe 3 3280 test(screens) main(screens) 2724
T3T1 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@obrusvit
Copy link
Contributor

obrusvit commented May 8, 2024

Please merge after #3696

@prusnak
Copy link
Member

prusnak commented May 8, 2024

Don't we also want to rename the identifiers of strings?

@@ -601,15 +601,15 @@ class TR:
reset__threshold_info: str = "= minimum number of unique word lists used for recovery."
reset__title_backup_is_done: str = "BACKUP IS DONE"
reset__title_create_wallet: str = "CREATE WALLET"
reset__title_create_wallet_shamir: str = "CREATE WALLET (SHAMIR)"
reset__title_create_wallet_shamir: str = "CREATE WALLET (MULTI-SHARE)"
Copy link
Contributor

Choose a reason for hiding this comment

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

This would be visible also when user is creating 1 of 1 right?

During the creation of 1of1 shamir, there cannot be a term multi-share...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I'll use something else in that case. What should it be? "single share"?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, we now cannot distinguish which type of backup user would do (single-share or multi-share). So for now on deviceReset let's use just Create wallet as in bip39 flow.

@Hannsek Hannsek linked an issue May 9, 2024 that may be closed by this pull request
@ibz ibz force-pushed the ibz/20240508-shamir branch 2 times, most recently from 2188ef3 to 954c02b Compare May 9, 2024 13:05
Copy link

github-actions bot commented May 9, 2024

legacy UI changes device test(screens) main(screens)

@ibz ibz requested a review from obrusvit May 9, 2024 14:55
@obrusvit obrusvit added the translations Put this label on a PR to run tests in all languages label May 10, 2024
Copy link
Contributor

@obrusvit obrusvit left a comment

Choose a reason for hiding this comment

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

Some of the device tests fixtures for T2B1 are not updated as they do not currently run on CI. Compare the changed fixtures for T2B1 vs T2T1.
I suggest updating those tests locally.

Copy link
Contributor

@obrusvit obrusvit left a comment

Choose a reason for hiding this comment

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

LGTM.

@ibz ibz merged commit 3d74e30 into main May 16, 2024
33 of 34 checks passed
@ibz ibz deleted the ibz/20240508-shamir branch May 16, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low hanging fruit Simple, quick task. translations Put this label on a PR to run tests in all languages
Projects
Status: 🤝 Needs QA
Development

Successfully merging this pull request may close these issues.

Change copy from Shamir to multi-share
4 participants