Custom exercises: optional description + reachable delete

Adds an optional free-text description to custom exercises, shown where
a built-in exercise shows its animation (detail + config sheets) and
included in exercise search.

Deleting was only reachable from the Exercises tab detail sheet, which
you never pass through when tapping an exercise inside a routine. The
routine's config sheet now offers "Edit or delete this exercise", and
its old "Remove exercise" button is relabelled "Remove from routine" so
removing from a routine and deleting for good are no longer confusable.

Refs #11
This commit is contained in:
Duarte Santos committed 2026-07-22 00:34:27 +02:00
1 parent 0cefcb3636
commit a4f73e34d1
15 files changed
+80 -19

No files matched your search

+3
View File
@@ -134,6 +134,9 @@ a{color:var(--acc)}
.input{width:100%;background:var(--bg2);border:1px solid var(--line);border-radius:12px;
padding:13px 14px;font-size:1rem;outline:none}
.input:focus{border-color:var(--acc)}
textarea.input{min-height:88px;resize:vertical;line-height:1.45}
.exnote{background:var(--bg2);border-radius:12px;padding:12px 14px;line-height:1.5;
white-space:pre-wrap;font-size:.92rem;margin-bottom:10px}
.search{position:relative}
.search .input{padding-left:40px}
.search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:17px;height:17px;