Tgolen refactor onyx connection reportactions 2and3d#82212
Draft
Tgolen refactor onyx connection reportactions 2and3d#82212
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Explanation of Change
Fixed Issues
$
PROPOSAL:
Tests
Here are the functional tests you should perform for these changes:
Create a money request that fails (e.g., go offline, submit expense, go online to see failure)
Tap the red error indicator to dismiss the error
Verify the error is cleared and the action is removed
Start uploading a receipt that fails (e.g., network issue during SmartScan)
Navigate to the receipt view showing the error
Dismiss the receipt error
Verify the error is cleared properly
Create a failed expense within a transaction thread (single transaction view)
Dismiss the error from within the thread
Verify navigation and cleanup work correctly
Create a scenario where a report action has related parent or child actions with errors
Dismiss the error on one action
Verify related errors on parent/child actions are also cleared (if they share the same error keys)
Attempt to send money that fails
Dismiss the error
Verify the transaction and related report actions are cleaned up
Key areas to verify:
No crashes when dismissing errors
Errors actually disappear from the UI
Navigation works correctly after dismissal
No orphaned data left behind (transactions, report actions)
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari