[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.
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 |
|
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. |
|
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 👨🍳 |
stitesExpensify
left a comment
There was a problem hiding this comment.
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android
videos here -->