-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Feat: Add ability to unreport transactions #61743
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
base: main
Are you sure you want to change the base?
Feat: Add ability to unreport transactions #61743
Conversation
cc: @luacmartins |
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, but I think the subtitle for reports needs a bit more work. @JmillsExpensify @Expensify/design can you confirm the pattern used for that one? It's a bit hard to tell from the design doc since it doesn't seem to match the parent report name.
Additionally, I noticed a BE bug where we weren't using the optimistic reportActionID for the unreported action. I have a PR in review for that.
Hmm part of me thinks we would just try to match what we show in the report header, like so: Is that what you were thinking too @trjExpensify ? |
I agree that we should reuse that pattern |
Ah cool, I can totally get down with that too 👍 |
That does feel much cleaner |
Nice! @waterim let's update the PR to just display the workspace name then. |
@luacmartins Sure! |
@luacmartins updated |
@rayane-d let's prioritize reviewing this 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.
LGTM
@waterim we have conflicts |
@luacmartins fixing, its not a small conflict, testing it |
@waterim we're missing adding the newly created selfDM report to Onyx |
Yeah, adding that |
@luacmartins Updated |
@shubham1206agra let's prioritize reviewing this PR please! |
@luacmartins I will review this today |
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 good. Left a few comments though
Will update in around 1hr |
@luacmartins @shubham1206agra updated and also resolved new conflicts |
@waterim TS check is failing |
@luacmartins fixed! |
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 another comment
@luacmartins updated! |
@luacmartins Fixed yesterday and also resolved conflicts again |
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 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.
LGTM
@shubham1206agra When approximately you will be able to review this? |
Details
Fixed Issues
$ #60288
PROPOSAL: N/A
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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
Screen.Recording.2025-05-09.at.00.29.24.mov