-
Notifications
You must be signed in to change notification settings - Fork 3
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
UI4: LoginUI Fixes #150
UI4: LoginUI Fixes #150
Conversation
157a78e
to
dd143e0
Compare
|
dd143e0
to
c0043d0
Compare
3f10536
to
af5b052
Compare
Was unable to get Just copied over the relevant styles for now |
package.json
Outdated
@@ -48,6 +48,7 @@ | |||
"date-fns": "^2.23.0", | |||
"qrcode-generator": "^1.4.4", | |||
"react-native-airship": "^0.2.9", | |||
"react-native-haptic-feedback": "1.14.0", |
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.
Any time you add a native dependency, you need to add an entry to the readme file, listing the dependency name & acceptable version range.
If you make the dependency mandatory, you also need to do a breaking release.
947a4bc
to
b667fce
Compare
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.
Two minor things need to be fixed.
try { | ||
const ReactNativeHapticFeedback = require('react-native-haptic-feedback') | ||
ReactNativeHapticFeedback.trigger(type) | ||
} catch (_) {} |
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.
Thanks, but we still need to add this to the readme file.
@@ -190,10 +191,14 @@ export const PasswordLoginScene = (props: Props) => { | |||
}) | |||
|
|||
const handleSubmitPassword = useHandler(() => { | |||
console.debug('handleSubmitPassword') |
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.
Leftover debug?
b667fce
to
547522b
Compare
547522b
to
7ced545
Compare
In the interest of time and incomplete upgrade specs, Not using AlertCardUi4 for the password requirements, because there is dynamic styling. Could use an overall redesign.
To be synchronized with gui later
- Change "Get Started" -> "Create Account" - Use ButtonsViewUi4
Opting not to use ButtonsViewUi4 for now since there's a lot of dead space on the scene, and to avoid updating the other account creation scenes. We can fully remove floating buttons later hopefully with some additional redesigns on these scenes.
Keeping the increased margins for the text inputs
Can probably refactor the logic better, but trying not to mess with it too much to avoid regression.
7ced545
to
7b88655
Compare
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneDescription
Update legacy components to UI4
Restyle scenes/components
Password error message fix