-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Focus Mode] Modal Redesign #34069
[Focus Mode] Modal Redesign #34069
Conversation
@dubielzyk-expensify @rushatgabhane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
This makes sure the image covers the entire top of the Modal, avoiding the default padding that pushes the image down.
Let me know when you got screenshots for me to look at :) |
Reviewer Checklist
Screenshots/VideosiOS: mWeb SafariScreen.Recording.2024-02-29.at.19.32.41.mov |
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.
@neonbhai the image isn't visible on iOS
working on a fix! |
@neonbhai let me know if you need any help : ) |
Any updates here? |
Finalizing PR soon. Sorry for delay dealing with personal loss |
…de-modal-fixes
@neonbhai how's it looking? do you need any help? |
Love it <3 |
Are these good? |
Looks great to me! 🙌 One point though: @shawnborton Is the spacing between the headline and paragraph too big? It looks like we mostly use 8px spacing between h1 and paragraph, but here it looks bigger |
Hmm yeah, it does feel a little large. I like using either 8px or 12px (or whatever it is that we typically use 🤣 ) |
@neonbhai Would be great if you could look at our other screens and replicate the spacing. You can find a similar spacing if you go to |
I think those centered modals are a different kind of component than the #focus mode modal. I think what you have for the #focus mode modal with 8px looks pretty good. Curious what others think too though. |
@shawnborton Agree! I think it's looking good. |
@neonbhai could you please merge latest |
Merged main! |
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.
LGTM
@neonbhai conflicts |
…de-modal-fixes
Conflicts fixed and retested! cc: @luacmartins |
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.
LGTM
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.46-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.46-2 🚀
|
Details
We redesign the Focus mode notification modal.
Fixed Issues
$ #32610
PROPOSAL: #32610 (comment)
Tests
Precondition: use an account you haven't logged in with yet today, or create a new account
Offline tests
Cannot login when offline
QA Steps
Same as Tests Step
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
Spanish:
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop