57 Commits
Author SHA1 Message Date
Przemyslaw Kukulski f01dce307f chore: remove the agent-builder and user_templates feature flags (#6960) 2026-12-01 19:56:53 +01:00
Przemyslaw Kukulski bb7ba42b90 fix: small template marketplace fixes (#6916)
* fix: small template marketplace fixes

* Review feedback
2026-11-30 21:08:04 +01:00
Przemyslaw Kukulski fa2a48b520 feat: search shared templates by author and link to "Your templates" (#6880) 2026-11-27 10:12:11 +01:00
Przemyslaw Kukulski becb8db5a1 feat: track template marketplace usage in PostHog (#6847) 2026-11-26 12:40:30 +01:00
Przemyslaw Kukulski ed9eb7d3a7 feat: turn user templates off for a whole instance (#6842)
* feat: turn user templates off for a whole instance

* Review feedback
2026-11-26 11:12:23 +01:00
alamin-br 1106a141fc feat(agent): carry identities in templates and import/export (#6807)
* feat(agent): skip Agents when importing with the feature flag off

* feat(agent): use an enabled model when an imported Agent's model isn't available

* feat(agent): keep an imported Agent's tool choices until an identity is picked

* feat(agent): tell the editor an imported Agent's tools turn on with an identity

* feat(agent): let template previews read an Agent's configuration

* feat(agent): show Agents in the template preview

* fix(agent): check the configuration permission when copying an Agent into a user template

* fix(agent): let signed out visitors preview an Agent in a template

* fix(agent): sync a template again once its Agents can be imported

* fix(agent): make an installed Agent's data-changing tools ask first

* fix(agent): list only MCP servers as connected apps in the template preview

* test(agent): cover blank imported models and duplicates without their identity

* fix(agent): keep pending tools when tools are saved without an identity

Tools stay off without an identity, so a full-config save from an API client
shouldn't throw away the choices an imported Agent is waiting to apply.

* fix(agent): fail a template install when every application is left out

With the agent builder flag off, a template holding only Agents installed
nothing yet reported success and counted the install.

* fix(agent): say why a template with nothing to install fails

"The content of the template was removed" sent people looking for a broken
template when the real cause is a feature turned off on this instance.

* docs(agent): say a user template copy refuses an Agent the owner can't read

* fix(agent): import Agents for users granted the flag

Feature flags can now be granted per user, so the import checks the user it's for instead of only the instance.

* fix(agent): sign up with a template of only Agents while their flag is off

The signup install raised TemplateHasNothingToInstall and returned a 500 without creating the account.

* fix(agent): refuse a user template when none of its applications can be copied

An owner without the Agent flag got an empty template that no one could install.

* fix(agent): refuse a user template that would leave out a selected Agent

A mixed selection lost its Agents without notice, and every update lost them again.

* fix(agent): skip templates with nothing to install in fill_workspaces

* feat(agent): create a scoped identity for each Agent a template installs

An installed Agent waits for an identity before its tools work. An admin with
roles can now get one per Agent at install, with access to only the template's
databases, instead of picking a workspace-wide identity by hand.

* fix(agent): name the applications a user template can't copy

The job failed with a generic message, and checking before the copy creates nothing.

* fix(agent): don't offer hidden applications to export or save as a template

Agents without their feature flag were listed, so Select all always failed.

* chore(agent): log the templates fill_workspaces skips

* fix(agent): filter pickers by type availability, not by permissions

Permissions can load after the update form preselects, which dropped builders and automations.

* fix(agent): keep the count check after a user template copy

* fix(agent): don't count unusable applications as template content

* feat(agent): offer a scoped identity per Agent when installing a template

Only shown where the installer has roles and may create identities and assign
their roles, so the default flow stays as it was everywhere else.

* fix(agent): skip the identity when a template installs no database

An identity scoped to nothing can't run the Agent's tools, so it's left waiting for one to be picked.

* fix(agent): audit binding an installed Agent to its new identity

The Agent gets the identity's access, so the bind is recorded like one made by hand.

* fix(agent): import Agents whatever the importer's feature flags

A user's early access must not change what an import saves. Agents are
now kept by template sync, template installs, user template copies and
workspace file imports, so someone who gets the flag later finds them
with their configuration. Also moves is_template_storage after the
existing ImportExportConfig fields, so positional arguments keep their
meaning.

* fix(agent): hide Agents in template previews and install toasts without the flag

The preview opens another application when the preferred one is a hidden
Agent, and the install toast links to the first application the user can
see.

* fix(agent): hide the identity option for a template without databases

The backend skips the identity when nothing would grant it access, so the option did nothing.

* feat(agent): let builders scope template identities and keep their roles

Builders install templates but can't create identities, so a narrower permission covers one with no workspace access and a role only on what they installed.
Templates now carry the application roles of an Agent's identity, so an install recreates them.

* feat(agent): offer template identities to builders for any application

The identity now gets a role on every application of the template, not only databases.

* fix(agent): recreate only builder or viewer roles from a template identity

An exported role list is now applied exactly, so an empty one no longer falls back to access on every application, and malformed entries are skipped.

* fix(agent): only skip role permissions when scoping template identities

Licence, subject and scope checks still run, an identity that would get no
role isn't created, and expected failures are logged as warnings.

* fix(agent): keep the identity roles of a user template's Agent

The template copy of an Agent waits for an identity, so its export dropped
the roles it was imported with and installs fell back to tool-based roles.

* fix(agent): hide unreadable roles of an Agent waiting for an identity

An export by a user leaves out the carried roles they can't read, like
those of a bound Agent's identity.

* fix(agent): create no install identities while the Agent builder is off

The installer can't see the Agents or manage their identities then.

* fix(agent): recreate exact template identity roles on install

Editor and commenter roles are kept, admin only when the installer may change roles.
Agent-only templates get an identity without access; names with links get none.
Identities are created through a scoped identity action; unexpected failures reach Sentry.

* fix(agent): show the full install identity option and what it gets

The option wraps instead of being cut, explains the identity's access, and shows for Agent-only templates.
The user template form no longer says the Agent identity roles aren't copied.

* fix(agent): never export more identity access than the template had

An application with table or view roles, or roles the exporter can't read, is left out, so the install gives no access to it instead of the tools' defaults.

* chore: renumber the install template job migration to 0144

Develop added 0142 and 0143 core migrations.

* feat(agent): export the identity of an Agent as an object with a key

Other application types can refer to the same identity later, and Agents
that ran as one identity share the new one an install creates.

* feat(agent): carry identities in templates and exports as workspace objects

Identities are described beside the applications and created before them, so
rows, view owners and filters that point at an identity keep pointing at one.
Creation needs no install option, since identities take no license seat.

* fix(agent): renumber the identity definition migration to 0023

* fix(agent): make the identity definition migration follow 0022

* feat(agent): let applications report and bind the identities they refer to

An identity keeps the role it had on its workspace instead of a role guessed
from its Agent's tools, and an application can refer to several identities.
Also carries team and per-application roles, and Agents with only triggers.
2026-11-24 19:14:28 +01:00
Przemyslaw Kukulski 19bb477c64 fix: show apps and dashboards in signed-out template previews; user template previews run no data sources (#6841) 2026-11-24 12:56:08 +01:00
alamin-br fc1131bc62 feat(agent): support Agents in templates and import/export (#6789)
* feat(agent): skip Agents when importing with the feature flag off

* feat(agent): use an enabled model when an imported Agent's model isn't available

* feat(agent): keep an imported Agent's tool choices until an identity is picked

* feat(agent): tell the editor an imported Agent's tools turn on with an identity

* feat(agent): let template previews read an Agent's configuration

* feat(agent): show Agents in the template preview

* fix(agent): check the configuration permission when copying an Agent into a user template

* fix(agent): let signed out visitors preview an Agent in a template

* fix(agent): sync a template again once its Agents can be imported

* fix(agent): make an installed Agent's data-changing tools ask first

* fix(agent): list only MCP servers as connected apps in the template preview

* test(agent): cover blank imported models and duplicates without their identity

* fix(agent): keep pending tools when tools are saved without an identity

Tools stay off without an identity, so a full-config save from an API client
shouldn't throw away the choices an imported Agent is waiting to apply.

* fix(agent): fail a template install when every application is left out

With the agent builder flag off, a template holding only Agents installed
nothing yet reported success and counted the install.

* fix(agent): say why a template with nothing to install fails

"The content of the template was removed" sent people looking for a broken
template when the real cause is a feature turned off on this instance.

* docs(agent): say a user template copy refuses an Agent the owner can't read

* fix(agent): import Agents for users granted the flag

Feature flags can now be granted per user, so the import checks the user it's for instead of only the instance.

* fix(agent): sign up with a template of only Agents while their flag is off

The signup install raised TemplateHasNothingToInstall and returned a 500 without creating the account.

* fix(agent): refuse a user template when none of its applications can be copied

An owner without the Agent flag got an empty template that no one could install.

* fix(agent): refuse a user template that would leave out a selected Agent

A mixed selection lost its Agents without notice, and every update lost them again.

* fix(agent): skip templates with nothing to install in fill_workspaces

* fix(agent): name the applications a user template can't copy

The job failed with a generic message, and checking before the copy creates nothing.

* fix(agent): don't offer hidden applications to export or save as a template

Agents without their feature flag were listed, so Select all always failed.

* chore(agent): log the templates fill_workspaces skips

* fix(agent): filter pickers by type availability, not by permissions

Permissions can load after the update form preselects, which dropped builders and automations.

* fix(agent): keep the count check after a user template copy

* fix(agent): don't count unusable applications as template content

* fix(agent): import Agents whatever the importer's feature flags

A user's early access must not change what an import saves. Agents are
now kept by template sync, template installs, user template copies and
workspace file imports, so someone who gets the flag later finds them
with their configuration. Also moves is_template_storage after the
existing ImportExportConfig fields, so positional arguments keep their
meaning.

* fix(agent): hide Agents in template previews and install toasts without the flag

The preview opens another application when the preferred one is a hidden
Agent, and the install toast links to the first application the user can
see.
2026-11-20 13:57:09 +00:00
Przemyslaw KukulskiandDavide Silvestri e9d920d3fc fix(core): open user template links without the user_templates flag (#6804)
* fix(core): open user template links without the user_templates flag

* fix(core): list no user templates for type=user without the flag

Without the user_templates flag, a list filtered by type=user returned the official templates. It now returns nothing.

---------

Co-authored-by: Davide Silvestri <silvestri.eng@gmail.com>
2026-11-20 09:51:35 +00:00
Przemyslaw Kukulski 7ea2f1c56b feat: template marketplace tweaks and fixes (#6741)
* feat: template marketplace tweaks and fixes

* Review feedback
2026-11-19 20:25:02 +01:00
Przemyslaw Kukulski db66e25b17 feat: per-user feature flags for early access (#6780) 2026-11-19 08:32:55 +01:00
Przemyslaw Kukulski 47ef996921 feat: a way back for a blocked user template (#6696)
* feat: a blocked user template has a way back

* Review feedback
2026-11-16 12:09:41 +01:00
Przemyslaw Kukulski 7121039db6 feat: block and unblock user templates from the admin Templates page (#6661)
* feat: block and unblock user templates from the admin Templates page

* Review feedback
2026-11-12 20:24:32 +01:00
Przemyslaw Kukulski 13ac9fc914 feat: manage every user template from the admin Templates page (#6654)
* feat: manage every user template from the admin Templates page

* Review feedback
2026-11-10 20:14:11 +01:00
Przemyslaw Kukulski 5e6ce919b6 feat: share a user template with a private link (#6611)
* feat: share a user template with a private link

* Review feedback
2026-11-10 12:50:34 +01:00
Przemyslaw Kukulski 91df1115d3 feat: review user templates from the admin page, with an approval setting (#6549)
* feat: review user templates from the admin page, with an approval setting

* Review feedback

* Review feedback 2

* Review feedback 3
2026-11-10 12:27:38 +01:00
Przemyslaw Kukulski 98f727dc2e feat: make a user template public or private, with a Shared templates listing (#6546)
* feat: make a user template public or private

* Review feedback

* Review feedback 2
2026-11-03 21:10:25 +01:00
Przemyslaw Kukulski 2f17b58e1c feat: download a user template (#6477)
* feat: download a user template

* Review feedback

* Review feedback 2
2026-11-03 07:49:04 +01:00
Przemyslaw Kukulski 0ee2b96c49 feat: leave password values out of user templates (#6474)
* feat: leave password values out of user templates

* Review feedback

* Review feedback
2026-10-28 16:30:20 +00:00
Przemyslaw Kukulski 356f9a9da6 feat: install a user template (#6460)
* feat(install-user-template): Install a user template

* Review feedback

* Review feedback v2
2026-10-28 14:07:20 +01:00
Przemyslaw Kukulski cb0ef177ac feat: delete a user template (#6455)
* feat(delete-user-template): Delete a user template, and when its author is deleted

* Review feedback
2026-10-23 15:23:42 +02:00
Przemyslaw Kukulski 48e666c34c feat(update-user-template): Update a user template's details and content (#6428) 2026-10-23 09:57:34 +02:00
Przemyslaw Kukulski 58a9449209 feat: create a user template and list it in "Your templates" (#6421)
* feat(jobs): Opt-in lock so a job type can refuse a cancel after its commit

* feat(create-user-template): Create a user template and list it in "Your templates"

* fix(create-user-template): Address review feedback

- Only the owner can open a user template; the slug endpoint returns 404
  otherwise and includes `type`.
- List templates through `/api/templates/?view=flat` instead of `/own/`.
- Rename the job's copy to `template_workspace`, renumber the migration to
  0132 after develop's core migrations, guard it like 0128, and move
  revision fields and metadata to the update PR.
- Clear references outside the selection instead of failing the import,
  lock the owner row against a concurrent delete, and keep leftovers
  tracked until they're deleted.
- Load workspace permissions only for the wizard, handle instances without
  categories, restore a running job before a failed one, and open the
  default template again in the template modal.
- Reuse existing export, cancel and serializer code, keep one icon list,
  remove overlapping tests, and give template fixtures a unique slug.
2026-10-22 12:05:04 +02:00
Przemyslaw Kukulski fc3a9bb1d7 feat: descriptions for official templates (#6389)
* feat: descriptions for official templates

* fix: shorten template descriptions to fit two lines
2026-10-19 14:00:15 +02:00
Przemyslaw Kukulski 8ba73684d8 feat(core): new template browser behind the user_templates feature flag (#6334) 2026-10-14 15:48:33 +02:00
Bram e8887f392a All workspaces homepage [7/7] Minor recent workspace homepage changes (#6108)
* Minor recent workspace homepage changes

* Add kuma to dashboard recent homepage

* cleaned up further and made `isAssistantAvailable` reuable

* Fixed feedback
2026-09-25 14:12:53 +02:00
Bram 35866e79de All workspaces homepage [2/7] Added all workspaces page and sidebar (#5980)
* Added all workspaces page and sidebar

* Show error if workspace is not found

* Fixed feedback

* Fixed feedback

* Fix test
2026-09-23 22:44:24 +02:00
Bram 42371d6beb feat: Add skeleton loading animation and make pages load instantly (#6023) 2026-09-09 11:03:03 +02:00
Peter Evans 8348969d3d bug: resolve various application builder Sentry issues (#5585) 2026-06-30 10:13:42 +00:00
Jonathan Adeline 552ce22d16 chore: Bump to Nuxt4 (#5197) 2026-06-17 16:10:09 +04:00
Jérémie Pardou 5f62493460 fix: automation template replacing editor content and other template bugs (#5049) 2026-03-30 08:55:00 +02:00
Jérémie Pardou 9dfc082d9e feat: support automation templates (#4944)
* Add template for automation
2026-03-19 08:23:01 +01: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
Bram Wiepjes 5ec7c31101 Added Baserow, Eclipse, and Ivory theme templates 2025-03-18 21:36:31 +00:00
Bram Wiepjes e72c8b1fd2 Allow horizontal resize of left sidebar (frontend) 2024-08-02 05:08:21 +00:00
Bram Wiepjes 04e1a69c03 New left sidebar 2024-07-31 13:41:49 +00:00
Jonathan Adeline 2df101c80c Add new workspace homepage 2024-07-25 17:05:43 +00:00
Jonathan Adeline df738083a6 FormGroup FormInput FormTextarea refactoring 2024-07-05 09:35:08 +00:00
Jérémie Pardou b17daa1e49 Resolve "Add database + application templates" 2024-05-02 14:25:42 +00:00
Jonathan Adeline 574f1f7eb0 Fix template install button 2024-04-16 17:23:48 +00:00
Bram Wiepjes a73e72c313 Allow co-branding 2024-03-15 14:10:47 +00:00
Bram Wiepjes e8343e9a0c Modal close button position fixes 2024-01-11 10:36:06 +01:00
Bram Wiepjes e5a6eb0f68 Merge branch 'replace-template-icons' into 'develop'
Replaced template icons with Iconoir

See merge request baserow/baserow!1726
2023-10-05 11:06:52 +00:00
Bram Wiepjes f59ea512c8 Replaced template icons with Iconoir 2023-10-05 11:06:51 +00:00
Bram Wiepjes 748334b944 Various icon alignments and fixes 2023-10-04 14:24:37 +00:00
Jonathan Adeline 4321aaea9a Replace icons 2023-09-28 13:39:41 +00:00
Bram Wiepjes 3e1affb8f6 Resolve "Traditional (non-native) CMD/CTRL + F search doesn't work on dashboard" 2023-09-25 12:10:21 +00:00
Davide Silvestri a6253ec1ed Resolve "The new database created using the template will show defects" 2023-08-16 16:24:26 +00:00
Petr Stribny 4aa56a2409 Add search shortcut to other screens 2023-08-02 08:21:53 +00:00
Peter Evans 0426ead072 Resolve "Rename group to workspace in frontend code." 2023-03-28 14:40:58 +00:00