SurfSense/surfsense_web/components/tool-ui
Tim Ren 13f0d5c952 refactor(web): extract citation TYPE_ICONS into a shared module
`citation.tsx` and `citation-list.tsx` each defined the same
`TYPE_ICONS: Record<CitationType, LucideIcon>` map with byte-identical
contents. Extract it into `./type-icons.ts` and import from both call
sites so the mapping has a single source of truth.

While here, drop the Lucide icon imports (`Code2`, `Database`, `File`,
`FileText`, `Newspaper`) and the now-unused `LucideIcon` / `CitationType`
type imports from the two call sites, keeping only the icons still used
directly (`Globe` for the fallback, `ExternalLink` for the hover
affordance).

Fixes #1190.
2026-04-15 20:07:47 +08:00
..
citation refactor(web): extract citation TYPE_ICONS into a shared module 2026-04-15 20:07:47 +08:00
confluence feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
dropbox feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
gmail feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
google-calendar feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
google-drive feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
image perf: optimize next/image sizes with dynamic maxWidth (#1089) 2026-04-14 17:58:45 +09:30
jira feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
linear feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
notion feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
onedrive feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
plan chore: ran linting 2025-12-29 01:09:21 +05:30
shared chore: linting 2026-03-31 21:42:03 -07:00
video-presentation fix: replace transition-all with specific transition properties for better performance 2026-04-08 05:36:19 +05:30
audio.tsx fix: replace transition-all with specific transition properties for better performance 2026-04-08 05:36:19 +05:30
generate-image.tsx chore: ran linting 2026-03-25 00:27:24 +05:30
generate-podcast.tsx chore: ran linting 2026-03-25 00:27:24 +05:30
generate-report.tsx chore: linting 2026-04-08 16:42:25 -07:00
generic-hitl-approval.tsx feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
index.ts refactor: rename and update memory tool components to reflect new update_memory functionality 2026-04-09 00:02:54 +05:30
sandbox-execute.tsx chore: linting 2026-03-27 03:17:05 -07:00
user-memory.tsx chore: ran linting 2026-04-09 18:10:34 +05:30
write-todos.tsx refactor: update dependencies and streamline assistant-ui package usages 2026-03-24 02:22:51 +05:30