7 Commits
Author SHA1 Message Date
Davide SilvestriandBram Wiepjes 72760990c5 feat(agent-builder): configure Agent instructions and model (#6415)
* feat(agent): configure Agent instructions and model

Adds the Agent settings fields, readiness and configuration endpoints, an
autosaving configuration sidebar and the settings permission. Settings are
copied with the Agent and exported only by members who can read them.

* test(agent): share Agent page setup and mock helpers

Both page specs reuse one setup and one-line route mocks, and API tests share
an authenticated client.

* fix(agent): lock parent before configuration updates

* fix(agent): limit model availability checks to settings readers

* refactor(agent): read Agent readiness from the application

Readiness travels with the application payload instead of a separate
readiness endpoint, so the page load and realtime updates keep it current.

The configuration form also stays stable while editing. It no longer
reloads on unrelated application updates, saves text fields on blur and
selections on change, restores a blank name instead of blocking
navigation, keeps the current Agent selected when the save before a
switch fails, and ignores re-selecting the current provider. The export
permission test now goes through ExportApplicationsActionType.

* fix(agent): tighten the Agent configuration API

The configuration endpoint now serves only instructions, provider and
model behind agent_application.read_configuration, which saving also
requires. Renames go through the standard application update, the views
return their declared serializers, the length limits come from the model,
and the endpoints are documented in the API schema.

* fix(agent): rename through the application and fit the assistant panel

The configuration sidebar renames the Agent through the regular application
update, follows the Agent column width with container queries, offers
Retry first without an empty actions row, keeps its focus outline on its
own buttons, and names an unavailable provider. The first load starts on
mount, and the specs mount with a route record and find fields by label.

* fix(agent): keep configuration edits across token refreshes

The page reset itself whenever a token refresh reassigned the user, because
the watch compared a new array each time; it now watches the Agent and user
ids by value. The configuration payload names its readiness `readiness`,
like the application payload, and the redundant readiness tests are gone.

* fix(agent): explain configuration section errors

* fix(agent): address configuration review feedback

* refactor(agent): reuse shared menu and button components

* fix(agent): align sidebar separators and back control with design

* fix(agent): match sidebar close control to design

* Remove name input loading spinner and added newline

* remove double validation

---------

Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
2026-10-23 09:12:13 +00:00
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00
Peter Evans f7704e8258 Introduce "Send Slack message" in application builder. (#4239)
* Adding the builder workflow action for the new Slack send message service.

* Lint fix; tweaks

* Add the issue_origin
2025-11-14 13:31:06 +00:00
Bram Wiepjes ae03a265f3 Fix ButtonText props 2025-06-03 10:08:52 +00:00
Abdalla Mahmoud ecf24f13c3 Fixed an issue with customBind() in ButtonText 2025-05-29 17:34:34 +02:00
Jérémie Pardou 6e16645bda Add styles for inputs 2024-07-18 12:51:03 +00:00
Jonathan Adeline 3dd3d98972 Buttons refactor 2024-04-15 11:29:17 +00:00