Commit Graph
952 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 044a5fd0a5 refac 2026-10-25 16:11:51 +09:00
Timothy Jaeryang Baek 08bfaa4be6 refac 2026-10-25 15:09:48 +09:00
Timothy Jaeryang Baek c7e34e0fa9 refac 2026-10-25 14:34:12 +09:00
Timothy Jaeryang Baek 5f95008abd refac 2026-10-25 14:20:56 +09:00
Timothy Jaeryang Baek 7f1b618727 refac 2026-10-25 13:59:14 +09:00
G30 6cfcf5fc7a fix(a11y): the model and prompt editors' name, ID and command fields are at least 24 pixels tall when Accessibility Mode is on (#33149) 2026-10-25 13:48:44 +09:00
G30 be0177f1e7 fix(a11y): the code box in the tool and function editors has a name (#33129) 2026-10-25 12:16:07 +09:00
G30 5372577430 fix(a11y): the Visibility button's name includes the choice it shows (#33125) 2026-10-25 12:15:42 +09:00
G30 331b38f875 fix(a11y): the Create knowledge base, Create Prompt and Clone Prompt dialogs have names (#33119) 2026-10-25 12:15:29 +09:00
G30 b3606703af fix(a11y): the model editor's Description, Tools, Skills, Filters and Actions rows are named by what they show (#33123) 2026-10-25 12:03:42 +09:00
G30 9ffc4cc360 fix(a11y): the model editor's JSON Preview row passes contrast in Accessibility Mode (#33133) 2026-10-25 12:03:20 +09:00
Classic298 0a568f6a81 fix: knowledge base files stay on "Uploading" instead of switching to "Processing" (#32982)
* fix: knowledge base files stay on "Uploading" instead of switching to "Processing"

A file added to a knowledge base is uploaded in a moment, and the long wait after that is the text extraction, which the file list still called "Uploading". Nothing updated on its own either, so the only way to find out whether a file had moved on or finished was to leave the knowledge base and come back. The file now switches to "Processing" as soon as it has reached the server, and the list keeps itself current until the file is ready, so slow text extraction no longer looks like a stuck upload. Adding a folder or a web page goes through a different flow and is not touched here.

* refac: inline the processing status update for knowledge base uploads

Moves the status update straight into the upload call with no change in behaviour.

* refac: drop a stray blank line and comment from the upload handler

Removes a blank line and a comment the previous follow-up added, with no change in behaviour.
2026-10-25 08:11:35 +09:00
G30 ece6bc1a55 fix(a11y): list rows in Workspace, Functions and Automations aren't buttons around their controls; each name is a link (#33102) 2026-10-25 08:05:23 +09:00
Classic298 2cf014c7e9 fix: built-in tool toggles show while their feature is off (#32964)
* fix: built-in tool toggles show while their feature is off

The model editor listed the Memory, Notes, Channels, Notifications, Web Search, Image Generation, Code Interpreter, Automations, Calendar and Sub-agents built-in tools even when the admin had turned that feature off for the whole instance, where those toggles do nothing. Each of them is now hidden while its feature is off, and the choices saved on a model are kept for when it is turned back on. The server now also reports whether sub-agents are on, and saving the Sub-agents settings updates the editor without a reload.

Refs #32830

* refac: name the feature switch map like the rest of the codebase

Uses the same name the model capabilities change uses for its matching map.

* refac: keep each tool's feature switch next to its label

Each built-in tool now carries its feature switch alongside its label and description, so the list is defined in one place.
2026-10-25 07:46:22 +09:00
Classic298 758e4f6cc3 fix: built-in tools show while the model's matching capability is off (#32965)
* fix: built-in tools show while the model's matching capability is off

The Files built-in tool showed in the model editor although a model only gets it while File Upload is on and File Context is off, and File Context is on by default. The Memory, Web Search, Image Generation and Code Interpreter tools also showed while the same capability was off on that model. These tools now appear and disappear as the model's capabilities are switched, and the saved tool choices are kept for when the capability is turned back on.

Refs #32830

* refac: filter built-in tools by their capability directly

Same behaviour, with the per-tool capability list folded into the filter.

* fix: treat unset file capabilities as on when showing the Files tool

Matches how the server decides whether a model gets the Files tool.
2026-10-25 07:35:35 +09:00
Classic298 0c684208bb fix: files selected together for a knowledge base only appear one at a time (#32992)
* fix: files selected together for a knowledge base only appear one at a time

Selecting or dropping several files into a knowledge base showed a row for the first file only. The others got no row at all until the one before them had finished processing, which with slow text extraction can be many minutes per file, so they looked lost. Every selected file now shows up as "Uploading" straight away, in the order they will be uploaded, and keeps its row until it has been added to the knowledge base. Each file still waits for the previous one to finish processing, as before.

* refac: give the upload list a type

The list of files waiting to upload now carries the same type as the rows it holds.
2026-10-25 07:23:46 +09:00
Classic298 98f23b17a5 fix: model capability toggles show while their feature is off (#32963)
* fix: model capability toggles show while their feature is off

In the model editor and the admin model defaults, the Web Search, Image Generation, Code Interpreter and Memory capabilities and the matching Default Features showed even when the admin had turned that feature off for the whole instance, so switching them did nothing. They are now hidden while the feature is off. Values already saved on a model are kept, so turning the feature back on restores each model's settings.

Refs #32830

* refac: use the codebase's name for instance feature switches

Renames the new feature lookup to match how the rest of the frontend refers to instance features.

* refac: keep each feature switch next to its capability

Reads the instance feature switch from the existing capability list instead of a separate map, with no change in behaviour.
2026-10-25 06:52:18 +09:00
Classic298 5e62c8997f fix: Terminal capability shows while no terminal server exists (#32966)
* fix: Terminal capability shows while no terminal server exists

The Terminal capability showed in the model editor even when the admin had set up no terminal server and direct integrations were off, which is the default, so it did nothing. It now shows only when an enabled terminal server exists or users can add their own through direct integrations, and the value saved on a model is kept. The server now reports whether any enabled terminal server exists, since the editor itself only sees the servers the current user can access and a model can be shared with other users.

Refs #32830

* fix: hide the default terminal picker when no terminal is available

The model editor still showed the default terminal line when no terminal server or direct integration was available. It now follows the same rule as the Terminal capability.
2026-10-25 05:15:13 +09:00
G30 db5090dee3 fix(a11y): the on/off switches on Skills, Functions and Automations rows are named and no longer wrapped in an unnamed button (#33096) 2026-10-25 04:49:50 +09:00
Classic298 ac12b04aad fix: access button shows while sharing is not allowed (#32979)
The Access button in the model, prompt, tool, knowledge, skill and note editors, the Access entry in their list menus and the Access button in folder settings showed to users without the matching sharing permission. The dialog then had nothing they could change. The button and the menu entry now only show to users who may share that kind of item, and admins see them as before.

Refs #32830
2026-10-23 10:58:17 +09:00
Timothy Jaeryang Baek 82d6f230b4 refac 2026-10-23 10:57:12 +09:00
G30 c90536e21d fix(a11y): each Workspace page has a heading for screen readers (#32911) 2026-10-23 04:40:23 +09:00
G30 7fe27647d4 fix(a11y): the on/off switch on a Prompts row isn't nested inside another button (#32928) 2026-10-23 03:50:19 +09:00
G30 e231ca160b fix(a11y): copying a prompt in Workspace shows a notification that screen readers read (#32905) 2026-10-23 02:50:03 +09:00
Timothy Jaeryang Baek 4491e60a29 refac 2026-10-21 11:30:22 +09:00
Timothy Jaeryang Baek 1184d36c13 refac 2026-10-21 08:56:52 +09:00
Timothy Jaeryang Baek 5a46aad0f0 refac 2026-10-21 08:56:28 +09:00
Timothy Jaeryang Baek ba34b1c47c refac 2026-10-21 08:41:25 +09:00
Timothy Jaeryang Baek 02974f41e9 refac 2026-10-21 08:32:08 +09:00
G30 d907b61816 fix: dropping several folders on a knowledge base uploads all of them (#32653) 2026-10-21 02:34:03 +09:00
G30 b6808df7d6 fix: the close button on 22 dialogs and the update notice gets a name for screen readers (#32615) 2026-10-21 02:31:52 +09:00
Timothy Jaeryang Baek 59d6f5e43c refac 2026-10-16 14:18:22 +04:00
G30 a8dd8dbf98 fix: a model can switch off every Default Feature the admin turned on (#32500)
The model editor dropped meta.defaultFeatureIds when the list was empty.
When Admin Settings > Models > Model Defaults turns a default feature on,
the backend fills in that default for any model without the key, so
switching the last feature off on a model saved nothing and the admin
default came back on reopen and in new chats.

Keep the empty list when the admin default is not empty, so the model's
choice is stored and overrides it.
2026-10-16 03:22:13 +04:00
G30 9cc648cad8 fix: a built-in tool a model turns back on stays on (#32504)
When Admin Settings > Models > Model Defaults turns a built-in tool off,
a model that turns it back on lost that choice on Save. The editor seeds
the model's builtinTools with the admin defaults object itself, and
setBuiltinTool deleted the tool's key in place, so the admin defaults
changed too. The empty map was then dropped on save, and the backend
filled in the admin default again.

Update a copy of the map in setBuiltinTool, as the Default Features
toggles in Capabilities.svelte already build a new list, and keep the
empty map when the admin default is not empty, so the model's choice is
stored and overrides it.
2026-10-16 03:14:30 +04:00
G30 08f6023427 fix: a collaborator saving a shared knowledge base's name or description keeps its sharing (#32450) 2026-10-15 13:58:49 +04:00
Timothy Jaeryang Baek 0d895443b4 refac 2026-10-14 18:02:58 +04:00
Timothy Jaeryang Baek 7ba3e44386 refac 2026-10-14 17:04:58 +04:00
Timothy Jaeryang Baek fe0e725997 refac 2026-10-14 16:57:58 +04:00
Timothy Jaeryang Baek d51fffb468 refac 2026-10-14 15:28:19 +04:00
Timothy Jaeryang Baek 1045d74c75 refac 2026-10-14 15:20:25 +04:00
Timothy Jaeryang Baek ff502881e0 refac 2026-10-14 14:04:51 +04:00
Timothy Jaeryang Baek cae8a7e199 refac 2026-10-14 14:03:22 +04:00
Timothy Jaeryang Baek ab518a4321 refac 2026-10-14 13:55:08 +04:00
Timothy Jaeryang Baek 5060923c63 refac 2026-10-14 13:53:47 +04:00
Timothy Jaeryang Baek 303cf180fc refac 2026-10-13 18:07:32 +04:00
G30 d7803a8ce2 fix: keep the open knowledge file open when an unrelated folder is deleted (#32319) 2026-10-13 16:48:57 +04:00
Timothy Jaeryang Baek d823ebd96d refac 2026-10-12 23:59:19 +04:00
Timothy Jaeryang Baek e9635596dd refac 2026-10-12 23:22:18 +04:00
Timothy Jaeryang Baek 04bccecb8e refac 2026-10-12 17:29:04 +04:00
Timothy Jaeryang Baek d786ed56c9 refac 2026-10-12 11:16:56 +04:00