-
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
fix: 26657 Another error message for a short time when opening archived chat from search bar #27420
Conversation
…ed chat from search bar
Reviewer Checklist
Screenshots/VideosWebchrome-desktop-2023-10-05_15.39.36.mp4Mobile Web - Chromeandroid-chrome.mp4Mobile Web - Safariios-safari-2023-10-05_16.32.09.mp4Desktopmac-desktop-2023-10-05_16.37.34.mp4iOSios-native-2023-10-05_16.40.13.mp4Androidandroid-native.mp4 |
@tienifr Please can you update the last step to clarify that we're verifying that a skeleton is showing at the bottom where the reason for the chat being archived will show? Thanks! |
@robertjchen Should we get some design eyes on the look of the skeleton at this stage? |
@tienifr Also another test step to help reproducing is to sign out if you're already signed in - I wasn't able to get the skeleton to show otherwise! Could you add that? |
@jjcoffee That would be great! Is there a visual screenshot for Design to evaluate/tweak, or would we need them to design something entirely new specifically for this? |
@jjcoffee Thanks. I updated the test steps |
@robertjchen Sure here's a screengrab from one of the videos: |
@robertjchen any updates? |
Hey @shawnborton or @dannymcclain we need some design eyes on a new skeleton we're adding for displaying the reason why a chat is archived. See still screenshot here (at the very bottom of the RHP). Thanks! |
I think this is fine. IMO it feels a tad heavier than necessary but it totally works, and it's not something that I'm super passionate/concerned about. @shawnborton can weigh in too if he has strong feels. |
Can we see what it looks like if we have the reason box but no skeleton line in it? I feel like we might be fine if it's just the highlighted box at the bottom. |
@shawnborton Here you are. I think the skeleton line is better |
Ah sorry, I meant just no skeleton line within the box at the bottom. But we'd still use skeletons above it right? |
The image below I use skeletons for it. Is it your mean? @shawnborton |
I already posted this here #27420 (comment). I just removed the skeleton line and keep the box BG @shawnborton |
any updates @shawnborton |
@shawnborton Here you are |
Okay cool, I don't feel too strongly here. I guess the line version makes more sense. Curious if @Expensify/design has any strong opinions here, what do you think? |
What if we just made that bottom box have the same color/gradient effect as the avatar and message skeleton? I feel like we could just use that as our "skeleton style" for everything. I don't see a strong reason for it to be different. But I also don't feel super super strongly. |
Oh nice, I like that idea! |
@dannymcclain @shawnborton Just want to confirm it's your idea? If yes, I'll record the video for other platforms. Thanks Screen.Recording.2023-09-29.at.10.44.51.mov |
@tienifr That bottom box doesn't look like it's matching the same color as the avatar/message skeleton. The concept is right though, we just want ALL of the skeleton UI elements to share the same color/gradient effect. |
@dannymcclain I believe it's the same. I also use the same component as the avatar/message. |
@dannymcclain Ah I see, sorry for this confusion, I've update the PR a bit. Can you please help take a look at the result below. Thanks Screen.Recording.2023-10-02.at.11.05.25.mov |
Nice, that's feelin' better for sure! |
Yeah lookin' good! |
@jjcoffee Can you please help take a look when you have a chance? Thanks |
@tienifr Yes, thanks for the bump - reviewing today! |
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!
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!
✋ 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/robertjchen in version: 1.3.79-0 🚀
|
👋 This PR was reverted here: #29106 |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
Details
Fixed Issues
$ #26657
PROPOSAL: #26657 (comment)
Tests
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
Screen.Recording.2023-09-14.at.15.35.59.mov
Mobile Web - Chrome
Screenrecorder-2023-09-14-15-41-13-792.mp4
Mobile Web - Safari
Screen.Recording.2023-09-14.at.15.39.57.mov
Desktop
Screen.Recording.2023-09-14.at.15.46.26.mov
iOS
Screen.Recording.2023-09-14.at.15.59.51.mov
Android
Screen.Recording.2023-09-14.at.15.59.51.mov