Skip to content

Optimize UI animations and responsiveness - #21

Merged
astrovm merged 38 commits into
mainfrom
agent/optimize-ui-animations
Jul 24, 2026
Merged

Optimize UI animations and responsiveness#21
astrovm merged 38 commits into
mainfrom
agent/optimize-ui-animations

Conversation

@astrovm

@astrovm astrovm commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • coalesce progress messages and render the progress bar at a smooth visual cadence
  • drop intermediate cumulative byte updates instead of blocking download workers
  • correctly leave pulse mode when progress becomes determinate
  • cache mod preview images and reuse carousel pages
  • simplify preview selection, focus, and hover handling through a small controller
  • debounce pointer hover changes and skip redundant preview refreshes
  • fade setup content out before replacing it, then fade the new content in
  • remove the unused transform transition and respect reduced-motion preferences
  • bump the application version to 0.3.12
  • add the release changes to AppStream metadata

Why

Adventure Mods now targets GTK 4.22 and libadwaita 1.9, but frequent progress callbacks and repeated preview reconstruction could still occupy the GTK main thread and make animations less smooth. These changes reduce unnecessary widget work without making downloads wait for the interface.

Validation

  • added regression tests for progress coalescing and pulse-to-determinate transitions
  • kept existing mod-selection and setup tests
  • passed formatting, clippy, tests, and the Cargo runner on x86_64 and ARM64
  • passed Flatpak builds and package validation on x86_64 and ARM64
  • passed the x86_64 AppImage build

@astrovm astrovm closed this Jul 24, 2026
@astrovm astrovm reopened this Jul 24, 2026
@astrovm
astrovm force-pushed the agent/optimize-ui-animations branch from fb5c9ee to 7424811 Compare July 24, 2026 18:04
@astrovm
astrovm force-pushed the agent/optimize-ui-animations branch from fb5c9ee to 7424811 Compare July 24, 2026 18:07
@astrovm
astrovm marked this pull request as ready for review July 24, 2026 19:10
astrovm added 5 commits July 24, 2026 16:27
Gate Auto/Download navigation during content fades, cancel in-flight
transitions when showing errors, keep chrome in sync with step body,
and publish high-frequency progress via latest-value samples so dropped
channel updates cannot leave stale multi-mod totals.
Mirror the AppImage packaging entry point so developers can build and
install the Flatpak with one command, with an override for production.
Match the shorter term used elsewhere for the optional terminal interface.
Replace the out-then-in crossfade with a snap swap and short fade-in,
skip motion for Auto/Download work steps, and drop the deferred
transition handler that delayed content rendering.
Lead with the usual setup wizard command and fold other commands and
scripting flags into details so the section matches real usage.
@astrovm
astrovm merged commit d1b974c into main Jul 24, 2026
9 checks passed
@astrovm
astrovm deleted the agent/optimize-ui-animations branch July 24, 2026 19:48
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