-
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
(1/2) Add support for all reportAction types in ChatListItem - create PureReportActionItem #52948
(1/2) Add support for all reportAction types in ChatListItem - create PureReportActionItem #52948
Conversation
…x/51296-pure-report-action-item
…x/51296-pure-report-action-item
…x/51296-pure-report-action-item
…x/51296-pure-report-action-item
…x/51296-pure-report-action-item
@allgandalf 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] |
Started the review, this is gonna take some time, I will post a feedback today |
@wildan-m just to be sure, this PR didn't change any functionality right ? we just updated the report action page to be a component. @luacmartins do you agree with the new name or should we change it to a different name? |
@allgandalf yes, the functionality change for chatlistitem will be in the 2nd pr |
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.
Left a few comments of places that are still directly connected to Onyx and make the component not pure
…x/51296-pure-report-action-item
Almost done testing, I will finish the checklist today |
@wildan-m we have conflicts now |
@allgandalf let's prioritize reviewing this one so we can move on to part 2 |
…x/51296-pure-report-action-item
…x/51296-pure-report-action-item
@luacmartins @allgandalf the conflict has been resolved |
Yes, testing it carefully as this affects one of our major component |
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.
@wildan-m thanks for the changes, they look great!, can you please add videos for all platforms ? just playing around with commenting / adding attachment approving report etc should be fine, we just want to make sure we didn't break anything
…x/51296-pure-report-action-item
@allgandalf Sure. The PR has been updated with a random test related to the report action item. I believe it functions the same way as it does in staging. |
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.
@allgandalf I think providing detailed test steps for this PR would be excessive, so I will simply update the general activities.
|
@wildan-m we have conflicts again 😞 |
…x/51296-pure-report-action-item
@allgandalf @luacmartins the conflict has been resolved |
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
Great job 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. |
Explanation of Change
Initial PR for adding support for all reportAction types in ChatListItem. Extracted onyx data to params to create PureReportAction component.
Fixed Issues
$ #51296
PROPOSAL: #51296 (comment)
Tests
No specific test required, just ensure that the report action item functions correctly as usual.
Ensure these actions works as usual:
Offline tests
Same as Test
QA Steps
Same as Test
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: Native
Kapture.2024-12-12.at.10.51.30.mp4
Android: mWeb Chrome
Kapture.2024-12-12.at.10.59.21.mp4
iOS: Native
Kapture.2024-12-12.at.09.18.47.mp4
iOS: mWeb Safari
Kapture.2024-12-12.at.10.10.07.mp4
MacOS: Chrome / Safari
Kapture.2024-12-12.at.08.58.09.mp4
MacOS: Desktop
Kapture.2024-12-12.at.10.30.51.mp4