From 73aa028b7bb9eb170a98d1f3ca2eac8b4debec6f Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Thu, 5 Nov 2026 11:43:42 +0000 Subject: [PATCH] feat: group the Authenticate as picker into members and identities (#6577) --- .../local_baserow/local_baserow_form.scss | 6 + web-frontend/modules/core/services/agent.js | 8 ++ .../integrations/LocalBaserowForm.vue | 133 +++++++++++++----- .../localBaserow/integrationTypes.js | 4 - .../modules/integrations/locales/en.json | 6 +- .../localBaserow/localBaserowForm.spec.js | 108 +++++++++----- 6 files changed, 187 insertions(+), 78 deletions(-) diff --git a/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss b/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss index 3f2aa63b50..a5c7b56bde 100644 --- a/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss +++ b/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss @@ -9,6 +9,12 @@ } } +// The subjects have a description, so they're taller than the four one-line +// items the list fits by default. +.local-baserow-form__subject .select__items { + max-height: 320px; +} + .field-mapping-form__placeholder { width: 100%; height: 36px; diff --git a/web-frontend/modules/core/services/agent.js b/web-frontend/modules/core/services/agent.js index 61c21a9c4e..319b5632c4 100644 --- a/web-frontend/modules/core/services/agent.js +++ b/web-frontend/modules/core/services/agent.js @@ -32,6 +32,14 @@ export default (client) => data: { ...response.data, results, next: null }, } }, + /** Fetch one page of the Agents of the workspace. */ + listPage(workspaceId, { page = 1, search = '', size = 100 } = {}) { + const params = { page, size } + if (search) { + params.search = search + } + return client.get(`/agents/workspace/${workspaceId}/`, { params }) + }, update(agentId, values) { return client.patch(`/agents/${agentId}/`, values) }, diff --git a/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue b/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue index 836ab5b8e5..570add3b98 100644 --- a/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue +++ b/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue @@ -2,26 +2,39 @@