-
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
Going to workspace from details page #19064
Going to workspace from details page #19064
Conversation
… admin in report's policy
@puneetlath @0xmiroslav One of you needs to 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] |
@alitoshmatov the expected behavior is wrong. It should go to workspace settings page, not initial page |
@puneetlath I am re-considering this conern. Screen.Recording.2023-05-18.at.8.23.15.PM.mov |
@puneetlath Also, workspace chat has a bit different design. Title is workspace name and subtitle is just "Workspace" text. Screen.Recording.2023-05-18.at.8.42.07.PM.movIn this case, both title and subtitle should link to workspace settings? |
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
Interesting questions.
I think leave as-is. I think it's fine.
I think I kind of like it how it is actually. Where just the word "workspace" is linked. |
ok great! This is ready for you to review @puneetlath |
Also the branch has conflict now |
Co-authored-by: Puneet Lath <puneet@expensify.com>
@0xmiroslav resolved conflicts |
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
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.
Applied requested changes
Thanks for the quick updates |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
@alitoshmatov I think test step needs separated into 2 cases - admin, not admin |
@0xmiroslav updated test steps |
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.
Just one comment. Otherwise looks good and tests well.
Co-authored-by: Puneet Lath <puneet@expensify.com>
✋ 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/puneetlath in version: 1.3.17-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.17-5 🚀
|
{chatRoomSubtitle} | ||
</Text> | ||
{isPolicyAdmin ? ( | ||
<Pressable |
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.
Coming from #23355, we should have taken into account the scenario in which the workspace has a pending delete action, and consequently, disable navigation to that workspace.
Details
Going to workspace page from report details page
Fixed Issues
$ #18895
PROPOSAL: #18895 (comment)
Tests
4(a). If you are an admin of room's workspace, you should go to workspace page
4(b). If you are not admin of room's workspace, nothing should happen
Offline tests
4(a). If you are an admin of room's workspace, you should go to workspace page
4(b). If you are not admin of room's workspace, nothing should happen
QA Steps
4(a). If you are an admin of room's workspace, you should go to workspace page
4(b). If you are not admin of room's workspace, nothing should happen
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
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)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
18895-web.mov
Mobile Web - Chrome
18895-mWeb.mp4
Mobile Web - Safari
18895-safari.mp4
Desktop
18895-desktop.mov
iOS
18895-ios.mp4
Android
18895-android.mp4