Commit 46d85b5
authored
Allow decimal weights and remove last-session set chip (#119)
### Motivation
- Allow users to enter free-form decimal weights in the session logger and remove the small per-exercise "last session" label showing previous weight/reps to simplify the UI and avoid redundancy.
### Description
- Change the weight input `step` from `0.5` to `any` so decimal values of any precision are accepted (`weightInput.step = 'any'`).
- Remove the `renderPreviousChip` function and the code that appended the per-exercise `Last: … kg · … reps` chip from `renderExercise` to drop the small last-session label.
- Keep existing behaviour that still reads previous-set values for pre-filling inputs when available.
------
[Codex Task](https://chatgpt.com/codex/tasks/task_e_69bd13651728832580bee57c0d9205d3)1 parent 3e27b7c commit 46d85b5
1 file changed
Lines changed: 1 addition & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | 374 | | |
386 | 375 | | |
387 | 376 | | |
| |||
421 | 410 | | |
422 | 411 | | |
423 | 412 | | |
424 | | - | |
| 413 | + | |
425 | 414 | | |
426 | 415 | | |
427 | 416 | | |
| |||
477 | 466 | | |
478 | 467 | | |
479 | 468 | | |
480 | | - | |
481 | | - | |
482 | 469 | | |
483 | 470 | | |
484 | 471 | | |
| |||
496 | 483 | | |
497 | 484 | | |
498 | 485 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | 486 | | |
504 | 487 | | |
505 | 488 | | |
| |||
0 commit comments