-
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
Update Details Page for Threads #18772
Conversation
@chiragsalian @stitesExpensify could you help to define the QA for leaving threads? |
@stitesExpensify @fedirjh 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] |
Also ready for review! |
Reviewing shortly |
Reviewer Checklist
Screenshots/Videos |
cc @grgia There is a little bug on native , when you leave the thread , a not found view is shown for a brief moment before redirecting to concierge , not sure if that's related to this PR. Screen.Recording.2023-05-16.at.6.28.12.PM.mov |
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.
Mentioned some bugs 1:1 to georgia to tackle.
@fedirjh done! Also, I think that bug has to do with our optimistic data more so than the details page, so I think we should fix it separately |
@grgia Thanks for confirmation , PR looks good to , I will update PR checklist to include new screenshot |
Also members page header says "Details", it should instead say "Members" |
@fedirjh @chiragsalian addressed those bugs |
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.
LGTM and it seems to work well for me
@fedirjh that's a known bug https://expensify.slack.com/archives/C049HHMV9SM/p1684222206427449 |
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.
Thanks @grgia . Looks good to me and tests well
Screenshots/VideosWebWeb.-.Policy.movWeb.-.Thread.movMobile Web - ChromemWebChrome.movMobile Web - SafarimWebSafari.movDesktopDesktop.moviOSIOS.movAndroidAndroid.mov |
Update Details Page for Threads (cherry picked from commit 33e637c)
…-18772 🍒 Cherry pick PR #18772 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.3.15-10 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.15-12 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-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/AndrewGable in version: 1.3.28-5 🚀
|
I feel we could have captured this regression here, not an easy one though. Refer here, I know the code was not added here, but we could've caught this thanks! |
Details
Adds Leave Thread Button for threads.
Fixed Issues
$ #18757
Tests
Members
andLeave thread
options show.Leave Thread
. Verify that thread is removed from LHN and user is sent to concierge chat.Leave room
option shows.Offline tests
QA Steps
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android