Repository navigation
feat: add note to clarify the workspace join link functionality - #45374
Conversation
Signed-off-by: dominictb <tb-dominic@outlook.com>
|
@shawnborton @DylanDylann 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] |
|
Need to confirm the translation. |
Signed-off-by: dominictb <tb-dominic@outlook.com>
@shawnborton does it look better? |
|
Nice, I think that feels better - thanks! |
|
@DylanDylann I think this one is ready for final review. |
| appliedOnExport: 'Not imported into Expensify, applied on export', | ||
| shareNote: { | ||
| header: 'Easily share your workspace with other members.', | ||
| content: |
There was a problem hiding this comment.
@dominictb I think it is better to divide this text into two parts:
Share this QR code or copy the link below to make it easy for members to request access to your workspace. All requests to join the workspace will show up in theroom for your review.
There was a problem hiding this comment.
With this approach, we don't need to apply logic to split the content in the component
|
@DylanDylann updated. |
Reviewer Checklist
Screenshots/Videos |
mountiny
left a comment
There was a problem hiding this comment.
Looks great, thank you!
|
@dominictb Please resolve conflict |
|
@mountiny it should be good now. |
|
✋ 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/mountiny in version: 9.0.11-0 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.0.11-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.11-5 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.12-0 🚀
|
| if (!adminRoom?.reportID) { | ||
| return; | ||
| } | ||
| Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(adminRoom.reportID)); |
There was a problem hiding this comment.
The navigation logic from this line led to the following issue:
because the RHP modal was not being closed before navigating. We fixed the issue by using Navigation.dismissModal() like so:
Navigation.dismissModal(adminRoom.reportID);which does both, dismiss the modal and then navigate to the room.
| if (!policy?.id) { | ||
| return undefined; | ||
| } | ||
| return ReportUtils.getRoom(CONST.REPORT.CHAT_TYPE.POLICY_ADMINS, policy?.id); |
There was a problem hiding this comment.
{BZ CHECKLIST} there was a regression that if there is heavy account all reports are not fetched on sign in admin report can be missing in onyx and hence it links to nothng, we used policy?.chatReportIDAdmins as fallback here to fix it







Details
Fixed Issues
$ #45303
PROPOSAL: #45303 (comment)
Tests
Sharebutton show the workspace share modalVerify that the note appear on top as design
Offline tests
QA Steps
Sharebutton show the workspace share modalVerify that the note appear on top as design
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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.webm
Android: mWeb Chrome
aweb.webm
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop