-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[No QA] [Workspace Feeds] Clean up for workspace feeds #48323
[No QA] [Workspace Feeds] Clean up for workspace feeds #48323
Conversation
@allgandalf 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] |
@allgandalf are you on this or @DylanDylann should take over? |
based on this comment on slack, i guess they are taking this one, but if they are busy i have no problem reviewing this |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-08-30.at.22.44.49.moviOS: NativeScreen.Recording.2024-08-30.at.23.03.14.moviOS: mWeb SafariScreen.Recording.2024-08-30.at.22.43.38.movMacOS: Chrome / SafariScreen.Recording.2024-08-30.at.22.31.40.movMacOS: DesktopScreen.Recording.2024-08-30.at.22.38.20.mov |
@@ -66,7 +64,7 @@ function WorkspaceCardSettingsPage({route}: WorkspaceCardSettingsPageProps) { | |||
description={translate('workspace.expensifyCard.settlementFrequency')} | |||
title={translate(`workspace.expensifyCard.frequency.${settlementFrequency}`)} | |||
shouldShowRightIcon={settlementFrequency !== CONST.EXPENSIFY_CARD.FREQUENCY_SETTING.DAILY} | |||
// interactive={!isSettlementFrequencyBlocked} | |||
interactive={!isSettlementFrequencyBlocked} |
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.
NAB: Maybe add disabled
props
interactive={!isSettlementFrequencyBlocked} | |
interactive={!isSettlementFrequencyBlocked} | |
disabled={isSettlementFrequencyBlocked} | |
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.
@DylanDylann It adds the opacity, I'm not sure that it's the expected behaviour
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.
Yeah, It's only my suggestion and also be a minor thing
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.
I don't think the disabled prop is necessary in this case
Adding |
…ncyPage if monthly option isn't allowed
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.
Fee small comments
src/pages/workspace/expensifyCard/WorkspaceCardSettingsPage.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/expensifyCard/issueNew/IssueNewCardPage.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/expensifyCard/issueNew/IssueNewCardPage.tsx
Outdated
Show resolved
Hide resolved
@dubielzyk-expensify since the rest of the team will most likely be out for the labour day, can you confirm checking the screenshots in the checklist look good? Specifically the padding on the page with settlement frequency being disabled (user cant change it) Thanks! |
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 to me!
@mountiny I've applied your feedback, please take another look |
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!
@@ -66,7 +64,7 @@ function WorkspaceCardSettingsPage({route}: WorkspaceCardSettingsPageProps) { | |||
description={translate('workspace.expensifyCard.settlementFrequency')} | |||
title={translate(`workspace.expensifyCard.frequency.${settlementFrequency}`)} | |||
shouldShowRightIcon={settlementFrequency !== CONST.EXPENSIFY_CARD.FREQUENCY_SETTING.DAILY} | |||
// interactive={!isSettlementFrequencyBlocked} | |||
interactive={!isSettlementFrequencyBlocked} |
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.
I don't think the disabled prop is necessary in this case
✋ 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/mountiny in version: 9.0.28-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.28-3 🚀
|
Details
Fixed Issues
$ #47308
PROPOSAL: N/A
Tests
Pre-steps:
workspaceFeed
beta enabledPart 1
Settings
.isMonthlySettlementAllowed
flag in card settings is true for you make sure you can seeMonthly
option in Settlement frequency.isMonthlySettlementAllowed
flag is false Settlement frequency should be not interactive for you.Part 2
Offline tests
Same as in the Tests section
QA Steps
Same as in the Tests section
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
MacOS: Chrome / Safari
2.mp4