refactor(editor): Add skip option to activation modal (#6092)
⚡ Add skip option to activation modal
This commit is contained in:
@@ -47,6 +47,13 @@
|
||||
</template>
|
||||
<template #footer>
|
||||
<div :class="$style.modalFooter">
|
||||
<n8n-button
|
||||
size="large"
|
||||
type="secondary"
|
||||
data-test-id="skip-button"
|
||||
:label="locale.baseText('userActivationSurveyModal.form.button.skip')"
|
||||
@click="onSkip"
|
||||
/>
|
||||
<n8n-button
|
||||
:disabled="!hasAnyChanges"
|
||||
@click="onShareFeedback"
|
||||
@@ -100,6 +107,10 @@ const onShareFeedback = () => {
|
||||
modalBus.emit('close');
|
||||
};
|
||||
|
||||
const onSkip = () => {
|
||||
modalBus.emit('close');
|
||||
};
|
||||
|
||||
const getCurrentSettings = () => {
|
||||
return userStore.currentUser?.settings;
|
||||
};
|
||||
|
||||
@@ -1806,6 +1806,7 @@
|
||||
"userActivationSurveyModal.description.savedTime": "for the first time. Looks like n8n just saved you some time! Can you help us make n8n even better and answer the following question?",
|
||||
"userActivationSurveyModal.form.label": "What almost stopped you from creating this workflow?",
|
||||
"userActivationSurveyModal.form.button.shareFeedback": "Share feedback",
|
||||
"userActivationSurveyModal.form.button.skip": "Skip",
|
||||
"userActivationSurveyModal.sharedFeedback.success": "Thanks for your feedback",
|
||||
"userActivationSurveyModal.sharedFeedback.error": "Problem sharing feedback, try again",
|
||||
"sso.login.divider": "or",
|
||||
|
||||
Reference in New Issue
Block a user