-
Notifications
You must be signed in to change notification settings - Fork 187
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
Aligned CTA button on login flow #2212
Aligned CTA button on login flow #2212
Conversation
They were slightly smaller on the onboarding page so I used that everywhere Signed-off-by: Marco Antonio Alvarez <[email protected]>
Signed-off-by: Marco Antonio Alvarez <[email protected]>
…lement-x-android into align-cta-button-on-login-flow
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.
Text doesn't fit the button here now
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.
Spacing is off here too
Should I try to fix these? It's not like they are part of any enabled functionality yet 🤔 |
Thanks for the PR! IMO, the new alignment and size of the buttons looks better, somehow making them a bit smaller than the rest of the content makes them stand out more. However, any change in designs like this must be approved by our design team, since it's part of our effort to keep designs consistent across platforms. What do you think @amshakal ? Also, I think @bmarty already did some work in this area, so maybe he knows better than me what decision we took about this (if we did). On the other hand, about the 'broken' screenshots: I'd say we can make an exception for the onboarding screen and not follow this positioning of the 'Continue' button since it's the very first one if I'm not mistaken. As for the issue with the 'allow biometric' button text being cut, maybe we could change it from 'Allow biometric authentication' to 'Allow biometric unlock' or 'Use biometric authentication' so it fits. Anyway, let's see what the design team thinks about these changes before discussing any changes. |
@surakin sorry for the delay, but our design team is on holiday until next week 😓 |
No rush :) This can wait |
Heya! Thanks for contributing. :) |
…o align-cta-button-on-login-flow # Conflicts: # features/onboarding/impl/src/main/kotlin/io/element/android/features/onboarding/impl/OnBoardingView.kt # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_0,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_1,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_2,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_3,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_4,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_0,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_1,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_2,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_3,NEXUS_5,1.0,en].png # tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_4,NEXUS_5,1.0,en].png
Signed-off-by: Marco Antonio Alvarez <[email protected]>
That should do! |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2212 +/- ##
===========================================
+ Coverage 70.07% 71.23% +1.15%
===========================================
Files 1352 1352
Lines 33243 31857 -1386
Branches 6875 6322 -553
===========================================
- Hits 23296 22692 -604
+ Misses 6633 5856 -777
+ Partials 3314 3309 -5 ☔ View full report in Codecov by Sentry. |
Adjusted the login flow buttons a little bit
They were slightly smaller on the onboarding page so I used that everywhere
Type of change
Content
Aligned the button on the login flow as requested
Motivation and context
Fixes #825
Screenshots / GIFs
Tests
Play around the initial flow
Tested devices
Checklist