Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.57k stars 2.92k forks source link

(1/2) Add support for all reportAction types in ChatListItem - create PureReportActionItem #52948

Open wildan-m opened 3 days ago

wildan-m commented 3 days ago

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

$ https://github.com/Expensify/App/issues/51296 PROPOSAL: https://github.com/Expensify/App/issues/51296#issuecomment-2475914063

Tests

No specific test required, just ensure that the report action item functions correctly as usual.

Offline tests

Same as Test

QA Steps

Same as Test

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
melvin-bot[bot] commented 2 days ago

@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]

allgandalf commented 19 hours ago

Started the review, this is gonna take some time, I will post a feedback today

allgandalf commented 18 hours ago

@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?

wildan-m commented 18 hours ago

@allgandalf yes, the functionality change for chatlistitem will be in the 2nd pr