Combine report name routes#42369
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@ikevin127 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/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromeandroid-mweb.moviOS: Nativeios.moviOS: mWeb Safariios-mweb.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
There was a problem hiding this comment.
offline I noticed a discrepancy between Group and Room name:
| Group | Room |
|---|---|
![]() |
![]() |
Room name becomes grayed-out as soon as going offline while that does not happen for Group name, see video:
MacOS: Chrome
Screen.Recording.2024-05-18.at.19.03.01.mov
Not sure this is how our offline pattern is supposed to work, as my assumption is that none of the items should be grayed-out by simply going offline - but instead only if the name is changed while offline (optimistically), based on pendingAction.
Therefore I consider the current behaviour inconsistent between Room and Group settings when it comes to the Name field.
Note
This is not a PR blocker and most likely out of scope as this behaviour existed previous to this PR's changes, but I thought I should mention it anyway since this is part of a main clean-up & refactor task.
cc @s77rt @marcaaron
|
The group offline behaviour is being implemented in this PR #41826
That's correct, in your case you probably already had a queued request |
|
On my list to get to. Still on a merge freeze I believe but prioritizing everything as it comes in. Thanks for your patience here. |
|
I think we're off the merge freeze hence I think this is good for merge ? |
|
Thank for the bump @ikevin127. Apologies, this fell off my radar! |
marcaaron
left a comment
There was a problem hiding this comment.
This looks great! Just one small comment.
|
The typescript (and lint) error is unrelated, it should be fixed here #42808 |
|
Looks like the PR has been merged now if we want to merge main on this so the checks pass. |
|
Tests 🚀 |
|
cc @marcaaron |
|
Thanks y'all! Nice work here ❤️ |
|
✋ 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/Julesssss in version: 1.4.79-11 🚀
|


cc @marcaaron
Details
Part of #40187
Fixed Issues
$ #40187
PROPOSAL:
Tests
Test 1 (Renaming a group chat):
/settings/nameTest 2 (Renaming a room):
/settings/nameOffline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
android.mov
Android: mWeb Chrome
Networking issue
iOS: Native
ios.mov
iOS: mWeb Safari
mweb-safari.mov
MacOS: Chrome / Safari
web-1.mov
MacOS: Desktop
desktop.mov