Commit Graph

6 Commits

Author SHA1 Message Date
alan 23b8ee8f7c feat(app): show template stage counts 2026-10-23 12:20:06 +01:00
alan 1e998a6679 Merge branch 'main' into flutter/templates-gallery 2026-10-21 22:04:02 +01:00
alan c56b5d45a4 feat(app): add native template gallery with detail and create 2026-10-21 22:03:55 +01:00
alan 37332a3d40 fix(app): keep template controls small and verify create confirmation 2026-10-21 21:22:02 +01:00
alan e69883b5b6 feat(app): add native create-from-template prompt
Validate the template source first, then submit the typed name create-only,
matching the browser's P5 flow and wording. Refusals keep the prompt and the
typed name; the accepted detail is reported once through the callback. The
labelled field, visible feedback and native Material/Cupertino controls are
covered by focused widget tests and a loopback browser probe.
2026-10-21 20:57:30 +01:00
alan cd9ec62d28 feat(app): add template catalogue and create-only submit repository
Add the nonvisual templates data/domain slice: TemplateRepository over the
shared ApiGateway for list_templates, validate and create-only submit, and
TemplateEntry preserving every server field in a deeply read-only raw map.

Re-include test/**/data/ in app/.gitignore so the mirroring tests are not
silently dropped from a fresh checkout.

Tests cover exact request shapes, source preservation, blank-name refusal,
malformed replies, server refusals and immutability.
2026-10-21 15:31:10 +01:00