open-notebook/frontend
Luis Novo 933de75b73
feat: implement compact chat references with numbered citations (#220)
Transform verbose inline references to compact footnote-style format:
- Replace [source:abc123] with numbered citations [1], [2], etc.
- Add "References:" section at bottom of messages
- Deduplicate references (same ID gets same number)
- Remove icons from citations for cleaner appearance
- Maintain click-to-open functionality for all reference types

Changes:
- Add convertReferencesToCompactMarkdown() function
- Add createCompactReferenceLinkComponent() function
- Update ChatPanel to use new compact reference functions
- Add ReferenceData interface for type safety

Improves readability by reducing visual clutter while preserving
all existing functionality. References restart numbering at 1 for
each message.
2025-10-25 10:26:21 -03:00
..
public Version 1 (#160) 2025-10-18 12:46:22 -03:00
src feat: implement compact chat references with numbered citations (#220) 2025-10-25 10:26:21 -03:00
.gitignore chore: export docs for custom gpt 2025-10-18 20:26:11 -03:00
components.json Version 1 (#160) 2025-10-18 12:46:22 -03:00
eslint.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
next.config.ts feat: simplify reverse proxy configuration with Next.js rewrites (#213) 2025-10-24 11:24:14 -03:00
package-lock.json feat: add ability to link existing sources to notebooks (OSS-311) (#177) 2025-10-19 17:52:14 -03:00
package.json feat: add ability to link existing sources to notebooks (OSS-311) (#177) 2025-10-19 17:52:14 -03:00
postcss.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
tailwind.config.ts Version 1 (#160) 2025-10-18 12:46:22 -03:00
tsconfig.json Version 1 (#160) 2025-10-18 12:46:22 -03:00