Files
Davide Silvestri b566941058 feat(agent): start runs from HTTP webhooks (#6737)
* feat(agent): start runs from HTTP webhooks

* fix(agent): address HTTP trigger review feedback

- Add opt-in agent trigger types that adapt a shared trigger type
- HTTP: exclude GET by default and drop the workflow response settings
- HTTP: raw body is the default message and the text of an unset one
- A message with no text says when the trigger fired, not the payload
- Forms take hiddenFormFields from their host
- Trigger cards collapse and no longer resize while saving
- Keep the HTTP trigger uid out of exports without sensitive data

* feat(agent): make trigger and action card headers consistent

- Chevron on the left of action cards, as on trigger cards
- "Enabled" label above the switches, on the Expand all line
- Switch tooltip says the state and what a click does
- No divider under an action card's name
2026-11-17 17:14:52 +01:00

25 lines
633 B
Vue

<template>
<div class="agent-card-list-header">
<ButtonText
class="agent-card-list-header__toggle-all"
type="secondary"
size="small"
button-type="button"
@click="$emit('toggle-all')"
>
{{ $t(allExpanded ? 'agent.collapseAll' : 'agent.expandAll') }}
</ButtonText>
<span class="agent-card-list-header__label">{{ $t('agent.enabled') }}</span>
</div>
</template>
<script setup>
import ButtonText from '@baserow/modules/core/components/ButtonText'
defineProps({
/** Whether every card of the list is expanded. */
allExpanded: Boolean,
})
defineEmits(['toggle-all'])
</script>