Commit Graph
11585 Commits
Author SHA1 Message Date
G30 5b7e1255c8 fix(a11y): the Legacy button no longer sits inside the Admin settings tab list (#35436)
The Admin part of the Settings sidebar was one tab list holding the
Legacy show and hide button among its tabs, so screen readers counted a
button that isn't a tab inside the list (WCAG 1.3.1 and 4.1.2).

The Admin part is now a group named Admin, with one tab list per
heading already shown in the sidebar: System, AI, Tools, Quality and
Data, each named by its heading, and Code Execution and Pipelines in a
Legacy tab list named by the Legacy button. The button sits between
the Tools and Legacy lists. Nothing moves on screen, and the Tab order
is the same. The Personal list is unchanged.
2026-12-01 20:00:20 +04:00
Classic298 bde9278693 fix: chat freezes for seconds when scrolling inside an inline PDF preview (#35452)
Scrolling inside a PDF shown inline in a chat froze the whole page for seconds at a time, on phones and on desktop, and long chats had it worst. The cause was not in the PDF preview. A style rule meant only for the settings pages was active on every page and made the browser redo the styling of a whole chat message each time a piece of content was added to it, which a PDF preview does well over a hundred times per page. That rule only decides whether the mouse pointer turns into a hand over the name of a setting, and it is now written so that it no longer costs anything noticeable outside the settings pages. The settings look and behave as before.

<table>
<tr><th>Long chat with three inline PDFs, scrolling one PDF down and back up</th><th>Before</th><th>After</th></tr>
<tr><td>Time the browser spent redoing styles</td><td>15.1 s</td><td>0.24 s</td></tr>
<tr><td>Longest freeze, desktop</td><td>6.6 s</td><td>0.05 s</td></tr>
<tr><td>Longest freeze, phone sized screen with CPU slowed 4x</td><td>30 s</td><td>0.2 s</td></tr>
<tr><td>Frames per second, desktop</td><td>35</td><td>60</td></tr>
<tr><td>Adding one piece of content to a message</td><td>36 ms</td><td>under 1 ms</td></tr>
</table>

Fixes #35444
2026-12-01 19:58:39 +04:00
G30 b645d6a9c8 i18n: fill missing translations in 2 languages and fix 19 existing ones (#35455) 2026-12-01 19:57:55 +04:00
Timothy Jaeryang Baek 2e27a09fa6 refac 2026-12-01 04:38:55 +04:00
Timothy Jaeryang Baek 18f79d08c4 refac 2026-12-01 04:37:27 +04:00
Timothy Jaeryang Baek 9e447ce116 refac 2026-12-01 04:36:51 +04:00
Timothy Jaeryang Baek 5198d1be84 refac 2026-12-01 04:28:19 +04:00
G30 4799c6cccb fix(a11y): version, section and note chat buttons are named by the text they show (#35433)
Seven buttons had an aria-label that left out the text they show, so a
voice control user saying what is on screen could not click them
(WCAG 2.5.3): the prompt editor's History ("Live"), Select version in
the skill, tool, function and model editors ("Current", "Production"
or a version id), a note's chat Expand (the chat title) and the folder
page's Switch section ("Chats" and its count).

Each aria-label moves into an sr-only span after the visible text, as
in #33593, so the name starts with what the button shows: "Live
History", "Production Select version", "Chat Expand". The prompt
editor's span sits right against the visible text, so a space goes
between them. Nothing changes on screen.
2026-12-01 04:07:25 +04:00
G30 5714892bfd fix(a11y): checked task items in replies keep full contrast with Accessibility Mode on (#35429)
A checked task item's text is dimmed to opacity 0.55 on top of its
line-through, which takes it to 2.96:1 in the light theme, below the
4.5:1 that text needs (WCAG 1.4.3).

With Accessibility Mode on, the dimming is dropped and the line-through
stays, so the item still reads as done: 10.30:1 in light and 12.29:1 in
dark. The rule uses :where(html.high-contrast) like Dashboard's tab
color, so it only overrides the dimming. With Accessibility Mode off
nothing changes.
2026-12-01 04:06:55 +04:00
G30 7262681f9b fix(a11y): Calendar cells and What's new entries no longer read as broken lists (#35428)
Calendar's month, all-day and hour cells were role="list" with buttons
and event chips inside, so screen readers announced 42 lists with no
list items. They are drop targets, not lists; role="presentation"
keeps Svelte's interaction check satisfied without a list role.

Each What's new entry rendered its <li> inside plain divs, so 427 list
items had no list. Each section's entry container is now role="list",
the two wrapper divs are role="none" and the bullet dot is hidden from
screen readers, so every section reads as one list of its entries.
Nothing changes on screen.
2026-12-01 04:06:36 +04:00
Timothy Jaeryang Baek 3266144c3e refac 2026-12-01 03:22:11 +04:00
Timothy Jaeryang Baek 851d90c50a refac 2026-12-01 02:42:20 +04:00
Classic298 13a4d8af08 fix: the email field capitalises and autocorrects on iPhone (#35424)
Since email fields became plain text fields to allow addresses with non-ASCII characters, iPhone capitalised the first letter and autocorrected what was typed, on the sign-in and sign-up page and in the admin's Add User and Edit User dialogs. Those email fields now turn capitalisation, autocorrect and spellcheck off, as an email field did before.

Fixes #35415
2026-12-01 02:40:35 +04:00
Classic298 f6e7d221e1 fix: the full-screen image viewer is taller than the screen in mobile Safari (#35423)
The image viewer took the full screen height including the part behind Safari's toolbars, so the image sat off-centre and the bottom of a tall image was cut off. It now fits the visible screen, as the other dialogs already do. The expanded message editor had the same extra height and now fits the visible screen too.

Fixes #35411
2026-12-01 02:39:41 +04:00
Classic298 4a1384eb48 fix: remove a leftover debug log from the expanded message editor (#35420)
The expanded message editor logged its whole content to the browser console on every change. That leftover debug output is removed.
2026-12-01 02:39:26 +04:00
Classic298 9f7baf5540 fix: a long confirm dialog on a phone hides its Confirm and Cancel buttons (#35419)
When a function or tool asked for confirmation or input with a message longer than the screen, the dialog was cut at the screen height and could not be scrolled, so its Confirm and Cancel buttons were out of reach. The dialog now scrolls, the way the bottom sheet already does.

Fixes #35414
2026-12-01 02:33:47 +04:00
Timothy Jaeryang Baek d56c3f304c refac 2026-12-01 02:21:33 +04:00
Timothy Jaeryang Baek 275c4d2817 refac 2026-12-01 02:20:32 +04:00
Timothy Jaeryang Baek 48af5daa1c refac 2026-12-01 02:16:04 +04:00
Timothy Jaeryang Baek 9e90240c61 refac 2026-12-01 01:55:54 +04:00
G30 fc3bb0c6bd fix: blank lines in a sent message no longer carry two spaces (#35355)
* fix: blank lines in a sent message no longer carry two spaces

* fix: keep blank lines typed with Shift+Enter in comments

The comment box rebuilds its Markdown in onValueChange and reloads the editor when that differs from the serialized value. Clear the two-space line there too, so a second hard break no longer makes them differ and drop the blank line.
2026-12-01 01:43:05 +04:00
Classic298 b1c40acbb1 fix: chat stops auto-scrolling in Safari once a reply renders formatting (#35407)
On iPhone and in Safari, Response Auto-Scroll turned itself off partway through a reply, so the rest of the reply ended up hidden below the message input. When raw text turns into formatted content such as a table, Safari briefly jumps the chat up a little on its own, and the app took that jump for the user scrolling up. That jump no longer turns Auto-Scroll off, and scrolling up with a finger or the mouse wheel still does.

Fixes #33444
2026-12-01 01:28:35 +04:00
Classic298 786f618fd5 perf: a Files tab that is not on screen still draws its whole file list (#35090)
A Files tab drew every row of its file list even while it sat hidden behind another tab or in a collapsed side panel. Every switch into a folder or chat that has a Files tab open rebuilds that tab, so the switch kept the page busy drawing rows nobody could see. A Files tab now draws its list the first time it is shown, and everything else about it (its folder, open file, unsaved edits) loads as before.

<table>
<tr><th>Switch from a chat outside a folder into one of its chats, Files tab of 201 entries hidden behind it, 4x CPU slowdown, median of 5</th><th>Before</th><th>After</th></tr>
<tr><td>Main thread blocked</td><td>1.31 s</td><td>0.85 s</td></tr>
<tr><td>File rows drawn</td><td>201</td><td>0</td></tr>
</table>

Fixes #35088
2026-12-01 01:25:25 +04:00
Timothy Jaeryang Baek 00f73217c7 refac 2026-12-01 01:09:58 +04:00
Timothy Jaeryang Baek c78060a62d refac 2026-12-01 01:02:02 +04:00
Timothy Jaeryang Baek 1c59e41e5f refac 2026-12-01 00:41:27 +04:00
Timothy Jaeryang Baek 55f1b5c0cb refac 2026-12-01 00:33:38 +04:00
G30 a42c14892f perf: streaming a reply in a long chat no longer rescans every message for artifacts with full regex passes (#35209) 2026-12-01 00:26:53 +04:00
Classic298 636dd45c30 fix: saving an automation after its expiry passed fails with "The expiry time is in the past." (#35400)
The first save on an automation's page cut its expiry down to the minute, so an expiry the model had set, like "in 2 hours", moved up to a minute earlier, and if it had already passed by that first save, every edit was refused, even just a rename. An expiry left untouched now stays exactly as it was stored, and only a newly picked one is checked.

Fixes #35395
2026-12-01 00:26:39 +04:00
Classic298 bc40f60f6f fix: Continue on a reply whose model is no longer available breaks the next message (#35261)
Clicking Continue under a reply whose model was removed or is offline seemed to do nothing, but it marked the reply as still generating. The next message the user sent then flipped that old reply back into the generating state with a stop button, and was sent as queued behind a reply that was not running. Now Continue shows a "Model not found" error and leaves the reply as it was, and the next message sends normally.

Fixes #35260
2026-12-01 00:25:22 +04:00
Timothy Jaeryang Baek e4c13ecd31 refac 2026-12-01 00:24:34 +04:00
Timothy Jaeryang Baek d13ecf6816 refac 2026-12-01 00:24:00 +04:00
Timothy Jaeryang Baek 66fdd803ba refac 2026-12-01 00:19:51 +04:00
G30 577506eec7 feat: the Manage links in the knowledge, tool and skill pickers open their Workspace page in a tab (#35254) 2026-12-01 00:17:18 +04:00
Timothy Jaeryang Baek abdaa9d143 refac 2026-12-01 00:14:25 +04:00
Classic298 bc410a62bd fix: show a next run moved by an automation's code on its page and in the Calendar (#35388)
When an automation's code moved its next run, the run happened at the new time, but the automation page kept showing the regular scheduled time and the Calendar did not list the moved run. Both now show the next run as it will really happen, including for automations that only run manually, and the Calendar leaves out the scheduled times the moved run replaces. Once the moved run is done, both go back to the regular schedule.

Fixes #35377
2026-12-01 00:11:31 +04:00
Classic298 c2bbab6cf6 fix: saving webhooks fails with 404 after deleting an edited webhook (#35322)
In a channel's Webhooks dialog, editing a webhook's name and then deleting it made every following Save fail with a 404, and some edits to other webhooks were not saved until the dialog was reopened. Deleting a webhook now also drops its unsaved edits, so Save goes through for the remaining webhooks.

Fixes #35321
2026-12-01 00:07:04 +04:00
Classic298 c3b38c8e65 fix: the Valves dialog of a plugin written with plain def does not say why it failed to open (#35393)
A tool or function written with plain def is switched off when it loads, for example after an upgrade, and opening its Valves only showed "Failed to load valves". The toast now shows the reason the server gives, such as "Methods must be defined with async def: inlet", so the admin knows what to change.
2026-12-01 00:04:31 +04:00
Classic298 b47fc1d57c fix: empty error toast when renaming or deleting a channel fails (#35324)
When the server rejected a channel rename or delete, for example because the channel was already deleted in another tab, an empty red toast appeared. The toast now shows the server's error message.

Fixes #35323
2026-11-30 23:53:11 +04:00
G30 236ddf2819 perf: model lists load model images as they scroll into view instead of all at once (#35214) 2026-11-30 23:43:21 +04:00
Classic298 e8839502dc fix: screen readers can't tell whether the Advanced section of a connection dialog is open (#35307)
The Advanced toggle in the add connection, tool server, image connection, video connection and external knowledge dialogs only turned its arrow, so screen readers could not tell whether the section was open. It now reports open or closed, like the Advanced toggles in model, knowledge, machine and chat settings already do.

Fixes #35306
2026-11-30 23:35:39 +04:00
Classic298 615ce0ccf1 fix: an empty Custom schedule is saved as no schedule instead of being refused (#35387)
When the schedule was set to Custom and the rule left empty, Create and Save stored the automation with no schedule and without any error, so it never ran on its own. They now refuse it with "Invalid value: Custom schedule" and save nothing. The Create dialog also refuses a Once schedule set in the past again.

Fixes #35386
2026-11-30 23:35:13 +04:00
Classic298 7319b409b9 fix: starting a chat in a folder freezes the page on iPad for seconds (#35205)
Starting a new chat in a folder cleared and focused a message box that was replaced a moment later, then did the same to the new, already empty one. On iPad each of these resets forces the whole page to lay out again, so the reporter saw the page freeze for 2.1 to 2.7 seconds, longer with more folder tabs open. The new chat now only fills its message box when there is text to put in it. With a nearly identical change on the same iPad, the freeze dropped to 0.8 to 1.2 seconds, stopped growing with open tabs, and the keyboard still came up.

Refs #35188
2026-11-30 23:16:22 +04:00
Classic298 e3651761a4 fix: failed uploads behind a proxy show a JSON parse error instead of the reason (#35263)
When a reverse proxy rejects an upload (for example nginx with its default 1 MB body limit, answering 413) or a gateway times out, the answer is an HTML page, and the upload error read "Unexpected token '<', "<html>..." is not valid JSON". Now it says "Unable to upload file (413)" with the real status code. Errors that Open WebUI itself returns show as before.

Fixes #35262
2026-11-30 23:15:17 +04:00
Classic298 68a0a4bce4 feat: the file browser remembers its sort order (#35305)
The file browser already remembers the list or grid view and whether hidden files show, but the sort order went back to Name every time it opened, in every place it is used. It now remembers the sort column and direction in this web browser the same way.

Fixes #35304
2026-11-30 23:15:08 +04:00
Classic298 4c226fc160 fix: admins cannot remove members from a group channel they did not create (#35320)
In a group channel's member list, an admin who is not the channel's creator saw Add Member but no way to remove anyone, even though the server allows admins to remove members. The remove button now shows for the same people who see Add Member.

Fixes #35319
2026-11-30 23:10:06 +04:00
Classic298 78ccfb64e3 fix: copying or downloading an older chat includes raw reasoning markup (#35301)
For chats from before reasoning was stored separately, copying the whole chat and the plain-text downloads (.txt, and PDF when stylized PDF export is off) included the raw reasoning blocks, starting with <details type="reasoning" ...>, in the text. Copying a single reply already strips them. The whole-chat copy and these downloads now strip them the same way.

Fixes #35300
2026-11-30 23:05:33 +04:00
Classic298 8b48fe94cd fix: highlight the cited text when opening a file from the source list (#35167)
Opening a file from the source list under an answer showed it with nothing highlighted, and a PDF opened at its first page instead of the cited one. This happened for any source with more than one paragraph. The source list now highlights the retrieved text and opens at the cited page again, as it did before paragraph citations. A plain citation chip in the answer still opens the whole source, as before.

Fixes #35165
2026-11-30 23:03:29 +04:00
Classic298 affd38a1d3 perf: skip an unused copy of the whole chat when sending a message (#35241)
Sending a message or asking for a new reply made a full copy of the chat history that nothing ever read, because a second copy replaces it a few lines later. Long chats paid for that copy every time a reply was requested. Nothing reads the chat between the two copies, so removing the first one changes nothing else.

<table>
<tr><th>Chat</th><th>History size</th><th>Time saved per send</th></tr>
<tr><td>50 turns, plain text</td><td>0.1 MB</td><td>0.1 ms</td></tr>
<tr><td>200 turns, plain text</td><td>0.6 MB</td><td>0.4 ms</td></tr>
<tr><td>100 turns, 10 knowledge chunks each</td><td>2.2 MB</td><td>0.6 ms</td></tr>
<tr><td>100 turns, 5 tool results of 20k characters each</td><td>9.9 MB</td><td>3.9 ms</td></tr>
</table>
2026-11-30 23:02:29 +04:00
Classic298 ad372cd0e7 perf: load sidebar folders alongside the chat list (#35242)
The sidebar only started loading folders after the chat list had arrived, so on every app load and chat list refresh the folders showed up one network round trip later than needed. The two requests do not depend on each other and now run at the same time, so the folder tree also refreshes when a newer chat list refresh replaces the current one.
2026-11-30 23:02:22 +04:00