Commit Graph
1505 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 54b8e3c06e refac 2026-12-02 21:48:24 +04:00
G30 880f9aaab3 fix(a11y): the current admin tab stays marked with Accessibility Mode on (#35481) 2026-12-02 20:09:20 +04:00
Timothy Jaeryang Baek e6a8dd052d refac 2026-12-02 19:29:31 +04:00
Timothy Jaeryang Baek 2afcd2289d refac 2026-12-02 04:36:26 +04:00
Timothy Jaeryang Baek 0b7f8b2498 refac 2026-12-02 04:30:51 +04:00
Timothy Jaeryang Baek 076f6fb339 refac 2026-12-02 03:33:58 +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 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
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
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
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 fcfdc472a7 feat: find models by their ID in the admin and workspace model search (#35297)
Searching in Admin Settings > Models only matched the display name, and Workspace > Models matched the name, the base model and the owner but not the model's own ID. A model that was renamed, or whose name differs from its ID, could not be found by typing the ID that the tooltip and the API show. Both searches now match the ID too, like the chat model selector, tools and functions searches already do.

Fixes #35296
2026-11-30 23:01:02 +04:00
Classic298 75ca922153 fix: importing tools or functions says it succeeded when every item failed (#35267)
Re-importing an export whose IDs already exist showed an "already registered" error for each item and then a green "imported successfully" toast. The success toast now only shows when at least one tool or function was actually imported. A partial import still shows it, next to the errors for the items that failed.

Fixes #35266
2026-11-30 22:52:41 +04:00
Classic298 9aa4ea3787 fix: several toasts and messages stay in English in every language (#35328)
A handful of messages skipped translation: the /model command toasts in chat, "No content" in the file preview, the valves load error, the knowledge file viewer's unsupported file type and empty workbook messages, the archived and deleted chats toasts in the sidebar selection bar, and the row errors in the user CSV import. They now go through translation, reusing existing strings where one already says the same thing.

Fixes #35327
2026-11-30 22:37:54 +04:00
Timothy Jaeryang Baek affe67b7df refac 2026-11-30 21:27:41 +04:00
Timothy Jaeryang Baek 00bc5c3dc8 refac 2026-11-30 21:03:32 +04:00
Classic298 2a01914ff0 feat: tools and functions must be written with async def (#35240)
Tools and functions written with plain def ran on the server's main loop, so a slow call inside one, such as an HTTP request, froze Open WebUI for every user on that server until it returned. Saving a tool or function in the editor now fails with an error that names every tool method or function hook (pipe, pipes, inlet, request, outlet, stream, action, event) still written with plain def. Tools and functions saved before this are switched off the next time they fail to load, the same way a function that fails to load is already switched off, and that also applies to any other load failure of a tool. Either can be switched back on once its code is updated. The starter code in both editors is async now.

Discussion: https://github.com/open-webui/open-webui/discussions/35238
2026-11-30 18:48:49 +04:00
Classic298 8713ff860b fix: sorting by a date column shows the oldest entries first (#35279)
Switching the sort to a date column put the oldest entries first in the admin user list, a group's member list, feedbacks, the archived, shared and per-user chat lists, the file manager and the file browser, so the entries people usually look for ended up at the end. Date columns now sort newest first when picked, like the workspace lists already do. Clicking again still flips the order.

Fixes #35278
2026-11-30 18:42:34 +04:00
Classic298 820b022061 fix: changing the sort of a paged list keeps you on the same page number (#35303)
On page 4 of Admin > Users, Admin > Evaluations > Feedback, the workspace Models, Prompts and Skills lists or a channel's member list, clicking a column header showed page 4 of the new order, somewhere in the middle of the list. Changing the sort now goes back to page 1, like the group member list already does.

Fixes #35302
2026-11-30 18:29:52 +04:00
Classic298 e40bc6f481 fix: screen readers miss the pressed state of rating and read aloud buttons and the name of three switches (#35291)
After rating a reply, Good Response or Bad Response looks selected, but screen readers announced no state, and Read Aloud gave screen readers no sign that it was reading aloud. These buttons now report whether they are pressed. The enable switch in the tool server dialog, the Global switch in a function's menu and the enable switch in the webhook form were announced only as "switch, on", and now have a name.

Fixes #35290
2026-11-30 18:27:55 +04:00
Classic298 571e4e3b52 fix: Enter or Escape while typing with an IME saves, submits or closes too early (#35295)
When typing Japanese, Chinese or Korean with an input method (IME), Enter, Space and the arrow keys pick conversion candidates and Escape drops them. Many inputs treated those keys as their own: Escape stopped a running response, threw away a message, cell, rename or comment draft, cleared a search or closed the dialog, drawer, menu or model selector, and Enter or Space saved, submitted, searched, picked a model or added the text while it was still half-typed. Inputs, dialogs and menus that act on these keys now leave keys that belong to the IME alone, the same way chat rename already does.

Fixes #35294
2026-11-30 18:26:49 +04:00
Classic298 28ee8cd0b0 fix: Reset Vector Storage shows Success before the reset has finished (#35344)
Confirming Reset Vector Storage/Knowledge in the Documents settings showed a Success toast right away, even when the reset then failed on the server. The toast now waits for the reset and only shows Success once it actually went through.

Fixes #35343
2026-11-30 18:25:44 +04:00
G30 68b0f9e6ea fix: long model names in the Evaluations Leaderboard and Feedback lists end in an ellipsis instead of widening the table (#35349) 2026-11-30 18:23:46 +04:00
Timothy Jaeryang Baek 25d880bd62 refac 2026-11-27 02:42:47 +04:00
G30 de696d4b4a fix: check ui translation placeholders against the default text (#35127) 2026-11-26 23:44:04 +04:00
Timothy Jaeryang Baek 4d49c6d950 refac 2026-11-26 21:25:16 +04:00
Timothy Jaeryang Baek ec0ef19474 refac 2026-11-26 00:40:06 +04:00
Timothy Jaeryang Baek ee591b44b3 refac 2026-11-25 12:53:12 +04:00
Classic298 fef778d194 fix: a model's new image only shows after a page reload (#34994)
After saving a model with a new image, or resetting it to the default logo, the model picker, the chat and the model lists kept showing the old image until the page was reloaded. The image address stayed the same, so the browser reused the copy it had already loaded. The address now carries the time the model was last saved, so the new image shows right away for workspace models and router models alike.

Fixes #34703
2026-11-25 03:25:19 +04:00
Timothy Jaeryang Baek 1fa28a60e4 chore: format 2026-11-25 02:36:18 +04:00
Timothy Jaeryang Baek 8522af2d61 refac 2026-11-25 01:46:31 +04:00
Classic298 4a065a5c99 fix: saving a router model with an invalid pattern only shows "[object Object]" (#34956)
Saving a router model whose pattern is not a valid regular expression showed only "[object Object]" in the error toast, so the admin could not tell what was wrong. The toast now shows the server's message, such as "Value error, Invalid pattern: missing ), unterminated subpattern at position 0". Any other rule the server refuses when a router model is saved reads the same way.

Fixes #34897
2026-11-24 22:52:10 +04:00
Classic298 179991fc1a fix: saving a router model strips the trailing space from a pattern (#34957)
A pattern like "```|def |function " (the example in the docs) lost its trailing space when the router model was saved, from the dialog or through the API. "function" without a space after it then matched as well, so a message about "functionality" went to the model meant for code. Patterns are now saved exactly as typed, and a pattern saved before this needs its space typed again. Conditions saved through the API now keep their spaces as sent too.

Fixes #34898
2026-11-24 22:51:49 +04:00
Timothy Jaeryang Baek 26f85aa220 refac 2026-11-24 21:50:41 +04:00
Timothy Jaeryang Baek 068fe7a39e refac 2026-11-24 20:49:51 +04:00
G30 a667c3176a fix(ui): remove disabled connection URL backgrounds (#34946) 2026-11-24 20:27:28 +04:00
Timothy Jaeryang Baek 34888d6905 refac 2026-11-24 19:25:20 +04:00
Timothy Jaeryang Baek 57c955a033 refac 2026-11-24 16:39:36 +04:00
Timothy Jaeryang Baek c94eb96b7f refac 2026-11-24 15:46:24 +04:00
Classic298 ed1c7e45d8 perf: show the Admin Settings > Interface tab sooner (#34891)
The Interface tab in Admin Settings loaded its settings first, then the saved model settings, then the model list, waiting for each before starting the next. On a remote instance every one of those waits is a full network round trip before the task model selectors show up. All of them now load together.

<table>
<tr><th>Time until the task model selectors show, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>635 ms</td><td>621 ms</td></tr>
<tr><td>40 ms latency</td><td>711 ms</td><td>625 ms</td></tr>
<tr><td>100 ms latency</td><td>787 ms</td><td>625 ms</td></tr>
</table>

Fixes #34889
2026-11-23 18:32:55 +04:00
Classic298 d59de004bb perf: show the Admin Settings > Models list sooner (#34873)
The Models tab in Admin Settings loaded the models config, the workspace models and the model list one after another, then loaded the provider model list, and after showing the list loaded the model list again. Every one of those waits costs a network round trip, so admins on a remote instance waited noticeably longer than needed. The first three now load together and the model list is only loaded once. The provider model list still loads after the model list, so the provider is still asked only once per visit.

<table>
<tr><th>Time until the list shows, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>619 ms</td><td>620 ms</td></tr>
<tr><td>40 ms latency</td><td>730 ms</td><td>654 ms</td></tr>
<tr><td>100 ms latency</td><td>911 ms</td><td>710 ms</td></tr>
</table>

Fixes #34872
2026-11-23 16:16:26 +04:00
Classic298 b393504d9c fix: screen readers do not say which connection an on/off switch belongs to (#34795)
In the connection lists under Admin Settings > Images & Videos and Admin Settings > Integrations (tool servers, machines and external knowledge), a screen reader announced each connection's on/off switch without saying which connection it belongs to. This came with a recent change, not yet released, that turned the connection names into buttons. Each switch is now announced as Enabled followed by its connection's name, the same way the model and tool switches in the workspace are.

Fixes #34788
2026-11-23 00:34:21 +04:00
Timothy Jaeryang Baek 1a7a13dc06 refac 2026-11-22 18:17:48 +04:00
Timothy Jaeryang Baek 29c5fbef46 refac 2026-11-22 18:17:45 +04:00
Timothy Jaeryang Baek df6be8c3a1 refac 2026-11-22 17:13:34 +04:00
Timothy Jaeryang Baek 67863f310c refac 2026-11-22 15:54:36 +04:00
Timothy Jaeryang Baek e72b31f01f refac 2026-11-22 02:51:42 +04:00
Timothy Jaeryang Baek f59a3aff85 refac 2026-11-22 02:10:33 +04:00