Commit Graph
11848 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 43d7281f4e refac 2026-11-18 18:55:30 +04:00
Classic298 f8a5186480 fix: Enter sends the channel message instead of picking the highlighted emoji or command (#34618)
In a channel, typing an emoji shortcode like :swea or a slash command and pressing Enter sent the half-typed text right away. Enter only checked for an open suggestion list inside the message box, but that list is drawn outside it, so it was never found. Enter now picks the highlighted suggestion again, as it does in the main chat input.

Fixes #34616
2026-11-18 18:34:07 +04:00
G30 3bad55fadb fix: reveal hover controls on keyboard focus or open menu, not mouse focus (#34645) 2026-11-18 18:33:50 +04:00
Classic298 44ca4e78fe fix: /status shows too little context when a reply ends on a tool result (#34622)
When a reply ended on a tool result, for example because it was stopped right after a tool returned or the model call after it failed, /status left that result out, since it came back after the model's last reported token count. The result is still sent with the next message and context compaction counts it, so compaction could run while /status showed the chat well under the threshold. /status now counts those results too, the same way the compaction check does.

Fixes #34617
2026-11-18 15:47:08 +04:00
Classic298 04cedc89f5 fix: grouped tool call header says "Ran" while the command is still running (#34621)
When a group of agent tool calls has a call still in progress, the collapsed header already counts it in the past tense, so it reads "Ran 1 command, Edited 2 files" while the command is still running. The header now uses the running form for each kind of call that is still in progress ("Running 1 command, Edited 2 files") and switches to the past tense once it finishes, the same way each row already does.
2026-11-18 04:57:33 +04:00
Classic298 01aae7268d perf: a running tool call makes the browser re-layout the whole chat on every frame (#34624)
While a tool call is running, its loading spinner sits next to the shimmering status text, and the browser then recalculates the layout of the entire page 60 times a second for as long as the chat waits. That shows up as constant CPU use and slows down other tabs. The spinner animated a part inside its SVG icon, which the browser can only redraw through a fresh layout once anything else on the page is animating; it now rotates the whole icon, which looks the same and stays off the layout path.

Measured with Chrome's performance counters over 10 seconds of an idle chat holding a long answer and one running tool call:

| | Layouts | Layout time |
|---|---|---|
| Before | 600 | ~300 ms |
| After | 0 | 0 ms |
2026-11-18 04:57:13 +04:00
Classic298 2a534ab1b3 perf: the shimmer on running status text keeps the browser busy every frame (#34625)
The light sweep across a running tool call or status label was a gradient inside the text, which the browser can only animate by redrawing the page on the main thread 60 times a second, so a chat that just waits on a tool call keeps about a tenth of a CPU core busy. The sweep is now a band that moves over the text and brightens it, which the browser animates on the GPU without touching the page. It keeps the same angle, width, colours and timing, so in Chrome the text looks the same as before in light and dark mode and on grey surfaces (the old dark-mode colours never applied, their rule was not valid CSS). Icons in a shimmering row, like the spinner and the chevron, now catch the sweep too, accessibility mode still shows flat text, and a browser without backdrop filter support shows the plain grey label without the sweep.

Measured in Chrome with its performance counters over 10 seconds of an idle chat holding a long answer and one running tool call:

| | Main thread busy |
|---|---|
| Before | ~1070 to 1140 ms |
| After | ~8 to 113 ms |
2026-11-18 04:56:39 +04:00
Aleix Dorca 4c62f4f6d1 Merge pull request #34610 from aleixdorca/dev
i18n: Update catalan translation.json
2026-11-18 01:27:29 +09:00
Timothy Jaeryang Baek 39941ff6e0 refac 2026-11-18 01:13:17 +09:00
Timothy Jaeryang Baek cb19060e8f refac 2026-11-18 01:13:09 +09:00
Classic298 dcde707f0f fix: Temporary in the / menu does nothing on a new chat (#34609)
On a new chat, picking Temporary from the / menu did nothing, so the next message was saved and showed up in the chat list. Picking it now turns the chat temporary, the same as the Temporary Chat button in the header.

Fixes #34607
2026-11-17 23:33:27 +09:00
Classic298 bd5445a791 perf: PDF preview opens large files in seconds (#34602)
Opening a long PDF in the preview drew every page at full resolution before showing anything and kept them all in memory, so a 1500-page manual took over half a minute, and one report had a 357-page scanned file push Firefox past 20 GB. The preview now lays out all pages right away, draws only the pages near the screen and releases pages once they scroll far away. Jumping to a cited page, zooming and scrolling work as before, and comment highlights and the zoom level apply to far-off pages as they are drawn. The page thumbnails also release each page after drawing it; without that, the scanned file below still passes 9 GB while its thumbnails load. The browser's find (Ctrl+F) now only matches text on pages near the screen, and selecting text across into far-off pages no longer works.

| Large PDF in the file preview | before | after |
| --- | --- | --- |
| 1500-page text PDF, opened at page 1200 | 35.7 s, 7.5 GB | 1.3 s, 1.0 GB |
| 400-page scanned PDF (39 MB), opened at page 300 | nothing shown, over 9.8 GB after 9.4 s (stopped) | 1.4 s, 1.1 GB, 1.5 GB peak scrolling the whole file |

Fixes #29576
2026-11-17 22:41:39 +09:00
Timothy Jaeryang Baek 916c03829d chore: format 2026-11-17 22:37:26 +09:00
Timothy Jaeryang Baek b6e71d4d7f chore: i18n 2026-11-17 22:34:42 +09:00
Timothy Jaeryang Baek 14794cd808 refac 2026-11-17 22:33:05 +09:00
Classic298 f2a30994ca feat: review pending admin settings changes before saving (#34534)
Admin settings pages give no hint of what is about to be saved, so an accidental edit goes through unnoticed, for example a number field that changes when you scroll over it. Next to Save, each admin settings page now shows how many settings differ from what was last loaded or saved. Clicking that count or Save lists every changed setting with its old and new value and a Save button to confirm, and fields the page keeps hidden, like API keys and passwords, stay hidden there too. With nothing changed, Save works as before. Connections and Integrations keep their plain Save with no review, controls that already save on their own keep doing so, such as the image and video connection lists or switching the text-to-speech engine (which saves the whole Audio page), and Events, External Knowledge, Models and Evaluations are unchanged. Save now shows the not-allowed cursor while it is disabled during a save, as it already did on Images and Videos.

Discussion: https://github.com/open-webui/open-webui/discussions/34532
2026-11-17 22:31:40 +09:00
Timothy Jaeryang Baek 207c7735f4 refac 2026-11-17 22:24:21 +09:00
Classic298 0ba0a4d7e2 fix: rename Capabilities to Features in the model editor (#34433)
* fix: rename Capabilities to Features in the model editor

The model editor section called Capabilities mostly holds switches for which features users see on a model, such as image generation, web search and the code interpreter, so the name led admins to expect it to describe what the model itself can do. The section is now called Features, and its tooltip no longer says the connected model and provider must support every switch, since each switch's own description says what it needs.

* Leave the English value of the new tooltip empty like its neighbours
2026-11-17 22:21:46 +09:00
G30 a53d2df676 fix: model selector filter menu updates its tags when models change (#33990) 2026-11-17 22:20:31 +09:00
Classic298 d4128f0895 fix: a prompt from an embed goes to the wrong chat or to two chats at once (#34161)
* fix: a prompt from an embed goes to the wrong chat or to two chats at once

With a note open and its chat beside it, a prompt sent by an embed in that chat was picked up by that chat and by the main chat behind the note tab, so a tool embed's "ask the chat" button opened two confirmation dialogs. In a side chat the same button asked the prompt in the main chat. Each embed now belongs to the chat that shows it, and only that chat takes its prompt; a prompt from anywhere else goes to the page's main chat as before.

Fixes #34152

* fix: route a prompt from any embedded frame to the chat that shows it

The chat a prompt belongs to is now read from where the sending frame sits on the page, for every frame and not only tool embeds, so artifacts and inline HTML in a chat tab or beside a note also reach the right chat. A prompt that comes from no frame goes to the main chat.

* Name the message's source chat apart from the chat object
2026-11-17 22:20:06 +09:00
Timothy Jaeryang Baek e1b1e60e7f refac 2026-11-17 22:17:41 +09:00
Timothy Jaeryang Baek 749d325c5f refac 2026-11-17 22:14:34 +09:00
Timothy Jaeryang Baek 0dcf8ac53f refac 2026-11-17 22:11:01 +09:00
G30 0132d879c0 fix: a tab for a channel or note that no longer exists closes instead of staying on a spinner (#34294) 2026-11-17 22:05:37 +09:00
Timothy Jaeryang Baek 97bb6b3223 refac 2026-11-17 22:04:44 +09:00
Timothy Jaeryang Baek 7e91c04125 refac 2026-11-17 22:04:06 +09:00
Timothy Jaeryang Baek ae35197cee refac 2026-11-17 22:03:13 +09:00
joaoback 9c1521aaa4 i18n: add pt-BR translations for newly added UI items and consistency pass (#34591)
New **pt-BR** translations for items introduced in the latest releases, plus a small consistency pass across existing strings. Placeholders preserved. No logic changes.
2026-11-17 21:55:49 +09:00
G30 f91f3af219 fix: opening a chat that is already open in a tab no longer shows it twice side by side (#34471) 2026-11-17 20:35:15 +09:00
Classic298 b4a88505e1 fix: long Markdown files freeze the page when opened from a terminal's Files (#34491)
Opening a long Markdown file from a terminal's Files froze the whole tab, and typing inside a code block froze it again on every keystroke. The editor guessed the language of every code block that names none by trying every language it knows, about 15 ms per block, so a 750 KB file with a thousand such blocks blocked the page for 19 seconds. Code blocks with no language, or one the editor does not know, now show as plain text, as chat and the read-only file view already show them, and the same file now freezes the page for about 2 seconds. Code blocks that name a language the editor knows are highlighted as before. The same goes for the other places that use this editor, such as notes and the message box with rich text on.

Fixes #34486
2026-11-17 20:34:23 +09:00
Timothy Jaeryang Baek b462a23a70 refac 2026-11-17 20:34:05 +09:00
G30 3807e9c87e fix: the Unpin button on a pinned note shows a tooltip, as on pinned models (#34568) 2026-11-17 20:32:49 +09:00
Timothy Jaeryang Baek c041c98220 refac 2026-11-17 19:59:57 +09:00
Timothy Jaeryang Baek c201472cf8 refac 2026-11-17 19:31:57 +09:00
Timothy Jaeryang Baek 3349606652 refac 2026-11-17 19:13:47 +09:00
Timothy Jaeryang Baek e1d2722520 refac 2026-11-17 18:48:38 +09:00
Classic298 c7dcba6b04 fix: a reply waiting for a tool approval is treated as finished (#34574)
When a reply stopped to wait for a tool approval, the chat treated it as finished: Regenerate showed up on it while the approval was still open, and in a voice call the answer that followed the approval was never spoken. The chat now shows such a reply as still in progress until the approval is answered and the answer is complete, so Regenerate stays hidden and a voice call speaks the answer.

Fixes #34572
2026-11-17 18:19:36 +09:00
Timothy Jaeryang Baek c68b8a632e refac 2026-11-17 17:02:34 +09:00
Timothy Jaeryang Baek dfc68aa212 refac 2026-11-17 14:06:14 +09:00
Classic298 958edefcac fix: switching an optional valve to Custom in the chat controls shows an error (#34478)
* fix: switching an optional valve to Custom in the chat controls shows an error

Switching an optional valve, such as an optional on/off setting, from Default to Custom in the Valves section of the chat controls saved the still empty box right away, and the server refused it with "Error updating function user valves". Emptying the box later failed the same way. Switching to Custom now saves once something is entered, and an emptied optional on/off or number valve goes back to its default; optional text valves still save an empty text.

Fixes #34475

* Drop a comment that restates its condition

* Name schema entries the way the schema helpers do
2026-11-17 13:59:54 +09:00
Timothy Jaeryang Baek 5ddd419539 refac 2026-11-17 13:58:25 +09:00
Timothy Jaeryang Baek 587aba0383 refac 2026-11-17 13:48:08 +09:00
Timothy Jaeryang Baek 381c81b2e2 refac 2026-11-17 12:58:50 +09:00
Classic298 a0dda93bc0 fix: Stop button stays after Send now on a queued message (#34556)
After pressing Send now on a queued message, the Stop button sometimes stayed up once the answer had finished, and the chat looked busy until the page was reloaded; it showed up mostly in side chats. When the answer ended while the chat was still updating to show the queued message, the chat kept an outdated view of the answer and went on treating it as running. The chat now looks at the latest state of the answer once it has updated, so the Stop button goes away when the answer ends.

Fixes #34553
2026-11-17 12:45:37 +09:00
Timothy Jaeryang Baek 2fd35c80ee refac 2026-11-17 12:44:09 +09:00
G30 772f16c5d4 i18n: fill missing translations in 31 languages and fix 240 existing ones (#34560) 2026-11-17 12:42:48 +09:00
Timothy Jaeryang Baek ba4c3f4ca6 refac 2026-11-17 12:33:56 +09:00
Classic298 6ac7d11a3f fix: Refresh in Files keeps the old list when the terminal cannot list the folder (#34551)
When the terminal refused to list the open folder, for example after its API key changed, pressing Refresh above the Files list kept the old entries on screen and said nothing. Refresh now clears the list and any ticked items and shows "Failed to load directory. Check your Terminal connection in Settings → Integrations.", the same as opening the folder does, and the next Refresh lists the folder again once the terminal answers. The list also reads itself again after a sort change, showing hidden files, a file change or a change on the terminal, and those reads show the same message when they fail.

Fixes #34550
2026-11-17 02:39:47 +09:00
Classic298 93a7bbb185 fix: a folder whose terminal working directory is missing loses the first message and leaves an empty chat (#34552)
Sending the first message from a folder whose default terminal points at a working directory that does not exist showed "Working directory is unavailable", but it still created an empty New Chat in the folder and switched to it, with the typed message gone from the message box. Now the warning still shows, but no chat is created: the folder page stays open and the message stays in the message box, ready to send once the directory is fixed.

Fixes #34367
2026-11-17 02:37:51 +09:00
Timothy Jaeryang Baek 485c6d50da refac 2026-11-17 02:32:18 +09:00