Browse Source

Updated action categories, adding a logic specific entry for the conditional step. Shift the action text above the button.

master
Dean 4 years ago
parent
commit
24cfc17a78
  1. 6
      packages/builder/src/components/design/settings/controls/ButtonActionEditor/ButtonActionEditor.svelte
  2. 10
      packages/builder/src/components/design/settings/controls/ButtonActionEditor/manifest.json

6
packages/builder/src/components/design/settings/controls/ButtonActionEditor/ButtonActionEditor.svelte

@ -76,8 +76,9 @@
} set`
</script>
<ActionButton on:click={openDrawer}>Define actions</ActionButton>
<div class="action-count">{actionText}</div>
<ActionButton on:click={openDrawer}>Define actions</ActionButton>
<Drawer bind:this={drawer} title={"Actions"}>
<svelte:fragment slot="description">
Define what actions to run.
@ -94,6 +95,7 @@
<style>
.action-count {
padding-top: var(--spacing-s);
padding-bottom: var(--spacing-s);
font-weight: 600;
}
</style>

10
packages/builder/src/components/design/settings/controls/ButtonActionEditor/manifest.json

@ -29,7 +29,7 @@
},
{
"name": "Navigate To",
"type": "ui/ux",
"type": "application",
"component": "NavigateTo"
},
{
@ -45,7 +45,7 @@
},
{
"name": "Trigger Automation",
"type": "ui/ux",
"type": "application",
"component": "TriggerAutomation"
},
{
@ -70,12 +70,12 @@
},
{
"name": "Log Out",
"type": "ui/ux",
"type": "application",
"component": "LogOut"
},
{
"name": "Close Screen Modal",
"type": "ui/ux",
"type": "application",
"component": "CloseScreenModal"
},
{
@ -107,7 +107,7 @@
},
{
"name": "Continue if / Stop if",
"type": "ui/ux",
"type": "logic",
"component": "ContinueIf",
"dependsOnFeature": "continueIfAction"
}

Loading…
Cancel
Save