feat(editor): Open template credential setup from collection (#7882)

Open the template credential setup when using a template from the
collection view.

NOTE! This feature is still behind a feature flag. To test, set:

```js
localStorage.setItem('template-credentials-setup', 'true')
```


https://github.com/n8n-io/n8n/assets/10324676/46ccec7c-5a44-429e-99ad-1c10640e99e5
This commit is contained in:
Tomi Turtiainen
2023-11-30 14:09:12 +02:00
committed by GitHub
parent 67702c2485
commit 627ddb91fb
8 changed files with 132 additions and 48 deletions

View File

@@ -7,6 +7,7 @@
!loading && $style.loaded,
]"
@click="onCardClick"
data-test-id="template-card"
>
<div :class="$style.loading" v-if="loading">
<n8n-loading :rows="2" :shrinkLast="false" :loading="loading" />
@@ -39,6 +40,7 @@
outline
label="Use workflow"
@click.stop="onUseWorkflowClick"
data-test-id="use-workflow-button"
/>
</div>
</div>