Commit graph

34 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
c5636ff68c refac 2025-04-11 15:27:25 -07:00
Timothy Jaeryang Baek
79e4f8a7bc refac 2025-03-26 20:47:52 -07:00
Timothy Jaeryang Baek
0e7164b4f5
Merge pull request #11520 from icsy7867/main
Added decodeURIcomponent function to several locations.
2025-03-11 10:33:41 +00:00
root
3fb477618e Added decodeURIcomponent function to several locations. 2025-03-10 17:40:40 -04:00
Perry Li
9cc9df3018 fix(chat): resolve duplicate collapsible IDs causing citation modal failures
Fix an issue where clicking inline citations in subsequent chat messages failed to open the citation modal when multiple collapsible sections are present.

The root cause was duplicate "collapsible-sources" IDs assigned to all Collapsible components. This led document.getElementById() to always return the first instance, preventing subsequent messages from opening their CitationModal.

Changes:
- Modify Collapsible ID generation in Citations.svelte to use unique IDs with "collapsible-${message.id}" pattern
- Update ResponseMessage.svelte's onSourceClick handler to reference the dynamic collapsible IDs
- Ensure proper citation modal binding for each chat message's sources

Affected components:
- Collapsible (expandable content sections)
- CitationsModal (citation detail popup)

This ensures each chat message's sources are independently collapsible and maintains proper citation modal binding throughout message history.
2025-03-06 10:10:53 +00:00
Timothy Jaeryang Baek
57010901e6 enh: bypass embedding and retrieval 2025-02-26 15:42:19 -08:00
Timothy Jaeryang Baek
dab6396ebe fix: inline citations 2025-02-19 00:35:01 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
7ff719938a refac: citations 2025-02-12 23:55:14 -08:00
Feynman Liang
113addef46
Merge branch 'dev' into fix-9864 2025-02-12 13:47:54 -08:00
Feynman Liang
08bc7d4cfe Uncollapse so all source buttons visible 2025-02-12 13:46:42 -08:00
Feynman Liang
3f24062416 Adds source-* ids when citations > 3 2025-02-12 12:30:23 -08:00
Timothy Jaeryang Baek
14398ab628 refac: styling 2025-02-06 01:28:33 -08:00
Timothy Jaeryang Baek
3816e3c2ef refac: styling 2024-11-21 20:20:46 -08:00
Timothy Jaeryang Baek
81386e9b04 refac: citations -> sources 2024-11-21 19:46:09 -08:00
Timothy Jaeryang Baek
7062e637e8 refac: inline citations 2024-11-21 18:26:38 -08:00
Timothy Jaeryang Baek
714ed248fb refac: styling 2024-11-21 18:05:45 -08:00
Timothy Jaeryang Baek
7b675a1488 refac: styling 2024-11-21 18:02:33 -08:00
Timothy Jaeryang Baek
386c976e9a enh: inline citations 2024-11-21 17:58:29 -08:00
Timothy Jaeryang Baek
38a550092e refac: styling 2024-11-11 00:50:43 -08:00
Timothy Jaeryang Baek
655745ee0c refac: styling 2024-11-10 19:47:55 -08:00
Timothy Jaeryang Baek
3435de5af6 refac: citations 2024-11-10 19:24:53 -08:00
Timothy J. Baek
a0692a434d refac 2024-10-22 03:40:03 -07:00
Timothy J. Baek
a89d29db9c fix 2024-10-22 03:38:28 -07:00
Michael Möbius
41bd16acbe
don't overwrite name, keep url separate 2024-10-22 06:32:08 +02:00
Jannik Streidl
79c834d0e4 fix: do not show relevances it you have mixed collections (cosine + l2) 2024-10-14 11:18:13 +02:00
Jannik Streidl
33c3dbd9fa fix 2024-10-14 10:37:54 +02:00
Jannik Streidl
0bebc898c8 finalizing fixes & additions 2024-10-12 15:18:56 +02:00
Jannik Streidl
741230bcdb fix 2024-10-10 17:20:50 +02:00
Jannik Streidl
73c291193b fix: do not toggle collapsible if you click on a citation 2024-10-07 21:22:36 +02:00
Jannik Streidl
86caca495b enh: show source documents vector distance + cleaner source view 2024-10-07 21:04:06 +02:00
Timothy J. Baek
70d16c3904 refac: styling 2024-09-21 03:55:17 +02:00
Timothy J. Baek
eed2d735a1 refac 2024-09-12 02:06:02 -04:00
Timothy J. Baek
7c81509804 feat: merge responses 2024-08-18 20:59:59 +02:00