-
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
feat: add note to clarify the workspace join link functionality #45374
Conversation
Signed-off-by: dominictb <[email protected]>
@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 <[email protected]>
@shawnborton does it look better? |
Nice, I think that feels better - thanks! |
@DylanDylann I think this one is ready for final review. |
src/languages/en.ts
Outdated
@@ -2061,6 +2061,11 @@ export default { | |||
lineItemLevel: 'Line-item level', | |||
reportLevel: 'Report level', | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 the
room for your review.
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.
With this approach, we don't need to apply logic to split the content in the component
@DylanDylann updated. |
Reviewer Checklist
Screenshots/Videos |
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 great, thank you!
@dominictb Please resolve conflict |
@mountiny it should be good now. |
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.
Thank you!
✋ 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Details
Fixed Issues
$ #45303
PROPOSAL: #45303 (comment)
Tests
Share
button show the workspace share modalVerify that the note appear on top as design
Offline tests
QA Steps
Share
button show the workspace share modalVerify that the note appear on top as design
PR Author Checklist
### 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
Android: Native
android.webm
Android: mWeb Chrome
aweb.webm
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop