Fix the clipped answer field + the doubled AI note; ordering only where it fits

UI bug from a phone screenshot (short answer, Czech):
- The textarea was flex-shrunk inside the slide's column (58px instead of
  ~82px), clipping the typed answer mid-line. Every direct child of a
  study/review/guide slide is now shrink-0 and the slide scrolls instead.
- Two AI disclaimers were visible at once: the activity's own after the
  grading box plus the feed's row. The activity-level copy is gone; the
  feed/guide row (which also carries the report control) is the single one.
  The phase-2 check now asserts the note sits below the graded feedback.
- The mobile suite's backdrop-tap check is deterministic too (the spring
  animation made the measured box mid-flight).

Ordering activities: the deck prompt now allows them only when the notes
hold a real sequence (chronological events, process stages, procedure steps,
a lifecycle, a ranked scale) and points at matching / multiple choice /
true-false when they do not - "sort these" was landing on decks with no
order at all.

Version 0.2.4, SW -> freezmo-v57.
This commit is contained in:
Martin Dvořák 2026-10-13 07:27:39 +00:00
commit 9b0354fb11
9 changed files with 34 additions and 15 deletions

View file

@ -1398,6 +1398,21 @@ Things I chose while building, with the reasoning:
phase-1 suite (43 checks, including the real route mapping against a stub Ollama returning a
monthly-limit body, a two-device sync round-trip, and the generation guards below).
65. **Slide content never flex-shrinks, and the AI note appears once.** A long typed answer in a
short-answer activity shrank the textarea inside the slide's flex column (58px instead of its
~82px), clipping the user's text mid-line on a phone; every direct child of a study/review/guide
slide is now `shrink-0` and the slide scrolls instead. The same screenshot showed **two** AI
disclaimers — the activity's own after the grading box plus the feed's row. The activity-level
copy is gone: the feed/guide row (which also carries the report control) is the single one, and
the phase-2 suite asserts the note sits below the graded feedback rather than right after it.
64. **Ordering cards only where an order exists.** "Sort these" was landing on decks whose notes
have no sequence at all (a list of works, authors or terms), which the learner cannot reason
about. The deck prompt now allows `ordering` only for real sequences — chronological events, the
stages of a process, steps of a procedure, a lifecycle, a ranked scale — and points at matching,
multiple choice or true/false when there is none, with one or two ordering cards per deck as the
usual ceiling.
63. **Frutiger Aero is the third theme.** Settings → Theme offers Light, Dark and Frutiger Aero.
Aero is not a dark/light variant — it replaces the palette and the scene: the wallpaper is
*“The S Aesthetic That You Definitely Recognize Frutiger Aero”* via WallpaperSafari