[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 |
rushatgabhane
left a comment
There was a problem hiding this comment.
@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 |
|
@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! |
|
@neonbhai conflicts |
|
Conflicts fixed and retested! cc: @luacmartins |
|
✋ 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
Spanish:

iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop