Skip to content

feat(nav): reorder the tab bar, and give the scanner and You new glyphs - #767

Merged
bmc08gt merged 1 commit into
mainfrom
feat/nav-tab-icons
Sep 15, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
feat/nav-tab-icons

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

The scanner tab wore a viewfinder, which named the camera rather than what it is for: reading someone's tip card. Node 10000:111297 swaps it for the tip card glyph and hands the You tab the people circle the scanner's slot left free — the icon it draws when there is no profile photo to draw instead.

The bar's order

Chat moves from third to second, beside the scanner that feeds it, so the bar reads scan, chat, wallet, You. HomeTab's declaration order is the bar's order and the launch tab is HomeTab.initial, so moving the cases doesn't change where the app opens. Android's NavBarButton.tabs holds the same four in the same order after code-android-app#1462.

Where the filled people circle comes from

The design file draws the You tab only as an outline, so there is no filled twin to export. Material Icons' account_circle is the same glyph solid, and it is where Android's people circle takes its selected weight from too — so the two bars fill alike rather than each inventing a treatment. Knocking the person out of a solid body is what NavWalletSelected and NavTipCardSelected already do.

The people-circle branch is only reached when the profile has no picture at all: ProfileTabSlot is nil in exactly that case, and a pending picture keeps the ring rather than falling back to the glyph.

Both bars, one map

The SwiftUI pill (HomeTabBar) and the iOS 26 UITabBarItem probe both read HomeTab.iconName(isSelected:), so the remap and the new pair cover both paths with no second edit.

NavScan/NavScanSelected lose their last caller and are deleted. The new-user tutorial's "Scan a Tip Card" row takes NavTipCard, the same glyph as the tab it points at.

@bmc08gt bmc08gt self-assigned this Sep 14, 2026
The scanner tab wore a viewfinder, which named the camera rather than
what it is for: reading someone's tip card. It now carries the tip card
glyph, and the You tab takes the people circle the scanner's slot left
free — the icon it draws when there is no profile photo to draw instead
(node 10000:111297).

Chat also moves from third to second, beside the scanner that feeds it,
so the bar reads scan, chat, wallet, You. `HomeTab`'s declaration order
is the bar's order, and the launch tab is `initial`, so moving the cases
does not change where the app opens. `NavBarButton.tabs` on Android holds
the same four in the same order.

The people circle gets a filled twin for its selected state. The design
file draws the You tab only as an outline, so that weight comes from
Material Icons' `account_circle` — the same glyph solid, and the same
place Android's people circle takes its selected weight from, so the two
bars fill alike. Both tab-bar paths — the SwiftUI pill and the iOS 26
`UITabBarItem` bar — take their glyphs from `HomeTab.iconName(isSelected:)`,
so the pair covers both.

`NavScan`/`NavScanSelected` are now unreferenced and go with it; the
new-user tutorial's "Scan a Tip Card" row takes `NavTipCard`, the same
glyph as the tab it points at.
@bmc08gt bmc08gt changed the title feat(nav): give the scanner the tip card glyph and You a people circle feat(nav): reorder the tab bar, and give the scanner and You new glyphs Sep 14, 2026
@bmc08gt
bmc08gt merged commit fd7b7f7 into main Sep 15, 2026
1 check passed
@bmc08gt
bmc08gt deleted the feat/nav-tab-icons branch September 15, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant