-
Notifications
You must be signed in to change notification settings - Fork 4k
Reverted new Onyx Derived Value VISIBLE_REPORT_ACTIONS, blockers fix #80343
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
Merged
deetergp
merged 24 commits into
Expensify:main
from
callstack-internal:feat/fix-reverted-visible-report-actions-derived
Jan 30, 2026
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
df20a0f
Revert "Merge pull request #80318 from Expensify/revert-78634-feat/vi…
BartekObudzinski d5b570a
Refactor visibility checks for report actions to use isReportActionVi…
BartekObudzinski 7964513
Enhance report actions visibility logic by introducing a derived valu…
BartekObudzinski 2d27c5d
Refactor report actions processing to streamline visibility updates, …
BartekObudzinski 46cb409
fix: prettier
BartekObudzinski f98e246
Enhance report action visibility logic to account for pending actions…
BartekObudzinski db53f8e
Refactor report action visibility check to simplify logic by removing…
BartekObudzinski 5c094e9
Merge remote-tracking branch 'upstream/main' into feat/fix-reverted-v…
BartekObudzinski 88f8d98
Update report name retrieval in ReportUtils to use Parser.htmlToText …
BartekObudzinski 2655929
Enhance report action visibility checks and improve last message text…
BartekObudzinski 60fdf98
Refactor visibility check for IOU report actions to streamline last m…
BartekObudzinski 8dc59b6
Enhance report action visibility checks by adding reportID as a fallb…
BartekObudzinski f2531ca
Merge remote-tracking branch 'upstream/main' into feat/fix-reverted-v…
BartekObudzinski 316032d
Refactor: Improve code readability by formatting function dependencie…
BartekObudzinski fee87c7
Merge remote-tracking branch 'upstream/main' into feat/fix-reverted-v…
BartekObudzinski 9d787c4
prettier fix
BartekObudzinski cdc3f22
Merge remote-tracking branch 'upstream/main' into feat/fix-reverted-v…
BartekObudzinski 554aa0e
Merge remote-tracking branch 'upstream/main' into feat/fix-reverted-v…
BartekObudzinski 7a352d8
Refactor getSortedReportActionsForDisplay to include reportID paramet…
BartekObudzinski 743f462
Fix potential null reference in getTransactionThreadReportActions by …
BartekObudzinski 2ab17cb
Refactor getReportActionsSections to improve reportID handling and en…
BartekObudzinski 7498ee4
feat: filtering in getSortedReportActionsForDisplay to exclude deprec…
BartekObudzinski bb8342b
Merge remote-tracking branch 'upstream/main' into feat/fix-reverted-v…
BartekObudzinski ae70d53
Refactor report visibility logic to use reportActionID consistently, …
BartekObudzinski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can you add context about ths change?
Uh oh!
There was an error while loading. Please reload this page.
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.
The reportID guard was added because isReportActionVisible requires a valid reportID to perform the derived value cache lookup. If the report is missing, there are no meaningful report actions to extract attachments from anyway, so bailing early with an empty array is safe. The attachments.reverse() form is used instead of returning [] directly for consistency with the other return statements in the function
Uh oh!
There was an error while loading. Please reload this page.
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.
Ah I wanted to know about this change. It's already existing logic.