Skip to content

Commit 68d2a0e

Browse files
author
bgeurten
committed
Document v0.8.8 internal refactors in README
1 parent 6f2e181 commit 68d2a0e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ New in v0.8.5:
9898
New in v0.8.7:
9999
- **Help** and **About** entries in the ⚙ Settings panel. Help is a one-screen reference covering the four tabs, the per-card buttons (±, ⏭, 🔄, ?), preset editing, and CSV export/import. About has version, source code link, live demo link, licence, and credit for free-exercise-db.
100100

101+
New in v0.8.8 (internal — pure refactor, no behaviour change):
102+
- `render()` split into per-view functions (`renderHome`, `renderHistory`, `renderStats`, `renderBody`, `renderWorkout`, `renderPresetEditor`); the dispatcher is now ~14 lines instead of 435.
103+
- Two clickable `<span>` elements (preset edit overlay, preset-editor exercise name) are now real `<button>` elements with the appropriate style resets — keyboard navigation and screen readers now treat them correctly.
104+
- Chart geometry literals (`520`, `220`, padding values, range-padding ratios) and the autocomplete flip-up threshold are named constants with explanatory comments.
105+
- Three previously-undercommented functions (`rankBodyNames`, `reconstructInterval`, `openExerciseInfo`) now have short Why-comments.
106+
101107
Zero dependencies, no build step. `localStorage` keys: `gym` (history), `gym_draft` (in-progress workout), `gym_shifts` (pending exercise shifts), `gym_presets` (preset definitions), `gym_ex_details` (cached exercise reference data, populated on first `?` click), `gym_body` (body measurements log), `gym_units` (display unit preference: `metric` / `imperial`), `gym_alternatives` (per-exercise list of remembered alternatives).
102108

103109
## Documentation

0 commit comments

Comments
 (0)