-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Show role-aware SmartScan failure message to non-submitters #86896
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
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
90dd3f3
Show role-aware SmartScan failure message to non-submitters
MelvinBot 455f3c9
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot fbfcb04
Fix: run prettier on PureReportActionItem.tsx to fix import ordering
MelvinBot 02f6d8a
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot 6affd95
Address review: use IOU action for canEdit, convert getRBRMessages to…
MelvinBot 959e0b6
Fix: suppress no-deprecated ESLint error for deprecatedAllSortedRepor…
MelvinBot d9f3878
Use getReportAction for IOU action lookup in OptionsListUtils and Pur…
MelvinBot bf3ae44
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot b507e17
Use wasActionTakenByCurrentUser for canEdit in MoneyRequestReceiptView
MelvinBot a5ce821
Apply suggested canEdit logic in MoneyRequestReceiptView
MelvinBot dfd4801
Merge main and resolve conflicts
MelvinBot a50188c
Fix: Fall back to parentReport's IOU action for RECEIPT_SCAN_FAILED
MelvinBot 571cffb
Merge main and resolve conflicts
MelvinBot 9796ae6
Fix: Apply role-aware smartscan failure message in SimpleMessageContent
MelvinBot 5bcbf60
Remove unused imports getReportAction and wasActionTakenByCurrentUser…
MelvinBot e6d88cb
Merge main into claude-scanReceiverMissingInfo
MelvinBot d668df5
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot f6bb460
Fix post-merge duplicate else-if, restore canEditMoneyRequest, fix RE…
MelvinBot 508d140
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot 5161b2a
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot b401381
Merge remote-tracking branch 'origin/main' into claude-scanReceiverMi…
MelvinBot cdfe04d
Fix ESLint and typecheck failures after main merge
MelvinBot 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
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.
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.
@dmkt9 seems this change has caused a few regressions
#89336
https://github.com/Expensify/Expensify/issues/632549#top
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.
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.
@grgia It seems that I somehow missed this change.
However, I believe using
htmlMessage = getReportActionMessageText(action)was unintentional rather than a deliberate change, because:smartscanFailedmessage instead of the message in the action is the expected behavior for the issue we are addressing.Therefore, I think this change can be considered expected behavior rather than a regression. As for #89336, we can consider it an independent bug.
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.
Is this commit correct 23b90d7?
That does not seem related to 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.
It is not entirely clear, but I think so. I just tried bisecting between commit 23b90d7 and 4a24621 (latest refactor commit), and it still points back to 23b90d7