[No QA] Add seatbelt check and change context props#95268
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a358bcfdc
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 59ba4eac57
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-07-03.13.01.21.movAndroid: mWeb Chrome2026-07-03.13.02.02.moviOS: HybridApp2026-07-03.13.01.21.moviOS: mWeb Safari2026-07-03.13.02.02.movMacOS: Chrome / Safari2026-07-03.13.00.50.mov |
|
Plus we have lint issues |
|
BTW I also removed the pressOnEnter prop from the ButtonKeyboardShortcut since it was redundant 🧹 💨 |
…-fork into Guccio163/button/rule
|
Still have lint issues 😅 |
|
@ZhenjaHorbach ready |
|
🚧 mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.28-0 🚀
|
|
🤖 I reviewed this PR against the help site content in This PR is an internal code-quality and architecture change only, with no user-facing impact:
None of these changes affect any feature, screen, setting, label, button copy, or workflow that a customer would see, so there is nothing to document. Because no docs changes are needed, no draft help site PR was created. If you believe there's a user-facing behavior change I missed, let me know and I'll take another look. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.28-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Add the seatbelt eslint rule for restricting the Button import, update the button children context to pass ButtonKeyboardShortcut also required in the Button itself. This PR also removed the pressOnEnter ButtonKeyboardShortcut prop since it was redundant.
Fixed Issues
$ #83762
PROPOSAL:
Tests
Eslint:
Context update:
Make sure that values are correctly moved from ButtonKeyboardShortcut props to the context and are being passed correctly.
Verify that no errors appear in the JS console
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 stepssectiontoggleReportand 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