-
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
Fix: Read API is not triggered consistently when switching between features of a Collect workspace #38613
Conversation
…res of collect workspace
@eVoloshchak 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] |
Reviewer Checklist
Screenshots/VideosAndroid: Native24-03-19-17-19-43.mp4Android: mWeb ChromeScreen.Recording.2024-04-02.at.15.05.15.moviOS: NativeScreen.Recording.2024-04-02.at.14.54.27.moviOS: mWeb SafariScreen.Recording.2024-04-02.at.15.02.17.movMacOS: Chrome / SafariScreen.Recording.2024-04-02.at.14.35.40.movMacOS: DesktopScreen.Recording.2024-04-02.at.14.59.05.mov |
@tienifr, I'm facing a bug with app not loading, the skeleton UI is displayed indefinitely |
@eVoloshchak I've merged main and retested well. |
Perf-test is failing on |
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.
- Log out
- Log in back again
- Open a collect workspace settings page
- Click on
Members
menu item - Notice
OpenWorkspaceMembersPage
request is triggered twice
Screen.Recording.2024-03-21.at.16.26.06.mov
This is reproducible only after the first login and I couldn't reproduce this on staging, looks like a bug
RCAApp/src/pages/workspace/WorkspaceMembersPage.tsx Lines 128 to 130 in bbbb8e6
App/src/pages/workspace/WorkspaceMembersPage.tsx Lines 147 to 151 in 288bd8c
SolutionNeither could we remove
|
@eVoloshchak Above is my suggestions. Wdyt? |
I agree with this approach, web works well, cannot test this on native platforms due to a bug not related to this PR (the workspace settings are not active on native platforms), will come back to this tomorrow Screen.Recording.2024-03-31.at.23.40.37.mov |
@eVoloshchak This was fixed on |
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!
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.
Thank you!
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.
Thank you!
✋ 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 production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
Read API is not triggered consistently when switching features of Collect workspace. This PR fixes that.
Fixed Issues
$ #38378
PROPOSAL: #38378 (comment)
Tests
Taxes
andMore features
featuresOpen
API is called (OpenPolicyTaxesPage
andOpenPolicyMoreFeaturesPage
respectively in this case)Offline tests
NA
QA Steps
NA
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
Screen.Recording.2024-03-20.at.00.28.08-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-03-20.at.00.34.16-compressed.mov
iOS: Native
Screen.Recording.2024-03-20.at.00.26.12-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-03-20.at.00.25.19-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-20.at.00.22.15-compressed.mov
MacOS: Desktop
Screen.Recording.2024-03-20.at.00.22.15-compressed.mov