Skip to content

feat(gui): add a subtle modern sheen animation to the progress bar - #1111

Merged
louis-e merged 2 commits into
mainfrom
feat/progress-bar-animation
Jun 16, 2026
Merged

louis-e merged 2 commits into
mainfrom
feat/progress-bar-animation

Conversation

@louis-e

@louis-e louis-e commented Jun 16, 2026

Copy link
Copy Markdown
Owner

CSS-only ::after on .progress-bar: evenly-spaced soft diagonal highlights that drift slowly across the fill. Animates background-position only, so the JS-driven width transition is untouched; the 16px period and 16/cos45 shift make the loop seamless. Honors prefers-reduced-motion. No HTML/JS changes.

CSS-only ::after on .progress-bar: evenly-spaced soft diagonal highlights
that drift slowly across the fill. Animates background-position only, so the
JS-driven width transition is untouched; the 16px period and 16/cos45 shift
make the loop seamless. Honors prefers-reduced-motion. No HTML/JS changes.
Copilot AI review requested due to automatic review settings June 16, 2026 14:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a CSS-only “sheen” animation overlay to the GUI progress bar fill to give it a subtle modern highlight effect, while keeping the JS-driven width transition unchanged and honoring prefers-reduced-motion.

Changes:

  • Make .progress-bar a positioning context for an animated ::after overlay.
  • Add a repeating diagonal highlight pattern that animates via background-position.
  • Disable the animation under @media (prefers-reduced-motion: reduce).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/gui/css/styles.css
Comment thread src/gui/css/styles.css
@github-actions

github-actions Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

⏱️ Benchmark run finished in 0m 49s
🏗️ Generation time: 19s (excl. data fetching)
🧠 Peak memory usage: 998 MB

📈 Compared against baseline: 18s time, 1005 MB memory
🧮 Delta: 31s time, -7 MB memory
🔢 Commit: 811514a

🟢 Generation time is unchanged.
🟢 Peak memory is unchanged.

📅 Last benchmark: 2026-06-16 14:41:25 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

Reset will-change to auto under prefers-reduced-motion so the element isn't
left promoted while idle, and use a more precise seamless shift (22.627px).
@louis-e
louis-e merged commit 27eb7b8 into main Jun 16, 2026
3 checks passed
@louis-e
louis-e deleted the feat/progress-bar-animation branch June 16, 2026 14:39
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