Skip to content

Enhanced Solar Eclipse Countdown with Hourly Simulation and Modern UI#1

Open
j4c0s wants to merge 3 commits into
mainfrom
modernize-eclipse-countdown-11404627948476624605
Open

Enhanced Solar Eclipse Countdown with Hourly Simulation and Modern UI#1
j4c0s wants to merge 3 commits into
mainfrom
modernize-eclipse-countdown-11404627948476624605

Conversation

@j4c0s

@j4c0s j4c0s commented Jun 4, 2026

Copy link
Copy Markdown
Owner

I have significantly enhanced the eclipse countdown page to make it more visually spectacular and better suited for a permanent tablet display. Key improvements include:

  1. Visual Overhaul: Added a rotating nebula background and a starfield with multi-colored, twinkling stars.
  2. Spectacular Simulation: Implemented a triggerHourlyAnimation function that simulates a total solar eclipse once per hour. The animation features a sky darkening effect, a smooth moon transit, the "Diamond Ring" effect, and a rotating solar corona flare.
  3. Modern UI: Replaced the previous layout with a sleek "glassmorphism" container for the countdown, featuring smooth vertical sliding transitions for time changes.
  4. Tablet Readiness: Integrated the Screen Wake Lock API to ensure the screen stays on during use, and used responsive CSS units (vmin, clamp) to keep everything perfectly centered and scaled on all screens.
  5. Code Quality: Cleaned up the codebase, fixed translation typos, and reformatted large data objects for better maintainability.

PR created automatically by Jules for task 11404627948476624605 started by @j4c0s

- Implemented glassmorphism-based countdown container.
- Added dynamic background with rotating nebula and twinkling stars.
- Created a multi-phase hourly eclipse simulation with corona and diamond ring effects.
- Ensured full responsiveness across devices using vmin and clamp units.
- Restored Screen Wake Lock API for permanent tablet display.
- Improved code readability by reformatting translations and city data.
- Fixed typo in Italian translation.

Co-authored-by: j4c0s <46329710+j4c0s@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 2 commits June 4, 2026 22:49
- Overhauled the UI with a modern glassmorphism aesthetic.
- Added a dynamic background with stars and a rotating nebula.
- Implemented an hourly eclipse animation (moon transit, corona, diamond ring).
- Added Screen Wake Lock API support for permanent tablet displays.
- Improved responsiveness and layout to ensure visibility on all devices.
- Added automatic language detection and a settings panel.

Co-authored-by: j4c0s <46329710+j4c0s@users.noreply.github.com>
- Implemented a responsive Flexbox layout with `min-height: 100dvh` and `clamp()` to prevent UI clipping on mobile devices.
- Enhanced the "Diamond Ring" animation with multi-layered shadows and dedicated entry/exit phases.
- Standardized celestial body centering using `translate(-50%, -50%)`.
- Fixed a bug where a "ghost ring" (box-shadow) remained on the sun after animation by implementing explicit style resets.
- Added a clickable trigger to the sun element for manual animation testing.
- Bumped Service Worker version for cache invalidation.

Co-authored-by: j4c0s <46329710+j4c0s@users.noreply.github.com>
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