Merge TabSelector and ScrollableTabSelector#84132
Conversation
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.
|
Full labels!
This seems fine to me. Curious if the other designers have a different opinion.
Yeah I think this makes sense to me too.
I agree - let's just make sure it looks right for all the cases/tabs (seems like maybe you've already done this) Pretty stoked for this! Let's at least wait for @dubielzyk-expensify to get eyes on these questions/feedback as well. |
|
Yeah this is looking great! Wonderful attention to details @GCyganek ! Agree with everything Danny is saying 👍 Horizontal scroll on mobile is something we might have to revisit cause we might actually need a tiny arrow to see more there, but I think we can do that as a follow-up |
No, I believe @GCyganek did this because of testing!? Cause yeah the top bar should only be manual, scan, per diem, time. |
Yes, it's just for testing! |
Sure! |
|
@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] |
|
@GCyganek |
Would be great if you could test and review, yeah 🙏 |
Phew 😂 |
trjExpensify
left a comment
There was a problem hiding this comment.
Agreed product change with design 👍
| contentContainerStyle={{ | ||
| flexGrow: 1, | ||
| paddingBottom: 12, | ||
| paddingHorizontal: 20, |
There was a problem hiding this comment.
Let's move this to src/styles/index.ts
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-03-06.17.10.24.movAndroid: mWeb Chrome2026-03-06.17.12.38.moviOS: HybridApp2026-03-06.17.10.24.moviOS: mWeb Safari2026-03-06.17.12.38.movMacOS: Chrome / Safari2026-03-06.17.07.00.mov |
| import TabSelectorItem from './TabSelectorItem'; | ||
| import type {TabSelectorBaseProps} from './types'; | ||
|
|
||
| const MIN_SMOOTH_SCROLL_EVENT_THROTTLE = 16; |
There was a problem hiding this comment.
Actually, we use this value in a lot of places
scrollEventThrottle={16}
I think we can move this value to a constant file and update other places
|
But overall changes look and work good! |
|
LGTM! |
|
Ahh conflicts, that's unfortunate. Looking good though! |
|
@Julesssss no conflicts, I think it's ready to be merged |
|
🚧 @Julesssss 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/Julesssss in version: 9.3.37-0 🚀
|
|
Deploy Blocker #85160 was identified to be related to this PR. |
|
This PR failing because of the issue #85207 |
|
@GCyganek Is this one testable in Native apps, If so, have to test only how the navigation works after selecting the tab? |
Yes, I added instructions how to get to the tabs that were affected by this PR in the |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.37-10 🚀
|




Explanation of Change
Merging
ScrollableTabSelectorandTabSelectorso that we have only one that has all features of the original component and scrolling capabilities ofScrollableTabSelector.Changed behaviours are explained #84132 (comment) and were approved by the designers
Fixed Issues
$ #81338
PROPOSAL: N/A
Tests
Check if there are any regressions while using tabs selectors that can be accessed as described below. On web, narrow browser window so that there is an overflow to test scrolling and changing tabs:
New chat tab selector: FAB > Start chat
Share page tab selector:
Shareand select ExpensifyDistance Request tab selector: FAB > Track distance
Create Expense tab selector: FAB > Create expense
SplitExpensePage:
Create expense tab selector with product training tooltip:
Prerequisites: new account (
Scantraining tooltip not dismissed yet)ScanCreate expense tab selector full labels and working scrolling when overflowing:
Prerequisites: default workspace with enabled Time expenses and Per diem (with some rates)
(continue on web:)
Offline tests
QA Steps
Same as tests
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-new-chat-selector-page.mov
android-iou-request-start-page-tooltip.mov
android-split-expense-page.mov
android-iou-request-start-page.mov
android-distance-request-start-page.mov
android-share-root-page.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2026-03-05.at.17.17.35.mov
Screen.Recording.2026-03-05.at.17.18.04.mov
Screen.Recording.2026-03-05.at.17.18.22.mov
Screen.Recording.2026-03-05.at.17.19.24.mov
Screen.Recording.2026-03-05.at.17.20.27.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-03-05.at.17.09.58.mov
Screen.Recording.2026-03-05.at.17.12.34.mov
Screen.Recording.2026-03-05.at.17.13.08.mov
Screen.Recording.2026-03-05.at.17.13.25.mov
Screen.Recording.2026-03-05.at.17.14.56.mov