Repository navigation
Conversation
…components Seatbelt-Operation: session5-sign-b33cf522-28e8-4e5d-8b69-914b7a4a795c
Seatbelt-Operation: remaining-102962-sign-100f4a04-ee7a-4eb7-926d-d8ee8ddc07e5
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
This branch has not been deployed
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
Remove unsafe assertions by matching participant, spreadsheet, KYC, tooltip and menu types to their actual inputs. Unsupported spreadsheet inputs and web location targets now stop before unsafe use, unsupported layout contributions are ignored, and a click blurs only a callable target.
Changed files:
src/components/ImportSpreadsheet.tsxsrc/components/KYCWall/BaseKYCWall.tsxsrc/components/MenuItem/MenuItem.tsxsrc/components/OptionRow.tsxsrc/hooks/useSearchSelector/base.tssrc/hooks/useSearchSelector/index.native.tssrc/hooks/useSearchSelector/index.tssrc/libs/OptionsListUtils/index.tssrc/libs/ReportUtils.tssrc/libs/actions/ImportSpreadsheet.tssrc/libs/getClickedTargetLocation/index.tssrc/libs/getClickedTargetLocation/types.tssrc/pages/iou/request/ParticipantSearchResults.tsxsrc/styles/utils/index.tstests/ui/components/ImportSpreadsheetTest.tsxtests/ui/components/KYCWallTest.tsxtests/ui/components/MenuItemTest.tsxtests/ui/components/OptionRowTest.tsxtests/ui/components/ParticipantSearchResultsTest.tsxtests/unit/OptionsListUtilsTest.tsxtests/unit/getClickedTargetLocationTest.tstests/unit/useSearchSelectorTest.tsxFixed Issues
$ #94739
PROPOSAL: #94739 (comment)
Tests
Focused TypeScript, lint, format, spelling and Jest checks passed on the changed paths.
QA Steps
1. Participant selection.
2. Spreadsheet import.
3. Payment popup positioning.
4. Profile menu navigation.
PR Author Checklist
No app copy, assets or CSS declarations were added. Manual execution remains pending.
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Recordings (5)
01-participant-desktop.mp4
02-csv-picker-desktop.mp4
03-empty-csv-desktop.mp4
04-profile-header-desktop.mp4
05-profile-header-narrow.mp4