Skip to content

feat(web): add header time zone and auto-refresh controls - #938

Open
mnoah1 wants to merge 1 commit into
mainfrom
mnoah1/frontend-time-zone
Open

mnoah1 wants to merge 1 commit into
mainfrom
mnoah1/frontend-time-zone

Conversation

@mnoah1

@mnoah1 mnoah1 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Why?

Let viewers choose browser time or UTC and opt into automatic updates from the shared header.

What?

  • Add a Browser/UTC preference to both apps, defaulting to browser time and remembered across reloads.
  • Move opt-in ten-second auto-refresh into the header and remove the manual Refresh button.
  • Use matching BaseUI typography and center the checkbox label with the other controls.
image

Test Plan

Run the reference hosts with make local-submitqueue-start or make local-stovepipe-start.

Manually verified both hosts at desktop and mobile widths: the controls align, timestamps switch together, and the time-zone preference survives navigation and reloads. Auto-refresh is off initially; enabling it polls every ten seconds and disabling it stops polling. Browser reload remains available for manual updates.

Summary:
Let viewers choose browser time or UTC and opt into automatic updates from the shared header. Remember the time-zone preference, default auto-refresh off, remove the manual Refresh button, and align both controls using BaseUI typography and layout.

Test Plan:
Run the reference hosts with make local-submitqueue-start or make local-stovepipe-start. Verified time-zone switching and persistence, opt-in ten-second polling, and matching typography and alignment at desktop and mobile widths.
@mnoah1
mnoah1 marked this pull request as ready for review October 23, 2026 21:34
@mnoah1
mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners October 23, 2026 21:34
@mnoah1
mnoah1 enabled auto-merge October 23, 2026 21:36
@mnoah1
mnoah1 added this pull request to the merge queue Oct 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 23, 2026

This branch has not been deployed

No deployments
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.

2 participants