-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Report actions personal details cleanup #21822
Conversation
I am interested in reviewing this as the major change is whispers and I already have full context. |
Sounds good @aimane-chnaif. I'll ping you when it's ready for review. |
@aimane-chnaif I still need to test on other platforms, but you're welcome to start reviewing. |
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 looks good!
Ok checklist is done. All ready for you @aimane-chnaif |
Hope this won't be a blocker. While loading report. display name is missing and showing only "Only visible to". That's because that user is not yet in personalDetailsList before loading report. desktop.mov |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
Ohhhh, that's interesting. Hmm, I thought the same API call (openReport) that gets the reportActions also gets the personalDetails. Or were those reportActions sent by pusher? |
7b26e13
to
6e93a4a
Compare
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 great! 👍 👍
Aah shoot @puneetlath - conflicts |
yes, but the issue I mentioned is before getting openReport response so fine I think
yes, in video, whisper messages were sent by pusher. |
Ok got it! I'll open an issue to update the pusher data that is sent from the back-end for whispers to include the personal details of the whisperedTo accounts. |
Follow-up issue for the pusher thing here: https://github.com/Expensify/Expensify/issues/295905 |
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.
Two comments which are NABs because the problems already existed, but I would like to see them fixed. Other than that it looks great. I'm assuming that we're no longer sending the old email keys? Either way I see that the migration will take care of moving to the new format.
We haven't stopped sending the old email keys yet, but we will shortly. We need to update the client not to use them first. |
✋ 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/Beamanator in version: 1.3.36-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.36-5 🚀
|
Details
As part of the personalDetails migration, I replaced any uses of the following on reportActions in App:
The biggest change is to the whispers, so those are what we'll want to make sure we're testing thoroughly.
The other reportAction data that still is being used in the App and needs to be removed is:
However, those seemed to be used in a lot more places, especially for tasks. So I'd rather update those in a separate PR to try and silo any bugs that happen as a result.
Fixed Issues
$ #19007
Tests
Offline tests
No offline tests. Joining rooms and starting chats requires internet connectivity.
QA Steps
Same as test 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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android