mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
* feat(agent): trigger agents when rows are created, updated or deleted * test(agent): find the trigger picker by the class it now has The trigger picker renders the shared service picker since the send email actions, so its menu is under .agent-service-picker. * fix(agent): check a trigger's access again before its conversation starts The task that starts a firing's conversation trusted the access check made when the event happened. A run identity removed, trashed or without access by the time the task ran still got a conversation with the event's rows. * fix(agent): apply the row trigger review fixes - A type change moves an overlap rule left at the old type's default to the new type's default. - Queued replies wait while the run identity can't read what the trigger watches. - An imported formula is kept as written when no path is remapped, through one import_formula in core. - Row events hand their listeners services holding the event's table. - Trigger form choices no longer read the workspace's views. - A first row too long for a message is cut short instead of left out. - A no-access error for a type the card no longer shows is ignored. - The dispatcher no longer clamps the batch size. * fix(agent): keep the merged trigger behaviour and UI for row triggers - Skipping stays the default overlap rule: only the row trigger types say their events can't be skipped, so HTTP and periodic triggers start as they did before. - The workspace-access note is a plain alert and the batch size field is spaced like the hosted forms, without style overrides. - The type-change and queued-firing tests are develop's again, with the row trigger tests added after them. - ADR 014 names the hooks row triggers add to the shared service type. * fix(agent): show a row trigger without workspace access as misconfigured The trigger can't run until the agent has workspace access, so its card gets the error icon with a tooltip and the database field shows the error, instead of an info note.
15 lines
365 B
Vue
15 lines
365 B
Vue
<template>
|
|
<AgentFormulaInput
|
|
v-bind="$attrs"
|
|
:data-providers-allowed="['trigger']"
|
|
allow-node-selection="array"
|
|
@update:model-value="$emit('update:modelValue', $event)"
|
|
/>
|
|
</template>
|
|
|
|
<script setup>
|
|
import AgentFormulaInput from '@baserow/modules/agent/components/configuration/AgentFormulaInput'
|
|
|
|
defineEmits(['update:modelValue'])
|
|
</script>
|