Commit graph

304 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
be20e6dec0 refac: message edit 2025-04-03 13:43:45 -06:00
Timothy Jaeryang Baek
ba77a72925 refac: styling 2025-04-03 01:00:40 -07:00
Timothy Jaeryang Baek
e0ec2cdeb0 refac: $user 2025-03-31 20:32:12 -07:00
Timothy Jaeryang Baek
05dfb9cecd refac: floating buttons behaviour in shared chat 2025-03-31 00:57:16 -07:00
Timothy Jaeryang Baek
3be626bef3 feat: goto message 2025-03-29 17:48:57 -07:00
Timothy Jaeryang Baek
b6e56c0e5a refac 2025-03-15 18:00:18 +00:00
Timothy Jaeryang Baek
b5e74f4eae refac 2025-03-15 16:15:37 +00:00
orenzhang
b61ea393b4
refactor(lint): code lint 2025-03-07 20:03:53 +08: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
ef734833a5 fix 2025-02-26 21:22:51 -08:00
Timothy Jaeryang Baek
737b1723c7 refac 2025-02-23 14:12:41 -08:00
Timothy Jaeryang Baek
dab6396ebe fix: inline citations 2025-02-19 00:35:01 -08:00
Timothy Jaeryang Baek
f72e28a56c enh: message delete confirm dialog 2025-02-17 18:33:21 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
f0feb7bd35 refac 2025-02-15 16:10:35 -08:00
Timothy Jaeryang Baek
fa92abce31 refac 2025-02-13 22:37:01 -08:00
Timothy Jaeryang Baek
5626426c31 chore: format 2025-02-12 23:28:57 -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
Timothy Jaeryang Baek
d95e5e0ba5 enh: kokorojs call support 2025-02-09 23:54:24 -08:00
Timothy Jaeryang Baek
205ce635f6 feat: Kokoro-js TTS support 2025-02-09 23:42:27 -08:00
Timothy Jaeryang Baek
4e375c892a refac 2025-01-31 23:15:49 -08:00
dannyl1u
e9f05b6cd7 feat: delete message responses 2025-01-30 20:48:06 -08:00
Sharon Fox
dda945f4ad
feat: Localized dates and times 2025-01-26 02:47:23 -05:00
Timothy Jaeryang Baek
2b1c2942a8 refac: message timestamp 2025-01-22 01:02:52 -08:00
Timothy Jaeryang Baek
c9dc7299c5 enh: <think> tag support 2025-01-22 00:13:24 -08:00
Timothy Jaeryang Baek
a863f98c53 refac: toast error 2025-01-20 22:41:32 -08:00
Timothy Jaeryang Baek
92022dd81f enh: image permissions 2025-01-15 23:12:40 -08:00
Timothy Jaeryang Baek
ccbd98dfab refac: action buttons styling 2025-01-11 13:47:02 -08:00
Timothy Jaeryang Baek
66b8166397 refac: styling 2025-01-02 20:19:52 -08:00
Timothy Jaeryang Baek
d99e3d49e1 refac 2024-12-27 00:05:32 -08:00
Timothy Jaeryang Baek
e10897236d chore: format 2024-12-24 22:44:10 -07:00
Timothy Jaeryang Baek
6b25139d4f refac: web search 2024-12-24 17:52:57 -07:00
Timothy Jaeryang Baek
a2e0fbc943 refac: collection query status 2024-12-24 16:49:32 -07:00
Timothy Jaeryang Baek
6524cae407 refac 2024-12-20 15:19:54 -08:00
Timothy Jaeryang Baek
47318daef0 enh: add to conversation 2024-12-20 15:09:17 -08:00
Timothy Jaeryang Baek
37ce88e744 refac: floating buttons 2024-12-20 14:38:15 -08:00
Timothy Jaeryang Baek
f9a05dd1e1 refac 2024-12-12 23:31:08 -08:00
Timothy Jaeryang Baek
684a7f0455 refac 2024-11-30 00:36:01 -08:00
Timothy Jaeryang Baek
81386e9b04 refac: citations -> sources 2024-11-21 19:46:09 -08:00
Timothy Jaeryang Baek
386c976e9a enh: inline citations 2024-11-21 17:58:29 -08:00
Timothy Jaeryang Baek
e54879aeb1 enh: detailed 1-10 rating 2024-11-19 20:12:22 -08:00
Timothy Jaeryang Baek
09c6e4b92f enh: citations option in model editor 2024-11-19 01:12:47 -08:00
Timothy Jaeryang Baek
c24bc60d35
Merge pull request #6989 from Peter-De-Ath/fix-action-button
fix action buttons
2024-11-16 23:44:26 -08:00
Timothy Jaeryang Baek
cf2dcf1dc3 feat: user permissions 2024-11-16 21:31:57 -08:00
Peter De-Ath
6332e46e7b fix: update actionMessage to include message parameter 2024-11-16 22:17:55 +00:00
Timothy Jaeryang Baek
a0f1164af7 refac 2024-11-15 03:00:18 -08:00
Timothy Jaeryang Baek
655745ee0c refac: styling 2024-11-10 19:47:55 -08:00
Timothy Jaeryang Baek
c92091721b refac: sticky new chat selected models behaviour 2024-11-10 18:01:10 -08:00
Timothy J. Baek
02269a21a9 refac 2024-11-06 02:58:44 -08:00