-
Notifications
You must be signed in to change notification settings - Fork 6
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
Move and register page refactor #277
Conversation
# Conflicts: # src/ui/views/AddWelcome/AddRegister/SetPassword.tsx # src/ui/views/LandingPages/Reset/RecoverPassword.tsx # src/ui/views/Register/AllSet.tsx # src/ui/views/Sync/SyncQr.tsx # src/ui/views/WelcomePage/index.tsx
src/ui/FRWComponent/LandingPages/ImportComponents/Googledrive.tsx
Outdated
Show resolved
Hide resolved
history.push({ | ||
pathname: '/import/google', | ||
pathname: '/welcome/accountimport/google', | ||
state: { | ||
accounts: accounts, | ||
}, |
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.
I'd prefer you told the view containing this component to navigate. Hard coding a route makes it hard to re-use components.
@@ -131,9 +131,9 @@ const PasswordIndicator = (props) => { | |||
); | |||
}; | |||
|
|||
const SetPassword = ({ handleClick, mnemonic, username, lastPassword }) => { | |||
const SetPassword = ({ handleSwitchTab, mnemonic, username, lastPassword }) => { |
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.
Component name should match file name
|
||
import DecryptWallet from './DecryptWallet'; | ||
import GoogleAccounts from './GoogleAccounts'; | ||
import RecoveryPassword from './GoogleRecoverPassword'; |
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.
Component name should match file name
@@ -128,9 +128,9 @@ const PasswordIndicator = (props) => { | |||
); | |||
}; | |||
|
|||
const SetPassword = ({ handleClick, mnemonic, pk, tempPassword, goEnd, accountKey }) => { | |||
const SetPassword = ({ handleSwitchTab, mnemonic, pk, tempPassword, goLast, accountKey }) => { |
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.
Component name should match file name. It should be RecoveryPassword not RecoverPassword (or SetPassword)
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.
Really great work in this. Just a couple of small changes needed
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.
I'm mostly happy with this. You can merge when you're ready
Related Issue
Summary of Changes
Need Regression Testing
Risk Assessment
Additional Notes
Screenshots (if applicable)