[No QA] - Fix cold lint after deprecating icons sizing#95606
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
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". |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.32-0 🚀
|
|
🤖 No help site changes required. This PR is a pure lint/refactor cleanup — it replaces the deprecated boolean icon-size props ( Since nothing about the product's observable behavior changed, there is nothing to document or update in @jmusial, if you believe a specific user-facing behavior did change here and warrants a docs update, let me know which one and I'll draft the help site PR. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.4.32-3 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Replaced the deprecated boolean icon-size props (
small/medium/extraSmall) on<Icon>with thesize={CONST.ICON_SIZE.*}API where the value was static, and added inlineeslint-disable @typescript-eslint/no-deprecatedcomments for the few dynamic cases that can't be cleanly converted — this fixes the@typescript-eslint/no-deprecatederrors surfacing on cold (uncached) eslint runs in CI stemming from #95048.Fixed Issues
$ #95597
PROPOSAL:
Tests
Just lint fix.
Offline tests
Just lint fix.
QA Steps
Just lint fix.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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
N/A