mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
* feat: scaffold Agent Builder applications and empty agents * chore: defer Agent Builder changelog until feature flag removal * refactor: represent each agent as a workspace application * fix: complete Agent application rollout safeguards * fix: use the designed robot icon for Agent applications * refactor: gate only Agent application creation * refactor: keep Agent scaffold on standard shared behavior * fix(agent): load workspace access before opening from overview * refactor(agent): align enterprise feature naming * refactor(agent): retain application stylesheet name * refactor(agent): move application scaffold into open source * fix(agent): hide the empty Agents sidebar group while creation is disabled * test(agent): keep only Agent-specific scaffold tests Generic application behaviour is already covered by core tests, and the branch has no enterprise code, so the enterprise tests are removed. * refactor(agent): define the agent-builder flag with the other flags * chore(agent): type Agent application hooks and tidy flag docs * fix(agent): support the purple item icon color * fix(agent): use the shared application type keys for Agent names The export and import dialogs read `applicationType.<type>s`, so Agent groups showed the raw key. * fix(agent): hide the Agent type filter while creation is disabled All workspaces now only offers the application types that can be created, so Agent stays out of the filter while the flag is off. * fix(agent): use a singular Agent search subtitle * test(agent): cover Agent creation with the flag enabled * refactor(agent): match the Agent search type to Dashboard The backend already filters results by read permission, and the Agent route checks access when it opens. * refactor(agent): drop the unreachable sidebar creation check The only link that opens the modal already checks `canBeCreated()`. * fix(agent): drop the Enterprise-only hint from the empty Agent page Managing access needs Enterprise, so the text was wrong elsewhere. * refactor(agent): drop the default allowed_fields from the Agent type * feat(agent): track when Agents were last viewed Opening an Agent now loads it from `GET /api/agent/<id>/`, which marks it viewed like the load endpoints of the other application types.
25 lines
628 B
Vue
25 lines
628 B
Vue
<template>
|
|
<ApplicationContext
|
|
ref="context"
|
|
:application="application"
|
|
:workspace="workspace"
|
|
/>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import ApplicationContext from '@baserow/modules/core/components/application/ApplicationContext'
|
|
|
|
defineProps({
|
|
application: { type: Object, required: true },
|
|
workspace: { type: Object, required: true },
|
|
})
|
|
// The shared application context sends rename through its containing component.
|
|
defineEmits(['rename'])
|
|
const context = ref(null)
|
|
defineExpose({
|
|
toggle: (...args) => context.value.toggle(...args),
|
|
hide: () => context.value.hide(),
|
|
})
|
|
</script>
|