Skip to content

Gym mode UI Updates#1255

Draft
jontyms wants to merge 2 commits into
wger-project:masterfrom
jontyms:gym-mode-ui-2
Draft

Gym mode UI Updates#1255
jontyms wants to merge 2 commits into
wger-project:masterfrom
jontyms:gym-mode-ui-2

Conversation

@jontyms

@jontyms jontyms commented Jul 7, 2026

Copy link
Copy Markdown

Proposed Changes

Reworks gym mode around a single active-session screen: everything lives on, or one tap away from, the log page. The old per-set / per-timer chevron flow is replaced by a swipeable page-per-exercise with persistent chrome (session header + scrollable exercise queue).
This PR is heavily AI generated but I have tested and used this prototype for weeks.

Screenshot_20260706_212532 Screenshot_20260706_212511 Screenshot_20260706_212445 Screenshot_20260706_214102

Related Issue(s)

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Set a 100-character limit to avoid white space diffs (run dart format .)

jontyms and others added 2 commits July 6, 2026 21:46
Rework the gym-mode logging experience around a redesigned log page:

- Split the monolithic log_page.dart into focused widgets under
  log_page/ (chrome, hero, palette, set_panel, sets_section, sheets).
- Add a dedicated rest-timer notifier so the inline rest timer runs off
  shared state instead of ad-hoc timers, tracking startedAt.
- Support a dynamic number of sets per page and per-set editing via
  bottom sheets.
- Add gym-mode theme extensions and a local palette for the new UI.
- Extend gym state (startedAt, per-set handling) and wire up navigation,
  start page, summary and the workout menu accordingly.
- Make the horizontal action bar scroll like the exercise-queue strip
  (touch/mouse/trackpad drag + mouse-wheel to horizontal).
- Add the accompanying l10n strings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Rework log_page and gym_mode widget/integration tests for the
  redesigned logging UI and dynamic sets.
- Drop the obsolete generated log_page_test mocks.
- Refresh the progression-tab golden and the gym-mode screenshot setup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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