-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Enable RHP for production and hide it for anonymous users #78506
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
base: main
Are you sure you want to change the base?
Conversation
…k for help button visibility
…ent checks and streamline side panel and help button visibility logic
|
@aimane-chnaif 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] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
Here's remaining issues related to Concierge RHP: |
We can address the other two remaining issues as separate follow-ups |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
Explanation of Change
This PR enables the RHP to be displayed in all environments, including production. Previously, the RHP was restricted to staging and dev environments only.
The changes remove the
isProductionchecks fromuseSidePanelDisplayStatus.tsxthat were hiding:The Side Panel will still be hidden for:
Fixed Issues
$ #78446
$ #78505
Tests
Signed in user:
Anonymous user in public room:
Signed in user - default state:
Offline tests
QA Steps
Follow the same steps from the
TestsectionPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari