-
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
Fixes for redesign thread ancestry feature #39343
Fixes for redesign thread ancestry feature #39343
Conversation
…a member of main chat
…g over edit composer in thread
@hungvu193 Please 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] |
cc @allroundexperts for review |
I will complete author checklist in my morning |
@rayane-djouah I see you linked #39331 here, so does that mean the blocker will get fixed in this PR as well? |
@pecanoro yes, it will be fixed by this PR as well |
Ah nice, I will add myself for review as well then so I can take a look when it's ready |
Seems @allroundexperts will review this one. |
@rayane-djouah You are missing the screenshots/videos |
@Expensify/design should we display a different color for the "Thread" link when it's disabled, like a gray color? Recording.2024-04-02.043944.mp4 |
@dannymcclain will hold the answer but given we used the link color to signify a link, I think we probably should. But I also don't mind it being the same color cause it does separate the |
Yeah, that makes sense to me but also curious for Danny's opinion. |
Yeah I guess we probably should change it if it's not actually clickable. I think we have two options:
But also, why is it disabled? How does it become disabled? Will it become un-disabled at some point? I think these questions are key to knowing which of the above choices is best. @Expensify/design what do you think? |
It can be disabled when the user does not have permission to access the parent report chat and got invited in thread by mention. 👍 for keeping the blue but make it 50% opacity (this would follow our disabled button state pattern. |
I prefer the idea of just "unlinking" the text and making it look gray. I think we try to avoid the disabled pattern if we can, especially since it looks a lot like offline patterns. |
That works for me. 👍 |
One question though - how far "up the chain" do we expose parent comments to a user who only has access to a child thread? For example, if I have:
And I only have access to view Thread Level 3, should I even be able to see the original comment from Thread Level 1? |
@rayane-djouah #39301 is still not fixed. Now we're completely hiding the parent message. I think we should still display the parent message but just not allow a click to it. Screen.Recording.2024-04-10.at.1.30.32.AM.mov |
Looks solid otherwise. |
@allroundexperts you meant to link #39331 I can confirm that the bug exists. However, it is also reproducible on main. looks like it is a recent regression. |
@rayane-djouah Why have we mentioned |
@allroundexperts #39246 is also fixed by this PR. Recording.2024-04-09.221533.mp4I meant that the reported bug here is related to #39331, not to #39246 |
Okay, lets reset. Is #39331 fixed in this PR? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-10.at.2.18.21.AM.movAndroid: mWeb ChromeScreen.Recording.2024-04-10.at.2.17.19.AM.moviOS: NativeScreen.Recording.2024-04-10.at.2.13.54.AM.moviOS: mWeb SafariScreen.Recording.2024-04-10.at.2.12.32.AM.movMacOS: Chrome / SafariScreen.Recording.2024-04-10.at.1.40.01.AM.movMacOS: DesktopScreen.Recording.2024-04-10.at.2.08.01.AM.mov |
this PR is on hold for this bug: https://expensify.slack.com/archives/C049HHMV9SM/p1712697976186759 |
The holding bug is now fixed, @allroundexperts could you please review this PR when you get a chance? |
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.
Code looks good! Waiting for C+ review before doing a quick test myself!
@allroundexperts Friendly bump! |
Verified the last bug. It seems to work well! Screen.Recording.2024-05-06.at.8.15.48.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.
Looks good!
@thienlnam All yours! |
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.
Look good to me, thanks!
✋ 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 production by https://github.com/marcaaron in version: 1.4.71-6 🚀
|
a follow-up to #38722
cc @allroundexperts
Details
Fixed Issues
$ #39331
$ #39246
$ #39301
PROPOSAL: N/A
Tests
Test 1:
Test 2:
Test 3 (Only on Web and Desktop):
Test 4 (Only on Web and Desktop):
Offline tests
Same behavior.
QA Steps
Same as tests.
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
Uploading Recording 2024-04-02 042921.mp4…
Android: mWeb Chrome
Recording.2024-04-02.040000.mp4
iOS: Native
Recording.2024-04-02.041233.mp4
iOS: mWeb Safari
Recording.2024-04-02.035533.mp4
MacOS: Chrome / Safari
Recording.2024-04-02.033236.compressed.mp4
Recording.2024-04-02.183651.mp4
MacOS: Desktop
Uploading Recording 2024-04-02 040344.mp4…