[CP Staging] Fix icons after regression#38275
[CP Staging] Fix icons after regression#38275luacmartins merged 11 commits intoExpensify:mainfrom narefyev91:fix-icons-regressions
Conversation
|
@Expensify/design @shawnborton please take a look: |
|
cc @luacmartins |
MonilBhavsar
left a comment
There was a problem hiding this comment.
The rotate icon svg is 16x16. Should we update it to 20x20?
I think no - button is specified as medium - and icon should be medium as well. |
|
Thanks for the fixes @narefyev91 ! I agree that in default sized buttons that also have a label, we want the icon to be 16x16. However, if the button only has an icon, it looks like the icon should be 20x20. Does that sound right @Expensify/design ? |
Ohh yup you right - double checked other icons - and in default state we using 20x20 - just made changes for this current one |
|
I actually think ideally, that button would be perfectly round at 40x40. Basically that's what we want to do for "icon buttons" - a button that just has an icon and no label. It should be perfectly round, and at the 40x40 size, the icon should be 20x20. |
|
That would be good. Thanks Shawn for the thought! |
|
<3 LOVE IT |
|
but the same is on the prod @shawnborton |
|
Got it, let's fix it then. We shouldn't touch the non-green option row, just make the green option row match what is below it. |
Those look good to me. |
|
@shawnborton which size should be these icons? |
done |
|
@narefyev91 Push the changes 😅 |
lol - i already pushed them |
|
Github UI tricked me 😂 |
s77rt
left a comment
There was a problem hiding this comment.
Looks good but let's hold merge until this is resolved #38275 (comment)
cc @shawnborton can you please give correct spacing here |
@dannymcclain we talking about gap between 2 buttons Button1 and Button2 - how much space should be between them? |
|
@dannymcclain #38275 (comment) - you see that on both screens - gap between Add rate and settings is not the same as between Add tag and settings. One of them has incorrect margin/padding. We need to know - which one is correct |
|
@narefyev91 LOL my bad!! I totally see what you're talking about now 😂 The correct spacing is |
should be 12 px between buttons. |
|
@luacmartins This is ready for merge |
|
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Not emergency |
[CP Staging] Fix icons after regression (cherry picked from commit 5f086a9)
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|























Details
Fix button for distance and quick actions for messages
Fixed Issues
$ #38266
$ #38264
$ #38284
$ #38291
PROPOSAL:
Tests
Checking quick actions:
Checking distance button:
Checking rotate button:
Offline tests
Checking quick actions:
Checking distance button:
Checking rotate button:
QA Steps
Checking quick actions:
Checking distance button:
Checking rotate button:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop