Files
pdfcraft/assets
codeiouandClaude Opus 5.5 f281124f5f fix(ui): icon buttons draw their icons again
After the craft framework port (#8160) the UI looks icons up in craft-libs'
catalogue, which names them by meaning (chevron_down, maximize_2, undo) and
matches names exactly. The port renamed the engine's icon names, but the UI
crate still asked for 19 names that neither the catalogue nor the app's own
set has, so their buttons, menu rows and notices drew no icon: Combine
files' Move up/down, Undo/Redo and Expand all, Organize pages' Rotate and
Move earlier/later buttons, All tools' Expand all tools, and others.

- Use the catalogue's names, as the engine does: chevron_*, folder_open,
  layout_grid, lock_open, maximize_2, rotate_ccw, rotate_cw, undo, redo,
  new_file, open, note and ellipse_dashed.
- Add Lucide's chevrons-down, chevrons-up and pin-off to the app's own set,
  unchanged from lucide-static 1.49.0 like its other Lucide icons: the
  catalogue has no icon for them.
- Where a table or helper carried one of these names as a string (the
  picture menu, Organize's page options, the image buttons, the Fields
  panel's field kinds, the Accessibility Checker's statuses and the
  notice bars), it carries an IconId, so the test sees the name.
- every_icon_the_app_names_resolves also checks every command icon in the
  app's command catalog and every IconId::new literal in the UI source;
  without the renames it reports all 19 names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:06:58 +10:00
..