Commit Graph

724 Commits

Author SHA1 Message Date
Shaun Gallagher
8bc797fe6a feat: Add renderer for Markdown alerts 2025-03-14 15:22:27 -04: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
Timothy Jaeryang Baek
324cd94c53 refac: user message delete 2025-03-08 17:03:08 +00:00
orenzhang
b61ea393b4
refactor(lint): code lint 2025-03-07 20:03:53 +08:00
orenzhang
dc04123330
Merge branch 'dev' into i18n_translation 2025-03-07 20:03:33 +08:00
orenzhang
72ea6dd9f1
refactor(lint): code lint 2025-03-07 19:59:09 +08:00
orenzhang
92fb1109b6
i18n(common): add i18n translation 2025-03-06 20:16:34 +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
5e78a5c510 enh: enable_code_execution toggle
Co-Authored-By: recrudesce <6450799+recrudesce@users.noreply.github.com>
2025-03-05 19:06:28 -08:00
Timothy Jaeryang Baek
15cbccc8f5 enh: code block collapse 2025-03-03 21:10:15 -08:00
Timothy Jaeryang Baek
d844fc7edb refac: inline citation handling 2025-03-03 19:48:00 -08:00
Timothy Jaeryang Baek
331caad5b8 fix 2025-02-28 07:36:56 -08:00
Timothy Jaeryang Baek
ef734833a5 fix 2025-02-26 21:22:51 -08:00
Timothy Jaeryang Baek
57010901e6 enh: bypass embedding and retrieval 2025-02-26 15:42:19 -08:00
Timothy Jaeryang Baek
802f8809dd fix: codeblock 2025-02-23 21:39:34 -08:00
Timothy Jaeryang Baek
737b1723c7 refac 2025-02-23 14:12:41 -08:00
Timothy Jaeryang Baek
8f3fcdcf5c refac 2025-02-22 02:00:06 -08:00
Timothy Jaeryang Baek
794919e91d refac 2025-02-22 01:22:17 -08:00
Timothy Jaeryang Baek
667d26ca12 refac 2025-02-22 01:16:58 -08:00
Timothy Jaeryang Baek
9bada6421e refac: code block image styling 2025-02-21 16:39:56 -08:00
Timothy Jaeryang Baek
eeb00a5ca2 chore: format 2025-02-20 01:01:29 -08:00
Timothy Jaeryang Baek
fe5c4b95d5 enh: configurable jupyter execution timeout 2025-02-19 17:05:37 -08:00
Timothy Jaeryang Baek
dab6396ebe fix: inline citations 2025-02-19 00:35:01 -08:00
Timothy Jaeryang Baek
a6a7c548d5 refac: code block styling 2025-02-18 20:24:04 -08:00
Timothy Jaeryang Baek
003968f06a enh: jupyter matplotlib support 2025-02-18 20:15:16 -08:00
Timothy Jaeryang Baek
84af508525
Merge branch 'dev' into feat/hide-citations-in-message 2025-02-18 19:37:03 -08:00
Timothy Jaeryang Baek
a33214ab6b
Merge pull request #10304 from ttv20/dev
i18n: Improve RTL text handling in chat and sidebar with auto-direction #2
2025-02-18 19:31:12 -08:00
Alex Gleason
5639ba423b
Fix "Cannot read properties of undefined (reading 'startsWith')" 2025-02-18 18:47:56 -06:00
Elkana Bardugo
0b1e30988a
Update MarkdownTokens.svelte
More dir="auto" to auto direction on RTL
2025-02-18 21:08:25 +02:00
hurxxxx
9d06e3b2cd feat: chat responses using the citations-disabled model to exclude source citations 2025-02-18 21:56:16 +09:00
Timothy Jaeryang Baek
a79a6a5c34 chore: format 2025-02-17 18:51:40 -08:00
Timothy Jaeryang Baek
f72e28a56c enh: message delete confirm dialog 2025-02-17 18:33:21 -08:00
Timothy Jaeryang Baek
2f75eef499 enh: code execution settings 2025-02-17 16:25:50 -08:00
Elkana Bardugo
8d149348a0
Update MarkdownTokens.svelte: Revert text-align for download button in rtl
prevent button overriding because the download button is in absolute position and it doesn't have start/end properties
2025-02-17 22:43:34 +02:00
Elkana Bardugo
93590d224b
Merge branch 'dev' into patch-1 2025-02-17 22:35:36 +02:00
Elkana Bardugo
b73b8343d5
fix table header align on rtl 2025-02-17 21:40:11 +02:00
Elkana Bardugo
ab94017e3a
Auto text direction (fix for RTL) in most cases
to test it use the prompt:
"write please a sample headers (level 1,2,3), text (bold/italic), list, numbered list, quetes, table, code
write each example in hebrew
dont output markdown in code block"

need to be fixed:
* Redundant border properties in quotes:
Removed border-left as border-inline-start properly handles both LTR/RTL and by this prevents double borders in RTL layouts

* table header have `text-align: left` instead of start
e.g.
text-align and direction is not the save thing
the text direction is ok. the `dir="auto"` is fixing the direction שמג the text-align by default is set by the direction, if it set manually is should be start/end to respect the direction attribute
2025-02-17 21:27:05 +02:00
Timothy Jaeryang Baek
fd8998a38f refac 2025-02-15 19:50:40 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
bbda717b69 refac: citations 2025-02-15 17:24:29 -08:00
Timothy Jaeryang Baek
f0feb7bd35 refac 2025-02-15 16:10:35 -08:00
Thomas Rehn
9072959858 fix: remove whitespace to improve typesetting for inline Markdown 2025-02-14 13:16:03 +01:00
Timothy Jaeryang Baek
99b50b39fe refac 2025-02-13 22:57:12 -08:00
Timothy Jaeryang Baek
fa92abce31 refac 2025-02-13 22:37:01 -08:00
Timothy Jaeryang Baek
b7aeb432ed refac 2025-02-13 22:11:56 -08:00
Timothy Jaeryang Baek
7ff719938a refac: citations 2025-02-12 23:55:14 -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
Feynman Liang
3f24062416 Adds source-* ids when citations > 3 2025-02-12 12:30:23 -08:00
Timothy Jaeryang Baek
24cbc469cc enh: allow image only message 2025-02-11 21:52:31 -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
a22d1d5410 refac: code block 2025-02-09 22:43:32 -08:00
Timothy Jaeryang Baek
14398ab628 refac: styling 2025-02-06 01:28:33 -08:00
Timothy Jaeryang Baek
9624493b55 refac 2025-02-04 23:44:51 -08:00
Timothy Jaeryang Baek
a4ea2e0996 fix: multi response message 2025-02-04 20:33:02 -08:00
Timothy Jaeryang Baek
533b62f062 refac: deprecate non web worker pyodide 2025-02-04 18:41:53 -08:00
Timothy Jaeryang Baek
6ee924924e refac: code interpreter 2025-02-04 18:33:22 -08:00
Timothy Jaeryang Baek
49e5d01213 refac: pyodide 2025-02-03 22:07:59 -08:00
Timothy Jaeryang Baek
d87a7b2f8b refac: styling 2025-02-03 14:16:22 -08:00
Timothy Jaeryang Baek
70b8199030 chore: format 2025-02-03 13:37:29 -08:00
Timothy Jaeryang Baek
58d2fd9ac1 refac: styling 2025-02-03 00:03:41 -08:00
Timothy Jaeryang Baek
78853a67e4 refac 2025-02-02 23:35:58 -08:00
Timothy Jaeryang Baek
0d33725d21 enh: pyodide 2025-02-02 21:18:52 -08:00
Timothy Jaeryang Baek
74172461c7 enh: pyodide python result handling 2025-02-02 16:56:21 -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
9feed97f22 refac: think tag 2025-01-22 09:24:40 -08: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
e6db4d017b fix 2025-01-08 00:59:03 -08:00
Timothy Jaeryang Baek
656a887db6 refac 2025-01-08 00:10:38 -08:00
Timothy Jaeryang Baek
0129f463b4 fix: &lt; rendering issue 2025-01-07 23:59:58 -08:00
Timothy Jaeryang Baek
66b8166397 refac: styling 2025-01-02 20:19:52 -08:00
Timothy Jaeryang Baek
de4e086bd5 refac 2024-12-31 02:48:43 -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
15fa7b44ea refac: styling 2024-12-23 01:03:14 -07:00
Timothy Jaeryang Baek
c611734088 refac: styling 2024-12-21 09:41:49 -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
2875326015 fix: table export 2024-12-18 18:11:01 -08:00
Timothy Jaeryang Baek
bd88aa2af9
Merge pull request #7828 from juananpe/fixdownloadcitations
fix: use WEBUI_API_BASE_URL for file download links in Citations
2024-12-15 17:05:03 -08:00
Juanan Pereira
6f3ab5917d fix: use WEBUI_API_BASE_URL for file download links in Citations 2024-12-13 15:42:45 +01:00
Timothy Jaeryang Baek
f9a05dd1e1 refac 2024-12-12 23:31:08 -08:00
Timothy Jaeryang Baek
7f77828e3f refac: styling 2024-12-01 21:50:21 -08:00
Timothy Jaeryang Baek
51e344f5b2 refac 2024-11-30 12:24:23 -08:00
Timothy Jaeryang Baek
d0eb59ffdb refac: table styling 2024-11-30 12:22:07 -08:00
Timothy Jaeryang Baek
684a7f0455 refac 2024-11-30 00:36:01 -08:00
Timothy Jaeryang Baek
50c3be2136 refac 2024-11-24 18:11:48 -08:00
Timothy Jaeryang Baek
7b9b0f23fe refac 2024-11-21 22:12:40 -08:00