[CP Staging] Indent GL code subtitle to match the subcategory name in list rows - #98850
Conversation
|
@cretadn22 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] |
mollfpr
left a comment
There was a problem hiding this comment.
LGTM! @cretadn22 could you fill the reviewer checklist please? Thanks!
|
Bump, can we get this moving since this fixes a blocker? |
|
Also does this actually fix #98828 too or no? |
|
@codex review |
|
@Beamanator Yes, this PR is specifically intended to fix #98828. @yusufdeveloper2903 Please update the issue link in the PR description |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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: HybridApp |
|
🚧 Beamanator has triggered a test Expensify/App build. You can view the workflow run here. |
…ubcategory-indentation [CP Staging] Indent GL code subtitle to match the subcategory name in list rows (cherry picked from commit 62856ac) (cherry-picked to staging by Beamanator)
|
🧪🧪 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. |
|
🔁 Filed a Staging retest request for deploy blockers #98828 after this PR was cherry-picked to staging. |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.4.55-3 🚀
|
|
🤖 I reviewed this PR against the help site files under No help site changes are required, so I did not create a draft docs PR. Why: This is a UI layout-only fix. It applies the existing row indent ( The help articles that mention GL codes (e.g. If you believe a specific article should call out this behavior, let me know which one and I'll draft the update. |


Explanation of Change
In
BaseSelectListItemthe row indent is applied as a realpaddingLeft, but only to the title — so the GL code inalternateTextstayed flush left instead of lining up with the indented subcategory name. This applies the samepaddingLeftto the alternate text. Rows without indentation are unaffected (paddingLeftis0for them).Fixed Issues
$ #93155
$ #98828
PROPOSAL: #93155 (comment)
Tests
Precondition: Control workspace with Show GL codes when categorizing expenses enabled, and categories
Lunch: SushiandLunch: Sushi: Nigiri, each with a GL code.Sushiand verify the alignment holds in the results.Offline tests
Layout-only change, rendered from Onyx.
QA Steps
Precondition: Control workspace with Show GL codes when categorizing expenses enabled, and category
Lunch: Sushiwith a GL code.Sushisubcategory.Sushiinstead of being flush left.PR Author Checklist
### 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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
After fix:REC-20260818133031.mp4