-
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 #23131] Display status on user page #24330
[Feat #23131] Display status on user page #24330
Conversation
const defaultText = draftEmojiCode ? draftText : currentUserStatusText; | ||
const customStatus = draftEmojiCode ? `${draftEmojiCode} ${draftText}` : `${currentUserEmojiCode || ''} ${currentUserStatusText || ''}` ; |
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.
It's a fix for saving an empty status
@rushatgabhane 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] |
Reviewer Checklist
Screenshots/Videos |
@perunt could you please add testing steps so that QA can test |
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
hey, @shawnborton need your help 😃 |
What does this look like without the tooltip? I am thinking we can just use the same pattern as a push-to-page row that can't be edited. That being the case, maybe we don't add the one-line cap but rather enforce a character limit when creating the status. |
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.
Looking good! One comment and waiting for Shawn's opinion on no tooltip (when those images are posted) before I merge
Yeah, I don't think we should limit the display of the status. So I would remove the one-line truncation you have. And yeah, rather, let's add a character limit to the status itself. |
Not technically related to this PR but can you update this line to be translated please? https://github.com/Expensify/App/pull/24330/files#diff-06be2d0d91e1fd806520ae7745785251dbd0c77d86ee71b828b540cfe42596ccR81 |
Wow that status really is perfectly crafted. 100 characters as an actual sentence is 👨🍳 |
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 is looking great but I found one bug, when you are on a user's profile and their status changes, it is not automatically reflected. You need to close the profile and then go back into it to see the update. Can we change it so that when the onyx changes the profile also changes?
Hmm, that's weird because it works for me Untitled.mov |
Hm maybe my pusher was just being weird or something. Let me try again |
Yep my pusher was just not working locally. |
✋ 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/stitesExpensify in version: 1.3.54-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.3.54-0 🚀
|
@stitesExpensify Do you mind confirming that @rushatgabhane that @rushatgabhane is owed the standard $1k for this PR review? |
Yep, standard 1k! |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.54-13 🚀
|
Thanks so much! This $1k payment is approved for payment via NewDot. |
Details
Fixed Issues
$ #23131
PROPOSAL:
Tests
Offline tests
QA Steps
Test Case 1: Status with Emoji + Text
Test Case 2: Status with Only Emoji
Test Case 3: Status with Extended Text
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
videos here -->