Motivation
Currently SVG icons are split between two directories that differ only by pluralization:
assets/icon/ — 14 UI icons referenced directly by source code (e.g. icon/check.svg, icon/settings.svg).
assets/icons/ — 3 icons consumed indirectly by gpui-component's Notification at runtime (allowlisted in scripts/check/icon_allowlist.txt).
Having both icon/ and icons/ is confusing, inconsistent, and hurts discoverability. There is no technical reason to keep them separate.
Proposed Solution
- Move all 14 SVGs from
assets/icon/ into assets/icons/.
- Update the 18 references across 5 Rust source files (
src/gui/board/*.rs, src/gui/panel/*.rs) from icon/xxx.svg to icons/xxx.svg.
- Delete the now-empty
assets/icon/ directory.
- No behavioral change;
scripts/check/check_icons.py and scripts/precheck.sh must still pass.
Acceptance Criteria
Scope
gui
Motivation
Currently SVG icons are split between two directories that differ only by pluralization:
assets/icon/— 14 UI icons referenced directly by source code (e.g.icon/check.svg,icon/settings.svg).assets/icons/— 3 icons consumed indirectly bygpui-component'sNotificationat runtime (allowlisted inscripts/check/icon_allowlist.txt).Having both
icon/andicons/is confusing, inconsistent, and hurts discoverability. There is no technical reason to keep them separate.Proposed Solution
assets/icon/intoassets/icons/.src/gui/board/*.rs,src/gui/panel/*.rs) fromicon/xxx.svgtoicons/xxx.svg.assets/icon/directory.scripts/check/check_icons.pyandscripts/precheck.shmust still pass.Acceptance Criteria
assets/icon/no longer exists.assets/icons/.icon/path references remain in Rust sources.scripts/precheck.shpasses.Scope
gui