Skip to content

refactor(gui): consolidate assets/icon into assets/icons#63

Merged
StudentWeis merged 1 commit into
mainfrom
refactor/62-move-icons-dir
Apr 27, 2026
Merged

refactor(gui): consolidate assets/icon into assets/icons#63
StudentWeis merged 1 commit into
mainfrom
refactor/62-move-icons-dir

Conversation

@StudentWeis
Copy link
Copy Markdown
Owner

Summary

Consolidate the two sibling icon directories into a single assets/icons/ so all SVGs share one home and one path prefix. Pure path cleanup, no behavioral change.

Linked Issue

Closes #62

Changes

  • Move the 14 SVGs previously under assets/icon/ into assets/icons/ (now 17 SVGs in total, including the 3 existing gpui-component notification icons).
  • Update the 18 .path("icon/…") references in src/gui/board/{header,search,records_list}.rs and src/gui/panel/{about,settings}.rs to use the icons/ prefix.
  • Delete the now-empty assets/icon/ directory.

Testing

  • scripts/precheck.sh passes locally (cargo fmt, cargo clippy, cargo test — 411 passed, check_icons.py: 18 in assets / 18 referenced / 3 allowlisted, check_i18n.py, check_themes.py all OK)
  • No new tests required — this is a rename-only refactor already covered by the existing icon reference check in scripts/check/check_icons.py.

Move all 14 SVGs from assets/icon/ into assets/icons/ and update the
18 references across 5 source files under src/gui/ so every icon path
uses the same icons/ prefix. Delete the now-empty assets/icon/
directory.

No behavioral change; scripts/precheck.sh passes.

Refs #62
@StudentWeis StudentWeis merged commit aca460d into main Apr 27, 2026
8 checks passed
@StudentWeis StudentWeis deleted the refactor/62-move-icons-dir branch April 27, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: consolidate assets/icon into assets/icons

1 participant