-
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
[CP Staging] Fix icons after regression #38275
[CP Staging] Fix icons after regression #38275
Conversation
@Expensify/design @shawnborton please take a look: |
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.
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 😂 |
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.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop