Choose visibility and status from icon button groups (#75) #78

Merged
miko merged 1 commit from feature/75-button-groups into development 2026-11-04 13:32:30 +01:00
Owner

Closes #75

The page, category and guide properties forms pick visibility from a row of icon buttons (Public / Internal), and the page form its status (Draft / Published), instead of from a dropdown. Each button shows a short description under its label.

  • New src/forms/components/ChoiceGroup.tsx: native radios in a fieldset, so the forms post the same visibility / status values as before and the server actions are unchanged; arrow keys move between choices
  • The checked choice has a border, sunken background and accent icon; on narrow screens the choices stack
  • German translations for the new descriptions
  • e2e specs pick the radios through a helper in e2e/forms.ts

Tests: unit 373 passed, e2e 39 passed, typecheck and lint clean.

🤖 Generated with Claude Code

Closes #75 The page, category and guide properties forms pick visibility from a row of icon buttons (Public / Internal), and the page form its status (Draft / Published), instead of from a dropdown. Each button shows a short description under its label. - New `src/forms/components/ChoiceGroup.tsx`: native radios in a fieldset, so the forms post the same `visibility` / `status` values as before and the server actions are unchanged; arrow keys move between choices - The checked choice has a border, sunken background and accent icon; on narrow screens the choices stack - German translations for the new descriptions - e2e specs pick the radios through a helper in `e2e/forms.ts` Tests: unit 373 passed, e2e 39 passed, typecheck and lint clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The page, category and guide properties forms pick visibility, and the
page form its status, from a row of icon buttons instead of a dropdown.
Native radios underneath post the same values, so the actions are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miko merged commit 69d22cbed2 into development 2026-11-04 13:32:30 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MassiveDynamic/kataba!78
No description provided.