ruitanglin
|
1e2675beb3
|
feat(citations): add shared citation components and optimize code
## New Features
- Add `CitationLink` shared component for rendering citation hover cards
- Add `CitationsLoadingIndicator` component for showing loading state
- Add `removeAllCitations` utility to strip all citations from content
- Add backend support for removing citations when downloading markdown files
- Add i18n support for citation loading messages (en-US, zh-CN)
## Code Optimizations
- Remove duplicate `ExternalLinkBadge` component, reuse `CitationLink` instead
- Consolidate `remarkPlugins` config in `streamdownPlugins` to avoid duplication
- Remove unused imports: `Citation`, `buildCitationMap`, `extractDomainFromUrl`, etc.
- Remove unused `messages` parameter from `ToolCall` component
- Remove unused `isWriteFile` parameter from `ArtifactFilePreview` component
- Remove unused `useI18n` hook from `MessageContent` component
## Bug Fixes
- Fix `remarkGfm` plugin configuration that prevented table rendering
- Fix React Hooks rule violation: move `useMemo` to component top level
- Replace `||` with `??` for nullish coalescing in clipboard data
## Code Cleanup
- Remove debug console.log/info statements from:
- `threads/hooks.ts`
- `notification/hooks.ts`
- `memory-settings-page.tsx`
- Fix import order in `message-group.tsx`
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-02-04 11:56:10 +08:00 |
|
Henry Li
|
552d1c3a9a
|
feat: add memory settings page
|
2026-02-03 18:18:56 +08:00 |
|
Henry Li
|
9cc41139cb
|
feat: update button in skill settings to include icon
|
2026-02-02 14:31:44 +08:00 |
|
Henry Li
|
45fab66a7d
|
fix: add translations
|
2026-01-31 22:49:59 +08:00 |
|
Henry Li
|
67ec1162cb
|
feat: implement create skill
|
2026-01-31 22:31:25 +08:00 |
|
Henry Li
|
c62caf95c4
|
feat: add notification
|
2026-01-31 11:08:27 +08:00 |
|
Henry Li
|
87200d1ad1
|
feat: update translations
|
2026-01-25 11:54:49 +08:00 |
|
Henry Li
|
869af570c9
|
feat: add i18n
|
2026-01-24 22:19:37 +08:00 |
|
Henry Li
|
cd63f41b4c
|
feat: support static website
|
2026-01-24 18:01:27 +08:00 |
|
Henry Li
|
54710960cb
|
docs: remove '/'
|
2026-01-22 11:31:23 +08:00 |
|
Henry Li
|
37e2c3d3c9
|
feat: update skill settings
|
2026-01-22 00:38:20 +08:00 |
|
Henry Li
|
fbe4d27ddd
|
feat: use resolvedTheme instead of systemTheme
|
2026-01-21 10:48:29 +08:00 |
|
Henry Li
|
a2ca682b0c
|
feat: change color themes
|
2026-01-21 08:37:30 +08:00 |
|
Henry Li
|
10d253f461
|
feat: support settings
|
2026-01-20 23:43:21 +08:00 |
|
Henry Li
|
32a45eb043
|
feat: implement i18n
|
2026-01-20 14:06:47 +08:00 |
|