Repository navigation
Description
Goal
One flat, angular SVG icon set (24 × 24 grid, square caps, mitred joins, currentColor) replaces every emoji and Unicode glyph that the UI uses as an icon (📁, 🖥️, 📄,
Context
- Design reference:
docs/design/angular/screens/Icons.png(54 icons in three groups and examples "in use"), source paths indocs/design/angular/icons/<kebab-name>.svg(for exampleicons/folder.svg,icons/folder-open.svg,icons/server.svg,icons/local.svg,icons/chev-r.svg). Grid 24 × 24, stroke 2 (1.5 at 16 px), square caps, miter joins, colourcurrentColor. - Emoji used as icons today (file:line under
apps/smart-ssh-community/frontend/src/components/):- group folder 📁:
Sidebar.tsx:247,Sidebar.tsx:434,ServerList.tsx:592,ServerList.tsx:758,MoveToDialog.tsx:77,SshConfigImportDialog.tsx:240,TreeDragGhost.tsx:11; directory 📁:fileBrowser/FileTable.tsx:159,fileBrowser/NarrowEntryList.tsx:59 - server 🖥️:
Sidebar.tsx:276,TreeDragGhost.tsx:11 - file 📄 / broken link
⚠️ :fileBrowser/FileTable.tsx:164,fileBrowser/NarrowEntryList.tsx:64; link marker ↪fileBrowser/LinkMarker.tsx:22 - document 📄:
chat/DocumentCard.tsx:45,chat/AssistantMessageView.tsx:105 - unusable server
⚠️ :Sidebar.tsx:300,ServerList.tsx:528 - key 🔑:
ServerList.tsx:498,chat/ActionCard.tsx:430; unlock 🔓:fileBrowser/ElevationControls.tsx:55,fileBrowser/FileToolbar.tsx:154 - web 🌐:
WebActivityCard.tsx:45; AI 🤖:ChatPanel.tsx:283; queued ⏳:chat/ChatItemView.tsx:89; cancelled ⏹:chat/ChatItemView.tsx:135; truncated ✂:chat/AssistantMessageView.tsx:117 - edit ✎ / delete 🗑:
ChatSessionPickerScreen.tsx:153,:167
- group folder 📁:
- Glyphs used as icons:
- close ✕:
AddAiProviderDialog.tsx:654,FileTypeSettings.tsx:147,NarrowHeaderNav.tsx:155,NoteShrinkSuggestionToast.tsx:139,:178,NoteSuggestionToast.tsx:171,:193,:209,SessionTabBar.tsx:155,SettingsScreen.tsx:177,:229,ToastHost.tsx:72,fileBrowser/FileToolbar.tsx:263,fileBrowser/TransferList.tsx:37,:70,:88,:164,ui/TagInput.tsx:66 - expand ▸/▾:
AddAiProviderDialog.tsx:618,NotesPanel.tsx:235,fileBrowser/ElevationNotice.tsx:63; dropdown ▾:chat/QuickRuleButton.tsx:140,fileBrowser/ElevationControls.tsx:70; sort ▲/▼:fileBrowser/FileTable.tsx:58 - back ←:
ManagementView.tsx:211,SettingsScreen.tsx:221; home ⌂ and parent ↑:fileBrowser/FileToolbar.tsx:83,:92,:200,:209; move up/down ↑/↓:FilterRulesView.tsx:237,:251 - status ✓/✗/⚠/ℹ/■:
ConnectProgressList.tsx:70,:72,ConnectingTabView.tsx:32,SessionTabParts.tsx:29,ConnectStepLog.tsx:67(vialib/connectStepLog.ts:131 statusMarker),ToastHost.tsx:51,activities/ActivityCenter.tsx:89,:267,chat/CoverageList.tsx:62,chat/ActionCard.tsx:427,chat/AssistantMessageView.tsx:107,chat/DocumentCard.tsx:64,chat/ChatItemView.tsx:108,fileBrowser/TransferList.tsx:25,:42,:75,fileBrowser/ColumnsMenu.tsx:26,fileBrowser/ElevationBanner.tsx:26,fileBrowser/ChmodDialog.tsx:95,fileBrowser/ChownDialog.tsx:61,FilterRulesView.tsx:267,:750,InjectionCheckStatus.tsx:38,SessionView.tsx:344,:508,SshConfigImportDialog.tsx:434,WebActivityCard.tsx:46 - check boxes ☑/☐/✓ in
QuestionCard.tsx:97-102 - more ⋯/⋮:
Sidebar.tsx:160,SessionView.tsx:416,fileBrowser/FileToolbar.tsx:124,fileBrowser/NarrowEntryList.tsx:84,fileBrowser/FileTable.tsx:220; plus "+":chat/Composer.tsx:118; remove ×:chat/Composer.tsx:79; info ⓘ:chat/RiskBadges.tsx:36; failure "!":activities/ActivityCenter.tsx:94,:263 - hand-drawn inline SVG icons: mic
VoiceInputControl.tsx:129-135, jump-to-latest arrowChatPanel.tsx:321, copychat/CodeBlock.tsx:86(the activity progress ringactivities/ActivityCenter.tsx:36and the header markAppHeader.tsx:103-116are handled by the activity and title bar issues)
- close ✕:
- Glyphs inside translated strings (25 locales,
src/locales/<lang>/common.json):serverForm.testResult.*(✓/✗/⚠, en:280-285),chat.usesStoredSudoPassword/writeMayUseStoredSudoPassword(🔑,:380-381),commandCancelledNotice,commandTruncatedNotice,liveOutputTruncatedNotice(⚠,:394-397),binaryFileHint,diffTooLargeHint(⚠,:421-422), provider test resultstestResultValid/AuthFailed/Unreachable,modelDiscoveryAuthFailed(✓/✗,:508-517). - Not icons, stay as text: terminal key labels (
TerminalKeyRow.tsx:23-26, handled by the terminal issue), the shortcut hintVoiceInputControl.tsx:61, arrows inside sentences (SshConfigExportDialog.tsx:88), and the plain-text copy of the connection log (lib/connectStepLog.ts:154). - Specs that name the emoji:
docs/specs/0033-grouped-server-overview.md§3 ("dort, wo das 📁-Symbol ihrer Gruppe beginnt"),docs/specs/0113-schmales-layout.md:54.
Requirements
- New
Iconcomponent insrc/components/ui/Icon.tsx, exported fromui/index.ts:name(typed union of the set),size(16 | 20 | 24, default 16),className; renders an inline<svg viewBox="0 0 24 24">withstroke="currentColor",fill="none", square caps, miter joins, stroke 2 (1.5 at 16 px). Decorative by default (aria-hidden="true"); withlabelit getsrole="img"andaria-label. - The set contains every icon of
docs/design/angular/icons/with the same kebab-case names. Icons needed here but missing in the set (home,arrow-down,globe,scissors,lock-open,sort-asc/descif chevrons do not fit) are drawn on the same grid and listed in the component's doc comment. - Replace every usage listed in Context. Mapping: group →
folder(collapsed) /folder-open(expanded); server →server; local pseudo-server →local; directory →folder, file →file(orfile-text/file-codewhere the type is known), symlink →symlink/folder-link, broken link →file-x; unusable server and warnings →warn; info →info; ✓ →check, ✗ and ✕ →x; ▸/▾ →chev-r/chev-d; key →key; elevation →lock/lock-open; AI →spark; queued →clock; cancelled/stopped →stop; edit →edit; delete →trash; move into group →move; import/export/upload/download → same-named icons; ⋯/⋮ →more; + →plus; mic →mic; jump-to-latest →chev-d; copy →copy. - Icon-only buttons (close, edit, delete, expand) keep or gain an accessible name (
aria-labelor visible text);aria-expandedon toggles is unchanged. - Glyphs at the start of translated strings move out of the strings into the component that renders them (icon + text); the strings lose the glyph in all 25 locales. Strings that are also used in plain-text output keep their meaning without the glyph.
ConnectStepLogshows icons in the UI; the copied plain-text log keeps its text markers.- Status colours stay as today (success/warning/danger tokens) and apply through
currentColor. - Update the two spec sentences that refer to the 📁 symbol to "the folder icon".
Acceptance Criteria
-
git grep -nP '[\x{1F300}-\x{1FAFF}]' -- apps/smart-ssh-community/frontend/srcfinds no emoji in non-test components and locales. - None of the glyph usages listed in Context remains in
src/components/(terminal key labels, shortcut hint and plain-text log excepted). - A test renders
Iconfor every name of the set and checksviewBox,currentColor,aria-hidden, androle="img"withlabel. - The server tree shows the folder icon for collapsed and the open-folder icon for expanded groups, the server icon for servers and the local icon for the local pseudo-server, in both themes.
- The file browser (table and narrow list) shows folder, file, symlink and broken-link icons; the broken-link entry still has its accessible description.
- Every close/edit/delete button that showed only a glyph has an accessible name; the axe scans in
e2e/tests/accessibility.spec.tspass. - The listed locale strings carry no glyph in any of the 25 locales; the components show the matching icon instead;
localeKeyParity.test.tspasses. - Specs 0033 and 0113 no longer mention the 📁 symbol.
- Unit tests and e2e specs that matched glyphs are updated (
ServerList.test.tsx,ServerList.narrow.test.tsx,FileBrowserPanel*.test.tsx,ConnectStepLog.test.tsx,TestResultBadge.test.tsx,SshConfigImportDialog.test.tsx,ChatPanel*.test.tsx,activities/ActivityCenter.test.tsx,AiProviderSettings.test.tsx,App.hostKeyPrompt.test.tsx, e2eserver-tree,narrow-manage,narrow-connect,server-management-review,smoke,languages,test-connection-log,e2e/support/notes.ts) and assert on accessible names or test ids, not on glyphs. - Relevant automated tests pass
Technical Notes
- This issue only swaps the icon element; it does not restyle the surrounding views (each view has its own redesign issue). Keep the edits to the listed lines so the per-view issues start from a clean base.
- Paths are copied from
docs/design/angular/icons/*.svginto a TS map (no runtime fetch, no new dependency, no sprite file); the colour guard forbids hex values, so usecurrentColoronly. ServerList.tsx:243aligns child rows with the parent's emoji; keep the alignment with the 16 px icon (narrow 20 px).- Confirmation dialog: expand each sub-command to stage an allow rule, save rules separately #1357 rewrites the confirmation card (
chat/QuickRuleButton.tsx,chat/CoverageList.tsx,chat/RiskBadges.tsx,ConfirmActionForminchat/ActionCard.tsx). If Confirmation dialog: expand each sub-command to stage an allow rule, save rules separately #1357 is still open, leave the glyphs in those parts to it (it usesIcononce this issue is merged) and name them in the PR description. public/icons.svgis an unused template sprite; it is not part of this set (the logo issue removes template leftovers).
Files: apps/smart-ssh-community/frontend/src/components/ui/Icon.tsx (new), apps/smart-ssh-community/frontend/src/components/ui/index.ts, apps/smart-ssh-community/frontend/src/components/ (the files listed in Context, only the icon lines), apps/smart-ssh-community/frontend/src/lib/connectStepLog.ts, apps/smart-ssh-community/frontend/src/locales/*/common.json, tests listed above, apps/smart-ssh-community/frontend/e2e/tests/ and e2e/support/notes.ts (glyph matchers only), docs/specs/0033-grouped-server-overview.md, docs/specs/0113-schmales-layout.md
Spec impact: update 0033 (§3 folder symbol), update 0113 (§5a server tree row sentence)
Open questions
- Web activity (🌐) has no icon in the set. Recommendation: add a
globeicon on the same grid rather than reusingsearch, since the card is about fetched web pages, not a search.
Related Work
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign foundation: Angular palette (dark and light), radius 0, focus and shadow rules, type utilities and shared primitives #1362 (foundation-tokens-primitives). Blocks: Redesign: new "Trace" logo as app icon (all platforms), favicon and Logo component #1364 (logo-app-icons), Redesign: terminal surface and touch key row in two fixed rows #1370 (terminal-key-row), Redesign: chat transcript (messages, executed-action cards, result and special cards) #1371 (chat-transcript), Redesign: chat panel header with model label and segmented context meter, composer box #1372 (chat-panel-composer), Redesign: file browser toolbar, path bar and table (desktop) in the Angular style #1373 (files-desktop), Redesign: filter rules view as rule tables with a test side panel #1375 (filter-rules), Redesign: server form Connection tab in two columns with segmented authentication and test badge #1380 (server-form-connection).
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
feat(frontend): add shared angular Icon component (#1363)
feat(frontend): replace emoji and glyph icons with the shared Icon set (
test(frontend): match accessible names instead of glyphs, add icon te…
smart-ssh-coder commentedon Nov 20, 2026
Implementation ready for review. PR #1398. Added the shared Icon component (54 design icons + 9 drawn ones), replaced all emoji/glyph icons in components, stripped glyphs from 400 locale strings (25 locales), updated specs 0033/0113 and tests. Full vitest, lint, tsc, affected e2e green locally; CI green on PR #1398.
smart-ssh-reviewer commentedon Nov 20, 2026
Review: 1. FileToolbar.tsx:92 and :209 still show the ↑ glyph on the parent-directory buttons (listed in the issue Context, AC 2). Use . 2. Sidebar.tsx:247: group rows in the Manage tree always show the closed
foldericon, although their children are always visible. The mapping and AC 4 ask forfolder-openon expanded groups; adjust Sidebar.test.tsx to match (somewhat uncertain; if you disagree, explain why in the PR). 3. Specs that now contradict the UI: 0020 §7 (link marker 'after the name' was removed; links are now shown by the symlink/folder-link/file-x icon in front of the name), 0053:71 (sort arrow ▲/▼ is now a chevron), 0026:165 (badge 'ⓘ' is now the info icon). Update each statement.fix(frontend): parent icons, open-folder in Manage tree, spec wording (…
smart-ssh-coder commentedon Nov 20, 2026
Implementation ready for review. PR #1398. Review fixes: parent icons in FileToolbar, folder-open for Manage tree groups, specs 0020/0053/0026 updated, test comment fixed. Targeted vitest, tsc, lint and CI green.
smart-ssh-reviewer commentedon Nov 20, 2026
Review passed – moving on to merge. All findings from the previous round are fixed in 06a4b26: the parent-directory buttons in FileToolbar now use the parent icon, the group rows in the Manage tree show folder-open (counter-proof run: the test fails without the fix), and the specs 0020 §7, 0053 and 0026 match the new icons. Targeted vitest (210 passed), tsc, lint and the e2e specs server-tree, accessibility and languages (92 passed) were run locally. CI is green. Follow-ups: specs still quoting glyphs (0069, 0027, 0011, 0054, 0010, 0079); icon assertions for TestResultBadge and AiProviderSettings tests.
Manual testing after the merge:
feat(frontend): shared angular SVG icon set replaces emoji and glyph …
smart-ssh-coordinator commentedon Nov 20, 2026
Merged and branch deleted: PR #1398 (squash) in develop
smart-ssh-planner commentedon Nov 20, 2026
Follow-ups filed: #1400 Specs: replace quoted glyphs with icon descriptions (0069, 0027, 0011, 0054, 0010, 0079); #1401 Tests: assert the status icon in TestResultBadge and AiProviderSettings tests.