Repository navigation
refactor(ui): migrate app chrome icons to the shared icon module (tranche 1) - #276
truongthinh1412 wants to merge 1 commit into
Conversation
0407725 to
ca0a48b
Compare
|
Rebased onto current What the rebase involved, in case it's useful context:
|
|
🔧 Needs changes – labelled Thanks for the PR, and for the careful migration! I checked the call sites mechanically. The stroke width, caps, joins and viewBox of each replaced stroke icon match its new component, and apart from one glyph noted below, every replacement draws the path it replaced (the folder and close variants you folded together on purpose excepted). The main issue is that Since this was opened
Should fix before merge
Nits
Automated review pass (Claude Code). Anything unclear or wrong – say so and I'll take a look. |
|
Thanks @truongthinh1412! Since main has moved a lot (several overlapping icon names and |
|
I'm on it, thanks @johannesjo for the review ! First time contributing to any opensource project, glad i choose this one. |
|
Thanks @johannesjo for the thorough review — and for catching the
Tranches 2 (documents + arena), 3 (task components + remote) and 4 (the newer call sites you listed — |
johannesjo
left a comment
There was a problem hiding this comment.
🔧 Needs changes – the rework hasn't been pushed yet; still 3 issues at ca0a48b1
@truongthinh1412, thanks for the update. Your latest comment describes a rebuilt "tranche 1 of 4" (13 files on current main), but GitHub still has the old branch. refactor/208-shared-icon-module on your fork is still at ca0a48b1 (committed 2026-09-16, based on 78a65dbc). That is the same commit the previous review covered, so the PR is still the original 40-file diff. It is 287 commits behind main and conflicts in 11+ files, including MergeDialog.tsx, which main has deleted. You probably still need to push your local branch (git push --force-with-lease).
At this head, the earlier findings still hold:
src/components/WindowTitleBar.tsx:93– the inlinecolor: '#ffffff'is still there. Once merged withmain, it overrides the.window-title-iconvar(--accent)colouring, so the logo stays white under every look.src/components/icons.tsx:307/src/documents/DocumentWorkspacePanel.tsx:931– the branch chip still usesGitBranchAltIcon. Its path ends in0 0 0 0-1.5Zrather thanGitGraphIcon's0 0 0-1.5 0Z, so the top-left dot doesn't close into a circle.src/components/NewTaskPanel.tsx:17-18– the same module is still imported twice, through'../components/icons'and'./icons'.- The overlapping icon names with
main(ChevronLeftIcon,ChevronDownIcon,ChevronRightIcon,CommentIcon,TerminalIcon,ExpandIcon,TrashIcon,ShieldIcon) aren't resolved on this branch either.
Once the tranche-1 branch is pushed, I'll review that diff. If you'd rather open it as a new PR, please link it here and close this one.
Generated by Claude Code
ca0a48b to
a5cdefe
Compare
a5cdefe to
6aa3c89
Compare
|
All four tranches are up, rebased onto the latest
The latest rebase touched only |
|
@johannesjo — the rework is pushed now, sorry for the timing confusion: my earlier comment went up while the push was still failing on a fork permission (
All four are mergeable and pass |
6aa3c89 to
1cf75ba
Compare
Description
Tranche 1 of the shared icon-module migration (#208), reworked per review: rebuilt on current
main, split into a series of focused PRs (this one + #305, #306, #307), with the review's naming and theming items applied:maingrew same-named icons with different glyphs, main's glyph keeps the name and the differing one is renamed (Alt/Marksuffix:ChevronDownAltIcon,TerminalAltIcon,GitHubMarkIcon, …) — no duplicate exports,knipgreen.color: '#ffffff'dropped sostyles.cssthemes it per look again; caps/joins kept.PullRequestIconitem is moot (that button no longer exists onmain); theGitBranchAltIconpath slip is gone (the branch chip uses the byte-identicalGitGraphIcon, in refactor(ui): migrate documents and arena icons to the shared module (tranche 2) #305)../iconswithinsrc/components, App.tsx import moved after the@fontsourceimports).This tranche: app chrome — 13 files, 31 inline
<svg>blocks replaced byte-faithfully; module grows from 48 to 74 exports, all covered byicons.client.test.tsx.Issues Resolved
Contributes to #208 (resolved by the full tranche series; no other issues)
Check List