-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[HOLD] Don't use CREATED action as last message for LHN #20949
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
Conversation
|
@eVoloshchak 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] |
|
|
neil-marcellini
left a comment
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.
Thanks for fixing my mistake!
|
@neil-marcellini no problem! I removed some unnecessary |
|
@eVoloshchak are you online now to review this? |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
|
@aldo-expensify The LHN does not show Screen.Recording.2023-06-17.at.4.24.57.AM.mov |
That sounds like a good guess to me, maybe we need better optimistic data to show it instantly. Having said that, I would consider that unrelated and leave it for a follow up if we want to improve it. |
|
Also, it does not seem to work if you're offline. Screen.Recording.2023-06-17.at.4.28.05.AM.mov |
Yeah, I think that points to the same think mentioned in your other comment, we are probably not flagging the comment optimistically and we wait to receive it in the response or in the pusher. I think that can be improved, but that is not related to the deploy blocker. |
|
Good thinking in testing with threads, I didn't think about that. |
neil-marcellini
left a comment
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.
Tests "FAKE"
Not passing for me. The last message shows a whisper. I pulled the latest from Auth, and rebuilt and restarted it before testing.
Screen.Recording.2023-06-20.at.11.57.42.AM.mov
Unrelated bug, probably on main, maybe dev only?
- Sign in with an account A and create a chat with a new user
example@expensifail.com - On another device attempt to login as that user
Expected result: The user is prompted for the magic code
Actual result: An error is displayed Cannot get account details, please try again or contact concierge@expensify.com
Yes, unrelated. I think this is the same I reported here: https://expensify.slack.com/archives/C049HHMV9SM/p1686949198475289 |
Oh, I think I saw once this one... My suspicion is that there is an onyx update we push with the concierge message as the last message for the report. I'm guessing that needs a fix in Web-E. I didn't see this case much because my pusher events sometimes don't work in dev. I don't think we should hold this App PR on that as that involves a fix in Web-E. |
|
Since I made commits on this PR it would be best for me not to review. |
Since I made commits on this PR it would be best for me not to review.
|
This is no longer a blocker, so removing the CP staging label. |
This comment was marked as off-topic.
This comment was marked as off-topic.
thienlnam
left a comment
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.
@allroundexperts Are you able to run through the checklist for this?
There is a another PR needed in the backend because we are still sending as a pusher event the Concierge whisper as the last report message. If @allroundexperts tests now, the pusher event will make it hard to see that the App is working fine and that there is just a problem in the backend. |
|
Ah gotcha, nvm then I thought this was good to go from this comment - could you please put hold in the title then until we get the backend PR merged? |
|
Hi guys! Is the backend PR still not merged? |
|
Sorry, not yet, the PR was not reviewed for a long time, ran into conflicts and now some tests are failing |
|
https://github.com/Expensify/Web-Expensify/pull/37910 is in staging, I'll start working on resolving conflicts + retesting. |
|
Worked on the conflicts, but I have to retest everything. Resolving conflicts I saw that some changes I was doing here were already done in |
|
I'm going to close this, the original issue seems to be fixed and this is full of conflicts. If there is something to do, we should do it in a fresh new PR. cc @neil-marcellini since I think you needed some changes from here, but maybe you already implemented them |
Fixes regression from: #20223
When the reported action is the only action, we ended up returning the text of the report action with type CREATED. Normally we ignore this action and the new code wasn't ignoring it.
Details
Fixed Issues
$ #20940
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests "FAKE"
Tests - last report message incorrect without opening the report
Tests - Group
Tests - Task
Tests - Offline
Tests - error (only if you can manipulate the PHP API)
tryblock (here)Offline tests
QA Steps
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