Skip to content

Drop the "Where" masthead and float the home toolbar over the cards#63

Merged
kyleve merged 1 commit into
mainfrom
where-home-transparent-nav
Jul 6, 2026
Merged

Drop the "Where" masthead and float the home toolbar over the cards#63
kyleve merged 1 commit into
mainfrom
where-home-transparent-nav

Conversation

@kyleve

@kyleve kyleve commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • The Primary (home) tab's gold-foil "Where" wordmark (PassportMasthead) sat pinned above the cards, eating vertical space and blocking them from scrolling to the top. It was a custom design element, not a nav-bar title.
  • Removed the masthead and made screen the NavigationStack's direct content so the glass cards scroll under a transparent nav bar; .toolbarBackground(.hidden, for: .navigationBar) lets the trailing toolbar buttons (timeline / calendar / year selector) float over the scrolling content.
  • Kept TiltProvider and its lifecycle — RegionSummaryCard still uses its tilt-reactive sheen — and deleted the now-unused Strings.primaryTitle string (+ primary.title catalog entry) and UIConstants.Size.mastheadFontSize constant.

The dark passport-cover gradient still fills behind the bar (the LinearGradient background ignores safe-area edges) and the forced-dark toolbar color scheme keeps the buttons legible.

Test plan

  • ./swiftformat --lint . — clean
  • tuist test Stuff-iOS-Tests — full iOS suite passes (incl. StringsTests)
  • Sanity-check on device/simulator that cards scroll under the transparent bar and the first card clears the floating toolbar buttons

Made with Cursor

The Primary tab's gold-foil "Where" wordmark (PassportMasthead) sat pinned
above the cards, eating vertical space and blocking them from scrolling to
the top. Remove it and make `screen` the NavigationStack's direct content so
the glass cards scroll under a transparent nav bar, with
`.toolbarBackground(.hidden)` letting the trailing toolbar buttons float over
the content. Keep the TiltProvider (region cards still use its sheen) and
delete the now-unused primaryTitle string and mastheadFontSize constant.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kyleve kyleve enabled auto-merge (squash) July 6, 2026 04:02
@kyleve kyleve merged commit 9060543 into main Jul 6, 2026
3 checks passed
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