-
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
[Details Revamp] Remove Delete Action from Collect Workspace Settings Pages #42146
[Details Revamp] Remove Delete Action from Collect Workspace Settings Pages #42146
Conversation
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 🕺
@hoangzinh Please 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] |
cc: @grgia |
@hoangzinh can you review this today, please? Thanks! |
sure @trjExpensify it's on my list today |
src/pages/workspace/distanceRates/PolicyDistanceRateDetailsPage.tsx
Outdated
Show resolved
Hide resolved
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-06-05.at.23.36.38.android.movAndroid: mWeb ChromeScreen.Recording.2024-06-05.at.23.38.46.android.chrome.moviOS: NativeScreen.Recording.2024-06-05.at.23.35.09.ios.moviOS: mWeb SafariScreen.Recording.2024-06-05.at.23.32.26.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-06-05.at.23.28.29.web.movMacOS: DesktopScreen.Recording.2024-06-05.at.23.30.20.desktop.mov |
@cdOut can you check if the delete icon color is correct according to the design doc? I think it should be a red/danger color cc @shawnborton |
This should just be the default icon color for our option rows. In the design doc it is I would say let's just leave it as the default for our option row component for now. It should not be cc @shawnborton for a gut-check on leaving the icon |
Yup, I agree with that - let's just leave it as-is for now and I think we'll clean up the icon colors in a different project. |
@hoangzinh we've settled on leaving the icon color as is, it's ready to be tested 👍 |
yep, I will try to complete the review checklist soon. |
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
@grgia all yours. |
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.
Changes LGTM, I left NAB comments, let me know if you agree, otherwise I can merge
@grgia I agree, I've moved it to a separate const variable in both of these cases. |
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
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
Details
Removes delete actions from specific pages from the three dot menu and replaces them with a button.
Fixed Issues
$ #42072
PROPOSAL:
Tests
More features
section in the selected workspace menu and make sure to enableDistance rates
,Categories
,Tags
andTaxes
Distance rates
,Categories
,Tags
andTaxes
Offline tests
QA Steps
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-NATIVE.mov
Android: mWeb Chrome
ANDROID-WEB.mov
iOS: Native
IOS-NATIVE.mov
iOS: mWeb Safari
IOS-WEB.mov
MacOS: Chrome / Safari
CHROME.mov
MacOS: Desktop
DESKTOP.mov