Icon-only media buttons with tooltip bubbles, wiki mode as a switch (#130) #132

Merged
miko merged 2 commits from feature/130-media-icon-buttons into development 2026-11-05 21:36:04 +01:00
Owner

Closes #130

  • The cover image buttons (also used by the category image editor) and the per-attachment buttons show only their icon; their text appears in a small speech-bubble tooltip on hover and keyboard focus, not via the title attribute. "Add files" keeps its text.
  • Wiki mode is a toggle switch (role="switch") that still posts wikiMode=on like the old checkbox.
  • New shared components IconButton/IconLink and Switch in src/forms/components, with unit tests; e2e helpers find wiki mode as a switch.

Tests: 575 unit tests pass; the affected e2e specs (attachments, imageIntake, duplicateGuide, access, guideEditor, guidePackages) pass.

🤖 Generated with Claude Code

Closes #130 - The cover image buttons (also used by the category image editor) and the per-attachment buttons show only their icon; their text appears in a small speech-bubble tooltip on hover and keyboard focus, not via the `title` attribute. "Add files" keeps its text. - Wiki mode is a toggle switch (`role="switch"`) that still posts `wikiMode=on` like the old checkbox. - New shared components `IconButton`/`IconLink` and `Switch` in `src/forms/components`, with unit tests; e2e helpers find wiki mode as a switch. Tests: 575 unit tests pass; the affected e2e specs (attachments, imageIntake, duplicateGuide, access, guideEditor, guidePackages) pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The cover image and attachment buttons show only their icon, their text in
a small speech bubble on hover and keyboard focus; "Add files" keeps its
text. Wiki mode is a toggle switch that still posts like a checkbox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miko merged commit 7a07039413 into development 2026-11-05 21:36:04 +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!132
No description provided.