-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
show #admins room only when there is value #45048
show #admins room only when there is value #45048
Conversation
@allroundexperts 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: NativeHaving build issues on Android Android: mWeb ChromeScreen.Recording.2024-07-24.at.2.59.22.AM.moviOS: NativeScreen.Recording.2024-07-24.at.2.57.21.AM.moviOS: mWeb SafariScreen.Recording.2024-07-24.at.2.54.41.AM.movMacOS: Chrome / SafariScreen.Recording.2024-07-15.at.3.39.04.PM.movMacOS: DesktopScreen.Recording.2024-07-24.at.2.52.39.AM.mov |
@rojiphil Admin still shows up for new workspace. Screen.Recording.2024-07-12.at.1.52.23.PM.mov |
@allroundexperts Maybe it is shown because it was |
@rojiphil I created a new workspace and it gets pinned by default. |
hmm.. Interesting. Let me check this. |
@allroundexperts That was a good catch. |
@rojiphil The Screen.Recording.2024-07-15.at.3.42.24.PM.mov |
@allroundexperts I checked this but I am unable to reproduce this. |
Meanwhile, I notice that we need to fallback to 45048-web-safari-002.mp4 |
@allroundexperts Gentle bump to take this further. Thanks |
This went out of my radar. On it today! |
@rojiphil This is still not working for me. As you can see, the focus mode is off. I'm creating a new account for testing. Screen.Recording.2024-07-23.at.1.29.36.AM.mov |
@allroundexperts Sorry. That was my problem. We should check the report's 45058-web-safari-003.mp4 |
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.
Works good!
✋ 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/francoisl in version: 9.0.12-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.12-0 🚀
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.0.13-0 🚀
|
@allroundexperts @francoisl
Details
This PR prevents showing the #admins room in LHN when it does provide any value.
We do this by showing the #admins room in LHN only when there are more than one admin or there are policy audit log available for review.
Fixed Issues
$ #36236
PROPOSAL: #36236 (comment)
Tests
onboarding
modal is displayed, selectManage my Team’s expenses
andContinue
.Business Name
andName
details andContinue
to complete the onboarding steps.#admins
room (#Test 1)Go to #admins room
Alternative to Steps (5) And (6), we can also go to #admins room by clicking on #admins link in
Chat with your setup specialist in #admins for help
withinExpensify
system DM chat (created forodd
account IDs)#admins
report is shown and the LHN displays the#admins
report (#Test 2)#admins
report is not shown in LHN (#Test 3)#admins
room#admins
room and navigate to any other report.#admins
report remains shown and does not hide anymore. (#Test 4)Settings
->Workspaces
and click onNew Workspace
to create a new workspace#admins
room is not shown (#Test 5)Offline tests
Same as Steps for Tests Section.
QA Steps
Same as Steps for 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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
45048-web-safari-001.mp4
36236-web-safari-02.mp4
Desktop
36236-desktop-02.mp4
iOS
36236-ios-native-02.mp4
Android
36236-android-native-02.mp4
Mobile Web - Chrome
36236-mweb-chrome-02.mp4
Mobile Web - Safari
45048-mweb-safari-001.mp4
36236-mweb-safari-02.mp4