-
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
Add new read commands for the workspace profile and initial settings pages #42901
Conversation
@fedirjh this is still on hold |
Still on hold |
@fedirjh this should be ready for your review now! Thanks |
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-06-21.at.15.57.46.mp4Android: mWeb ChromeCleanShot.2024-06-21.at.16.05.25.mp4iOS: NativeCleanShot.2024-06-21.at.15.39.10.mp4iOS: mWeb SafariCleanShot.2024-06-21.at.15.42.16.mp4MacOS: Chrome / SafariCleanShot.2024-06-21.at.13.59.08.mp4MacOS: DesktopCleanShot.2024-06-21.at.15.06.26.mp4 |
@mountiny Is it expected that when we open the policy profile page, 2 API calls will be made : |
For testing steps, is it |
@fedirjh updated, it should be For now its expected there is also the OpenWorkspaceView, that will be handled in different PR |
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.
@MonilBhavsar 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] |
✋ 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/MonilBhavsar in version: 9.0.2-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
In this PR, we are simply adding a new API call to
OpenPolicyProfilePage
and its aliasOpenPolicyInitialPage
. These are two endpoints for the 1:1:1 but in both, we are loading the policy data to make sure the policy settings/ feature options are shown correctly.The
OpenPolicyInitialPage
is called in narrow view only, when the workspace settings options (features) are shown. If you then select theProfile
option, we also call theOpenPolicyProfilePage
.In wide view, the
OpenPolicyInitialPage
is never called and only theOpenPolicyProfilePage
is going to be triggered as that is the default main page the user is navigated to when they open the workspace settingsFixed Issues
$ #41914
PROPOSAL:
Tests
To be tested with Auth and Web PR.
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
Screen.Recording.2024-06-02.at.22.27.19.mp4
### 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
Tested in web as this is simple change
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop