Skip to content

Replace TanChat’s Lucide icons with Phosphor - #1538

Merged
manudeli merged 4 commits into
mainfrom
refactor/tanchat-phosphor-icons
Nov 22, 2026
Merged

manudeli merged 4 commits into
mainfrom
refactor/tanchat-phosphor-icons

Conversation

@manudeli

Copy link
Copy Markdown
Collaborator

Summary

  • Replace all 99 Lucide glyphs used across 60 TanChat files with TanStack Design System Phosphor icons.
  • Remove lucide-react from the manifest and lockfile, and drop the legacy .lucide stylesheet rule.
  • Update the reference chip tests to check the corresponding Phosphor glyphs.

Threads use ChatsCircleIcon, restore actions use TrayArrowUpIcon, and existing-file links use LinkSimpleIcon. The right-panel toggle mirrors SidebarSimpleIcon so the divider indicates the right side.

AS-IS / TO-BE

The UI screenshots render TanChat components with sample data in Chromium. The desktop browser toolbar uses a stubbed desktop bridge.

Workspace loading and navigation

AS-IS TO-BE
AS-IS Lucide — Workspace loading and navigation TO-BE Phosphor — Workspace loading and navigation

Conversation and workspace controls

AS-IS TO-BE
AS-IS Lucide — Conversation and workspace controls TO-BE Phosphor — Conversation and workspace controls

Desktop browser toolbar and find controls

AS-IS TO-BE
AS-IS Lucide — Desktop browser toolbar and find controls TO-BE Phosphor — Desktop browser toolbar and find controls
All 99 icon comparisons at 16 px and 24 px
AS-IS TO-BE
AS-IS Lucide — Activity through Eraser at 16 px and 24 px TO-BE Phosphor — Activity through Eraser at 16 px and 24 px
AS-IS Lucide — Eye through Pause at 16 px and 24 px TO-BE Phosphor — Eye through Pause at 16 px and 24 px
AS-IS Lucide — PenLine through X at 16 px and 24 px TO-BE Phosphor — PenLine through X at 16 px and 24 px
Full Lucide → Phosphor mapping
Lucide Phosphor
Activity PulseIcon
Archive ArchiveIcon
ArchiveRestore TrayArrowUpIcon
ArrowDown ArrowDownIcon
ArrowLeft ArrowLeftIcon
ArrowRight ArrowRightIcon
ArrowUp ArrowUpIcon
ArrowUpRight ArrowUpRightIcon
Bell BellIcon
BookOpen BookOpenIcon
Bookmark BookmarkSimpleIcon
Boxes CubeFocusIcon
Brain BrainIcon
Building2 BuildingsIcon
CalendarClock CalendarDotsIcon
Check CheckIcon
CheckSquare CheckSquareIcon
ChevronDown CaretDownIcon
ChevronLeft CaretLeftIcon
ChevronRight CaretRightIcon
CircleAlert WarningCircleIcon
CircleDot RecordIcon
CircleGauge GaugeIcon
CirclePlay PlayCircleIcon
Clock3 ClockIcon
Cloud CloudIcon
Code CodeIcon
Copy CopyIcon
CornerDownLeft ArrowElbowDownLeftIcon
CornerDownRight ArrowElbowDownRightIcon
Cpu CpuIcon
Download DownloadSimpleIcon
Eraser EraserIcon
Eye EyeIcon
File FileIcon
FileCode2 FileCodeIcon
FileSymlink LinkSimpleIcon
FolderInput FolderOpenIcon
Gauge GaugeIcon
GitCompareArrows GitDiffIcon
GitFork GitForkIcon
GripVertical DotsSixVerticalIcon
History ClockCounterClockwiseIcon
Home HouseIcon
Info InfoIcon
LayoutList ListDashesIcon
Link2 LinkIcon
List ListBulletsIcon
ListOrdered ListNumbersIcon
LoaderCircle SpinnerGapIcon
LogOut SignOutIcon
Mail EnvelopeSimpleIcon
Maximize2 ArrowsOutSimpleIcon
MessageCircle ChatCircleIcon
MessageSquare ChatCenteredIcon
MessagesSquare ChatsIcon
Minimize2 ArrowsInSimpleIcon
Minus MinusIcon
Monitor MonitorIcon
MoreHorizontal DotsThreeIcon
MousePointer CursorIcon
Package PackageIcon
PanelLeft SidebarSimpleIcon
PanelRight SidebarSimpleIcon (mirrored)
Paperclip PaperclipIcon
Pause PauseIcon
PenLine PenNibStraightIcon
Pencil PencilSimpleIcon
PencilLine PencilSimpleLineIcon
Pin PushPinIcon
PinOff PushPinSlashIcon
Play PlayIcon
Plug PlugIcon
Plus PlusIcon
Redo2 ArrowUUpRightIcon
RefreshCw ArrowsClockwiseIcon
RotateCcw ArrowCounterClockwiseIcon
RotateCw ArrowClockwiseIcon
Rows3 RowsIcon
ScanText TextAlignLeftIcon
Search MagnifyingGlassIcon
Server HardDrivesIcon
Settings GearIcon
Settings2 SlidersIcon
Shield ShieldIcon
ShieldCheck ShieldCheckIcon
SlidersHorizontal SlidersHorizontalIcon
Sparkles SparkleIcon
Spool ChatsCircleIcon
Square SquareIcon
SquareTerminal TerminalWindowIcon
Star StarIcon
Sun SunIcon
Trash2 TrashIcon
Undo2 ArrowUUpLeftIcon
Upload UploadSimpleIcon
Waypoints FlowArrowIcon
Wrench WrenchIcon
X XIcon

Verification

  • TanChat tests passed (2,275) with the two suites that require a local listening socket excluded. Desktop tests passed (20).
  • Chromium verified the model menu, attachment removal, and desktop find toolbar in both versions.
  • The full local suite hit sandbox restrictions on sockets and system Chrome. Running the site tests directly with the tsx loader yielded 728 passes and three environment failures.

@manudeli
manudeli requested a review from a team November 22, 2026 15:07
@changeset-bot

changeset-bot Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 091ca42

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c2c9bc0b-b63a-46d7-b031-d268ed30ac19
Commits

Reviewing files that changed from the base of the PR and between 03a41f0 and 091ca42.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 63

  • harness-tests/core/composer-references.test.ts
  • package.json
  • src/chat/components/App.tsx
  • src/chat/components/BotWorkspace.tsx
  • src/chat/components/CommandPalette.tsx
  • src/chat/components/ComposerAttachments.tsx
  • src/chat/components/ComposerReferences.tsx
  • src/chat/components/ConnectionSettings.tsx
  • src/chat/components/ContextIndicator.tsx
  • src/chat/components/ConversationDetails.tsx
  • src/chat/components/ConversationDetailsCard.tsx
  • src/chat/components/ConversationMinimap.tsx
  • src/chat/components/ConversationNavigator.tsx
  • src/chat/components/ConversationSession.tsx
  • src/chat/components/ConversationThreads.tsx
  • src/chat/components/ConversationTurn.tsx
  • src/chat/components/ConversationView.tsx
  • src/chat/components/ConversationWorkspace.tsx
  • src/chat/components/CopyBotDialog.tsx
  • src/chat/components/CopyButton.tsx
  • src/chat/components/DelegatedTaskHistory.tsx
  • src/chat/components/DelegatedTasks.tsx
  • src/chat/components/DesktopBrowserPanel.tsx
  • src/chat/components/DraftBot.tsx
  • src/chat/components/ExecutionSessionHistory.tsx
  • src/chat/components/ExecutionSessionPanel.tsx
  • src/chat/components/HomeDashboard.tsx
  • src/chat/components/KodyCommunity.tsx
  • src/chat/components/KodyMail.tsx
  • src/chat/components/KodyRunDetails.tsx
  • src/chat/components/MemoryPanel.tsx
  • src/chat/components/MessageAttachments.tsx
  • src/chat/components/MessageReferences.tsx
  • src/chat/components/Onboarding.tsx
  • src/chat/components/PackageIdentity.tsx
  • src/chat/components/PersonalAssistant.tsx
  • src/chat/components/PluginSettings.tsx
  • src/chat/components/QueuedMessages.tsx
  • src/chat/components/RailNavigation.tsx
  • src/chat/components/RetryComposer.tsx
  • src/chat/components/RetryDraftRecovery.tsx
  • src/chat/components/RetryPreparation.tsx
  • src/chat/components/RetryReturn.tsx
  • src/chat/components/RunModelPicker.tsx
  • src/chat/components/SavedFileDeliveries.tsx
  • src/chat/components/SavedFiles.tsx
  • src/chat/components/Schedules.tsx
  • src/chat/components/SelectField.tsx
  • src/chat/components/SketchPad.tsx
  • src/chat/components/SkillSettings.tsx
  • src/chat/components/TaskSources.tsx
  • src/chat/components/TaskUsageDetails.tsx
  • src/chat/components/ThreadLifecycle.tsx
  • src/chat/components/ThreadTitle.tsx
  • src/chat/components/ToolCallDetails.tsx
  • src/chat/components/VirtualMessages.tsx
  • src/chat/components/WorkflowHistory.tsx
  • src/chat/components/WorkspaceSkeleton.tsx
  • src/chat/components/home-resources.ts
  • src/chat/components/ui/ActionCard.tsx
  • src/chat/components/ui/Checkbox.tsx
  • src/chat/components/ui/Modal.tsx
  • src/styles/app.css
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 091ca42 Commit Preview URL

Branch Preview URL
Nov 22 2026, 04:10 PM

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Asset Main PR merge build Change
JavaScript 19611.48 KiB 19592.05 KiB 🟢 -19.43 KiB (-0.10%)
JavaScript (gzip) 6451.84 KiB 6447.85 KiB 🟢 -3.99 KiB (-0.06%)
CSS 795.12 KiB 795.07 KiB 🟢 -0.05 KiB (-0.01%)
CSS (gzip) 121.73 KiB 121.71 KiB 🟢 -0.02 KiB (-0.02%)
Page Main (gzip) PR merge build (gzip) Change
/ 594.12 KiB 594.25 KiB 🔴 +0.13 KiB (+0.02%)
/libraries 536.79 KiB 536.95 KiB 🔴 +0.16 KiB (+0.03%)
/start/latest 561.58 KiB 561.72 KiB 🔴 +0.14 KiB (+0.03%)
/router/latest 561.88 KiB 562.02 KiB 🔴 +0.14 KiB (+0.02%)
/query/latest 560.33 KiB 560.47 KiB 🔴 +0.15 KiB (+0.03%)
/table/latest 593.14 KiB 593.29 KiB 🔴 +0.15 KiB (+0.03%)
/charts/latest 642.44 KiB 642.60 KiB 🔴 +0.16 KiB (+0.02%)
/ai/latest 587.26 KiB 587.40 KiB 🔴 +0.14 KiB (+0.02%)
Docs article 547.84 KiB 547.99 KiB 🔴 +0.14 KiB (+0.03%)
Framework docs article 547.85 KiB 547.99 KiB 🔴 +0.14 KiB (+0.03%)
/blog 541.00 KiB 541.15 KiB 🔴 +0.15 KiB (+0.03%)
/maintainers 540.08 KiB 540.24 KiB 🔴 +0.16 KiB (+0.03%)
/showcase 538.04 KiB 538.20 KiB 🔴 +0.16 KiB (+0.03%)
/chat 536.85 KiB 536.69 KiB 🟢 -0.17 KiB (-0.03%)
/chat/c/:conversationId 536.99 KiB 537.40 KiB 🔴 +0.40 KiB (+0.07%)

Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page.

Compared with main at 03a41f0. Gzip sizes are summed per file. Build run

sukvvon
sukvvon previously approved these changes Nov 22, 2026
@manudeli
manudeli merged commit e99ceed into main Nov 22, 2026
11 checks passed
@manudeli
manudeli deleted the refactor/tanchat-phosphor-icons branch November 22, 2026 16:18
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.

2 participants