Skip to content

web: Remove clock display from top navigation#445

Open
Himanth-reddy wants to merge 1 commit into
ProdigyV21:mainfrom
Himanth-reddy:web/remove-clock-display
Open

web: Remove clock display from top navigation#445
Himanth-reddy wants to merge 1 commit 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
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