-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Always display workspace chats in recents when creating a new request #16967
Conversation
Still need to test and write up manual QA, but this should be ready I think... |
src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js
Outdated
Show resolved
Hide resolved
src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js
Outdated
Show resolved
Hide resolved
// If we are using this component in the "Request money" flow then we pass the includeOwnedWorkspaceChats argument so that the current user | ||
// sees the option to request money from their admin on their own Workspace Chat. These will always be shown in the "Recents" section of the selector | ||
// along with any other recent chats. |
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.
👍
Yeah i think the comment is great. We should also keep in mind that contributors have little context about our roadmap and internal terms so the more specific we are the easier it will be for external people to understand whats going on |
Still testing, but taking this out of WIP. |
@fedirjh @roryabraham 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] |
Done testing. Ready for review. |
@marcaaron code LGTM ,For testing, does it require access to the |
@fedirjh Good timing 🙂 https://expensify.slack.com/archives/C02NK2DQWUX/p1680733162617359?thread_ts=1680200377.348429&cid=C02NK2DQWUX |
@fedirjh your account should be on the beta now! |
Reviewer Checklist
Screenshots/VideosDesktopScreen.Recording.2023-04-06.at.3.50.57.PM.moviOSSimulator.Screen.Recording.-.iPhone.14.-.2023-04-06.at.16.07.28.mp4 |
@marcaaron tests LGTM , however I noticed that archived workspaces are also listed in the Request money flow
|
Oh hmm lemme fix that archived workspaces thing. I think I'd agree that should not be visible. |
Updated |
Great find, definitely should not be there |
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 good to me, @fedirjh waiting for your sign off 🖖
@marcaaron Now i got this error 🥲 |
@fedirjh repro steps please |
Oh I see it... 👀 |
Did you approve this by accident @fedirjh ? |
@marcaaron All good , I request money from the archived room before I test the update , logout and login and it's working fine . Edit : Sorry guys I should’ve commented before I approve. |
Ok cool cool - yeah reproduced it the same way. I don't think we can actually request money from a room yet this is just a step towards the goal. |
|
✋ 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/marcaaron in version: 1.2.97-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.97-2 🚀
|
Details
Doc section here:
https://docs.google.com/document/d/17jFcMsAotXvsMhXivoF3u7fyzeyXkKpRGXR88Ud0oWY/edit#bookmark=kix.mwuwbgdkfhxc
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/270684
Tests
Search -> Both Chats appear
LHN -> Both Chats appear
Request money -> Only the user's OWN workspace chat appears (not the managed one)
New chat -> None
New group -> None
Send money -> None
Split bill -> None
Search -> Own Chat appears
LHN -> Own Chat appears
Request money -> Own Chat appears
New chat -> None
New group -> None
Send money -> None
Split bill -> None
Offline tests
N/A
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android