feat(admin): reorder applications with arrow icons instead of Up/Down text (BUNYIP-404) #405
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/BUNYIP-404-reorder-arrow-icons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The application-management reorder controls rendered the literal words "Up" / "Down". Replaced the visible text with
chevron-up/chevron-downarrow icons from the existingicon()helper. Added thechevron-upglyph (pairs with thechevron-downalready in the set).Unchanged
titleandaria-label("Move up" / "Move down") stay on both buttons - screen-reader label + tooltip preserved./admin/applications/{id}/swap-order; thesort_orderswap logic is untouched. Only the button content changed.styles.cssrebuild is involved.Acceptance criteria
titleandaria-labelremain present on both buttons.sort_orderhandling unchanged).Verification
just check-containergreen: fmt + clippy-D warnings+ all test binaries (122 web tests). Added a guard test that both chevron glyphs resolve to a real SVG path rather than the empty fallback (which would render a blank button).🤖 Generated with Claude Code
The application-management reorder controls showed the literal words "Up" / "Down". Replaced the visible text with the `chevron-up` / `chevron-down` icon glyphs from the existing `icon()` helper. Added the `chevron-up` glyph (it pairs with the `chevron-down` already in the set). Behaviour and accessibility are unchanged: the `title` and `aria-label` ("Move up" / "Move down") stay on both buttons, and each remains a submit button in its own form posting to `/admin/applications/{id}/swap-order` with the unchanged `sort_order` swap - only the button content changed. The arrows are inline SVG (no stylesheet dependency). Added a small guard test that both chevron glyphs resolve to a real SVG path rather than the empty-`inner` fallback (which would render a blank button). Verified: `just check-container` green (fmt + clippy -D warnings + all test binaries, 122 web tests). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5dcYueNHByRnWJDYoDX1W