Commit Graph
12186 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek dbf16a4e0d refac 2026-11-30 22:36:09 +04:00
Timothy Jaeryang Baek 55521ccd27 refac 2026-11-30 22:35:04 +04:00
Timothy Jaeryang Baek 52cda2507a refac 2026-11-30 22:10:01 +04:00
Timothy Jaeryang Baek affe67b7df refac 2026-11-30 21:27:41 +04:00
Classic298 f20f00056f fix: mentions and avatars are announced as popups and mentions cannot be reached by keyboard (#35354)
Screen readers announced user mentions and profile avatars as collapsed popups that opened and closed while reading, and the keyboard could not reach a mention at all. Both are now announced as plain buttons. Tab reaches mentions, and Enter or Space does the same as a click, opening the profile, model or channel, while mentions with no click action, such as skill mentions, stay inactive. Keyboard focus no longer pops up the small profile card shown on hover, which the keyboard could never move into. Mouse users still get that card on hover, and mentions look and wrap as before.

Fixes #35353
2026-11-30 21:06:01 +04:00
G30 e94cb613b5 i18n: fix 12 existing translations in 3 languages (#35372) 2026-11-30 21:05:46 +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 2734d59fdb fix: show the note header date the way the chosen language writes dates (#35224)
The date at the top of an open note called notes from the previous calendar week "last Thursday" even when they were up to 13 days old, while notes from earlier the same week showed a plain date. Older notes also always showed day/month/year, so US English users saw 19/11/2026. The header now uses the weekday only for the past six days and otherwise shows the date in the selected language's own format.

Fixes #35219
2026-11-30 18:44:02 +04:00
Classic298 d282bef94c fix: saving an event webhook hides the reason it was rejected (#35265)
Admin Settings > Events rejects some webhooks, for example a URL on a local or container host while ENABLE_LOCAL_WEB_FETCH is off, and the toast only ever said "Failed to save webhook". The server already explains the problem ("The URL you provided is invalid. Please double-check and try again."), and that message now shows instead. Turning a webhook on or off reports its errors the same way.

Fixes #35264
2026-11-30 18:43:39 +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 27b4283f97 fix: importing several notes stops at the first unsupported file (#35271)
Dropping several files onto the Notes list stopped at the first file that was not .md or .txt. Files before it were created but did not show until a reload, and files after it were skipped without a word. Now unsupported files get the error and are skipped, and the rest import and show up in the list.

Fixes #35270
2026-11-30 18:42:17 +04:00
Classic298 00ad719de0 fix: a subfolder created in a collapsed folder stays hidden (#35283)
Creating a subfolder from a collapsed folder's menu showed "Folder created successfully", but the parent stayed collapsed, so the new folder was nowhere to be seen. The parent now opens and remembers that it is open, the same as clicking its arrow.

Fixes #35282
2026-11-30 18:39:38 +04:00
Classic298 4354c061d7 fix: a failed knowledge base upload shows two error toasts (#35287)
When an upload to a knowledge base failed, the real error showed and then a second, generic "Failed to upload file." right after it. Now only the real error shows.

Fixes #35286
2026-11-30 18:39:13 +04:00
Classic298 0221c17a2c fix: downloading an SVG artifact saves an .html file (#35285)
The download button in the Artifacts panel saved every artifact as an .html file, SVG artifacts included, so image editors and viewers would not open them. SVG artifacts now download as .svg files. HTML artifacts are unchanged.

Fixes #35284
2026-11-30 18:38:54 +04:00
Classic298 f513992355 fix: downloading an image from the full-size viewer saves it with the wrong extension (#35336)
Download in the full-size image viewer saved every embedded image as .png whatever its real type, and an SVG opened from a link was saved as generated_image.svg+xml. Downloads now keep the image's real type and a normal extension such as .jpeg, .webp or .svg.

Fixes #35335
2026-11-30 18:37:55 +04:00
Classic298 35ae1b52e1 fix: two error toasts when a file cannot be read in a temporary chat (#35332)
In a temporary chat, attaching a file the browser cannot read, such as a password-protected or corrupt PDF or DOCX, showed "Failed to extract content from the file: Error: ..." and then a second, generic "Failed to extract content from the file." toast. Now only the first one appears, since it already carries the reason.

Fixes #35331
2026-11-30 18:37:47 +04:00
Classic298 e0fe9d1d5c fix: "Compacting context..." popup disappears before compaction finishes (#35330)
The "Compacting context..." popup closed on its own after four seconds, so on a long chat it vanished while compaction was still running, and "Context compacted" appeared later out of nowhere. "Forking chat..." and the file browser's "Preparing download..." did the same. These popups now stay until the work is done, and the result that replaces them closes after the usual four seconds.

Fixes #35329
2026-11-30 18:36:20 +04:00
Classic298 28583a40a0 fix: chat goes blank after typing a decimal into the message version counter (#35334)
On a message with several versions, double-clicking the "2/3" counter and entering a number like 1.5 emptied the whole chat view. The number is now rounded to the nearest version, so the chat jumps to that version instead of going blank.

Fixes #35333
2026-11-30 18:36:09 +04:00
Classic298 7e2b509869 feat: open a file by typing its path in the machine file browser (#35233)
Typing a file's path into the path bar of a machine's file browser tried it as a folder and showed "Failed to load directory". Now the file opens, and folder paths work as before.

Discussion: https://github.com/open-webui/open-webui/discussions/35231
2026-11-30 18:33:55 +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 2e94968a9a perf: opening a channel no longer loads its pinned messages in the background (#35293)
Every time a channel opened, its pinned messages were fetched even though the Pinned Messages dialog was closed, and that result was thrown away when the dialog loaded them again on open. They now load only when the dialog opens. Requests for pinned messages, counted in the browser over the same clicks:

<table>
<tr><th>Step</th><th>Before</th><th>After</th></tr>
<tr><td>Open a channel</td><td>1</td><td>0</td></tr>
<tr><td>Switch to another channel</td><td>1</td><td>0</td></tr>
<tr><td>Open the Pinned Messages dialog</td><td>2</td><td>2</td></tr>
</table>

Fixes #35292
2026-11-30 18:27:16 +04:00
Classic298 294c0e988d fix: exporting a table to CSV keeps markdown in the header row (#35299)
When a table header had formatting such as **bold**, `code` or a link, Export to CSV wrote it raw, so the header came out as "**Name**" or "[Docs](https://example.com)" while the rows below were clean. The header now takes its text the same way the rows do.

Fixes #35298
2026-11-30 18:26: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 da69677528 fix: screen readers do not announce selected or expanded state in chat messages (#35338)
After a thumbs up or down, the "How would you rate this response?" panel did not tell screen readers which score or reason was selected. The task list collapse button and the code block Collapse button also did not say whether they were open, and the task list button was read in English regardless of the interface language. Screen readers now hear the selected score and reason, the open or closed state of both buttons, and a translated task list label.

Fixes #35337
2026-11-30 18:26:08 +04:00
Classic298 118334a1c6 fix: imported prompts lose their tags (#35340)
Exporting prompts from Workspace > Prompts and importing the same file created the prompts without any of their tags, even though the export file contains them. Import now keeps the tags. Access settings are still left out on purpose, because groups do not carry over between instances.

Fixes #35339
2026-11-30 18:25:59 +04:00
Classic298 d8acc46b69 fix: importing a broken prompts file does nothing (#35342)
Picking a malformed .json file in Workspace > Prompts > Import silently did nothing, and picking the same file again after fixing it did nothing either. Now an "Invalid JSON file" error shows, the same as importing in Workspace > Models, and the file can be picked again right away.

Fixes #35341
2026-11-30 18:25:51 +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
Classic298 36522bbbb6 fix: connection check shows Network Problem instead of the real error (#35346)
Verifying an Anthropic or Ollama connection with a wrong API key showed only "OpenAI: Network Problem" or "Ollama: Network Problem", while the actual reason from the provider was there but got lost. The toast now shows the provider's error, and OpenAI-compatible connections still show theirs.

Fixes #35345
2026-11-30 18:25:36 +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
G30 0d8e4859de fix: a workspace model or prompt can no longer be named with only spaces (#35358) 2026-11-30 18:22:37 +04:00
G30 6a3d9fe837 i18n: fill missing translations in 48 languages (#35172) 2026-11-30 18:22:20 +04:00
Timothy Jaeryang Baek ddbae76706 refac 2026-11-27 19:59:58 +04:00
Timothy Jaeryang Baek 23de0cebab refac 2026-11-27 19:49:59 +04:00
Timothy Jaeryang Baek b9b3957701 refac 2026-11-27 18:18:46 +04:00
Timothy Jaeryang Baek 606d33469a refac 2026-11-27 18:15:04 +04:00
Timothy Jaeryang Baek 7b30ad5bea refac 2026-11-27 17:25:43 +04:00
G30 4dc058bbb7 i18n: fix 35 existing translations in 11 languages (#35155) 2026-11-27 16:02:07 +04:00
Timothy Jaeryang Baek e07a4b2bc6 refac 2026-11-27 15:31:53 +04:00
G30 9a5ce52843 i18n: fill missing translations in 48 languages and fix 14 existing ones (#35138) 2026-11-27 15:06:05 +04:00
Timothy Jaeryang Baek 3f3cd7b971 refac 2026-11-27 04:38:15 +04:00
Timothy Jaeryang Baek d36ab208f3 refac 2026-11-27 04:26:53 +04:00
Timothy Jaeryang Baek 723a1a577f refac 2026-11-27 04:12:22 +04:00
Timothy Jaeryang Baek 205761a76b refac 2026-11-27 03:27:04 +04:00
Timothy Jaeryang Baek aa8d32e9f3 refac 2026-11-27 03:14:04 +04:00
G30 c63565927d fix: keep the main chat's address while a chat tab beside it is in front (#35137) 2026-11-27 03:09:43 +04:00
Classic298 60d9094f67 fix: asking about a file from a folder's Files tab never gets a reply (#35084)
Selecting a spreadsheet cell or some text in a file opened from a folder's Files tab and asking about it opened a new chat with the question and the file, but nothing was sent to the model and no error showed up. Chats in a folder now accept files opened from their own folder, so the question goes out and the reply appears. Files from another folder, another chat or another machine are still refused.

Fixes #35080
2026-11-27 02:44:13 +04:00
Timothy Jaeryang Baek 25d880bd62 refac 2026-11-27 02:42:47 +04:00
Timothy Jaeryang Baek 8103755d47 refac 2026-11-27 02:25:06 +04:00