-
Notifications
You must be signed in to change notification settings - Fork 44
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
Wallet settings, change password and download mnemonic #4326
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks very nice. Only minor things to change
packages/atlas/src/components/_auth/PasswordCriterias/PasswordCriterias.tsx
Outdated
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/ChangePasswordDialog.tsx
Outdated
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/ChangePasswordDialog.tsx
Outdated
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/MembershipWallet/MembershipWallet.tsx
Outdated
Show resolved
Hide resolved
…hipWallet/MembershipWallet.tsx Co-authored-by: attemka <attemka@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
After changing my avatar I got redirected, but my membership was not refetched.
The same thing applies for handle change, but since we use it in URL params after F5 is receive empty page
-
We display tx fee even tho nothing was changed (public profile tab)
-
Why do we need action bar in wallet tab if every action performed in this tab is performed inside a specific dialog?
-
@dmtrjsg @attemka I know that it's possible for someone determined to retrieve a mnemonic (with local storage) after the user forgot to log out or smth to do it. But having password auth for seed export and right under its action to change the password without knowing the previous one is pointless.
packages/atlas/src/views/viewer/MembershipSettingsView/ChangePasswordDialog.tsx
Outdated
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/ChangePasswordDialog.tsx
Outdated
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/ExportSeedDialog.tsx
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/ExportSeedDialog.tsx
Outdated
Show resolved
Hide resolved
packages/atlas/src/views/viewer/MembershipSettingsView/ExportSeedDialog.tsx
Show resolved
Hide resolved
The argument is to show the bottom panel only on change of inputs.. wdyt? |
@dmtrjsg implemented solutions for your feedback above. Edited few components and added documentation for action bar behavior logic. Also all of the pages are now updated with the new logic. |
Draft, I need to apply new action bar changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/atlas/src/views/viewer/MembershipSettingsView/ChangePasswordDialog.tsx
Outdated
Show resolved
Hide resolved
confirmPassword: string | ||
} | ||
|
||
export const getMnemonicFromeEmailAndPassword = async (email: string, password: string) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we have anything similar in auth provder helpers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't but I moved the function to helpers
* wip * settings view ground work * uncomment route * add borderColor prop to banner * fix issues with modal paddings * create password form component, sign up modal refactoring * add export seed dialog and change password dialog * handle copy button * show different settings for wallet users * refactor password dialogs * cr fixes * Update packages/atlas/src/views/viewer/MembershipSettingsView/MembershipWallet/MembershipWallet.tsx Co-authored-by: attemka <attemka@gmail.com> * auth helpers further refactor * reset form on cancel * cr fixes * cr fixes 2 * add additional step to ChangePassword * action bar adjustments, add unsaved changes dialog * fix viewer layout * action bar changes * action bar adjustments * cr fixes * fix fee issue * change password fix? --------- Co-authored-by: attemka <attemka@gmail.com>
* anonymous user interaction (#4168) * 🔑 Protected actions (#4164) * 🔐 Login modal (#4182) * Sign up flow (#4210) * 🤯 External wallet login (#4252) * 🌳 Rearrange user, wallet, and auth provider (#4260) * Public profile settings (#4275) * 🥊 Glue auth components (#4282) * 🩹 My channel (#4329) * 🦢 Swap sign up step (#4317) * 🧠 Forgot password flow (#4325) * 🌵 Channel creation modal (#4334) * 🐉 Dropdown rework (#4337) * Wallet settings, change password and download mnemonic (#4326) * Update packages/atlas/src/views/viewer/MembershipSettingsView/MembershipWallet/MembershipWallet.tsx * Simplified ypp sign up (#4351) * 👯♀️ Account followup fixes (#4394) --------------------- Co-authored-by: Bartosz Dryl <drylbartosz@gmail.com> Co-authored-by: WRadoslaw <92513933+WRadoslaw@users.noreply.github.com> Co-authored-by: Artem Slugin <attemka@gmail.com>
Fix #4243 #4319