feat: two-line cards, responsive grid, real uniform font size

This commit is contained in:
Falkan
2026-03-17 20:13:57 -04:00
parent b2adcf05ca
commit af83263520
5 changed files with 223 additions and 27 deletions

View File

@@ -15,13 +15,6 @@ In dark mode the "Clear" button text lightens on hover, giving visual feedback.
mode and Dan mode it currently does nothing visible. Should have a matching subtle
highlight (e.g. text darkens, underline appears, or border darkens).
### Admin: user-provided IDs for units and groups
When creating a unit or group, allow the user to optionally supply their own ID.
- If the ID field is left empty, auto-generate it by kebab-casing the label (live
preview as the user types the label).
- If the user types into the ID field, stop auto-generating and use what they typed.
- Validate: IDs must be unique and slug-safe.
### Admin: allow renaming unit and group IDs
The edit forms do not currently expose the `id` field for existing units or groups.
@@ -46,11 +39,6 @@ Per-group setting controlling whether units are displayed on the front end in:
Data shape change: add optional `sortOrder?: 'defined' | 'alpha'` to the `Group` type
(default: `'defined'`).
### Admin: drag-to-reorder units within a group
Allow units to be reordered within their group via drag-and-drop in the left panel.
Order is persisted to `units.json`. Only meaningful when the group's `sortOrder` is
`'defined'`.
### Admin: unsaved-form guard on "Add Unit" / "Add Group"
If the user is in the middle of filling out a create/edit form and clicks "+ Add Unit"
or "+ Add Group", the current form should be auto-saved before opening the new one.