Skip to content

Conversation

@aaronbrethorst
Copy link
Member

@aaronbrethorst aaronbrethorst commented Jan 6, 2026

Summary

  • Add SHOW_REGION_NAME_IN_NAV_BAR build-time configuration to control region name visibility in navigation bar
  • Defaults to true for backwards compatibility
  • Logo alt attribute still uses region name for accessibility when text is hidden

Test plan

  • All 617 tests pass (including 3 new tests for hidden region name scenario)
  • Build succeeds
  • Manual verification: Set SHOW_REGION_NAME_IN_NAV_BAR=false and confirm region name text is hidden
  • Manual verification: Confirm logo still displays and links to home

Closes #291

@coveralls
Copy link

coveralls commented Jan 6, 2026

Coverage Status

coverage: 76.292% (+0.03%) from 76.26%
when pulling de3e741 on fix-291
into 8214dc7 on main.

Add SHOW_REGION_NAME_IN_NAV_BAR build-time configuration to control
whether the region name text is displayed in the navigation bar.
This helps conserve horizontal space on mobile devices.

- Defaults to true for backwards compatibility
- Logo alt text still uses region name for accessibility
- Uses Vite's define feature to expose non-prefixed env var

Fixes #291
@aaronbrethorst aaronbrethorst merged commit f7f170d into main Jan 6, 2026
4 checks passed
@aaronbrethorst aaronbrethorst deleted the fix-291 branch January 6, 2026 07:26
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.

Allow the text title in the navigation bar to be optional

3 participants