Skip to content

web: Remove clock display from top navigation#445

Merged
ProdigyV21 merged 2 commits into
ProdigyV21:mainfrom
Himanth-reddy:web/remove-clock-display
Jul 10, 2026
Merged

web: Remove clock display from top navigation#445
ProdigyV21 merged 2 commits into
ProdigyV21:mainfrom
Himanth-reddy:web/remove-clock-display

Conversation

@Himanth-reddy

Copy link
Copy Markdown
Collaborator

Summary

Remove the clock/time display from the web application's top navigation bar.

Rationale

A clock display is unnecessary in a web application. Unlike a TV or set-top box interface where the app is the primary full-screen experience, web users always have convenient access to the current time through:

  • Operating system taskbar/menu bar (Windows, macOS, Linux)
  • Browser tab bar or status area
  • Mobile device status bar (iOS, Android)

Displaying a redundant clock in the navigation consumes valuable UI space and adds unnecessary JavaScript timer overhead (interval polling every 30 seconds).

Changes

  • web/components/shell/TopNav.tsx — Removed clock state, useEffect interval timer, and the <span className="top-clock"> element
  • web/app/globals.css — Removed .top-clock style block and cleaned up responsive media query selectors that referenced it

The clock/time display in the top navigation bar is unnecessary for a
web application. Users already have access to the system clock via their
OS taskbar, browser tab, or device status bar, making an in-app clock
redundant.

Changes:
- Remove clock state and interval timer from TopNav component
- Remove .top-clock CSS rules and responsive media query references
@ProdigyV21

Copy link
Copy Markdown
Owner

Thanks for this — the diff is clean, it typechecks, and there are no orphaned imports (the scroll listener still uses useState/useEffect). One small follow-up before it's fully tidy:

Removing the clock leaves the "Clock format" (24h/12h) selector in Settings now controlling nothing in the web UI — the clock was its only consumer. Could you also remove that now-dead row?

@ProdigyV21 ProdigyV21 merged commit 6a171a1 into ProdigyV21:main Jul 10, 2026
7 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.

2 participants