Commit graph

11 commits

Author SHA1 Message Date
Danny
bc1d44b556 feat: per-user workout numbering (#7)
Display workouts as "#N" based on each user's own ordered list of
non-deleted workouts (rank by timestamp ascending). Global auto-
increment id stays the primary key, used only internally and in
exports. User-visible surfaces now all use the per-user number:
- /history listing
- /delete now accepts the per-user number
- Save confirmations (bot text and Mini App toast)

Deleting a workout renumbers the later ones downward, as expected
for a pure display transform.

New db helpers: get_user_workout_number, resolve_user_number, and
get_workouts now includes user_number per row via SQLite window
function.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 22:32:24 +02:00
Danny
8e22cdb29d docs: clarify version-display ROADMAP entry (format + fallback)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 19:34:04 +02:00
Danny
53dbaa1d4e docs: tick off #1 and version display; leave semver tags open
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 19:26:58 +02:00
Danny
31d426d53e docs: promote version display to Next tier (after #1)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:29:50 +02:00
Danny
41a1854c58 docs: add shipyard staging to ROADMAP
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:22:25 +02:00
Danny
06ff46438c docs: add interaction logging, rest timer, About section to ROADMAP
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:16:04 +02:00
Danny
fbe1f63e19 docs: add news, profile/settings, cardio tracking to ROADMAP
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:09:19 +02:00
Danny
c39e0a61a4 docs: add global exercise name suggestions to ROADMAP
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:06:16 +02:00
Danny
395b3c7bc0 docs: add semantic versioning item to ROADMAP
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 17:00:01 +02:00
Danny
40592ed935 docs: tick off #6 in ROADMAP.md
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:54:33 +02:00
Danny
9ba5cdf769 docs: add ROADMAP.md
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:37:54 +02:00