mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
💄 Added instance ID to about modal and restyled credentials docs link (#3903)
feat(editor): Added instance ID to about modal and restyled credentials docs link * 💄 Use Notice component instead of Callout in CredentialConfig, remove unused imports * 💄 Use css var for n8n-notice component and override it for credential configs to get rid of additional margins * ✅ Update n8n-notice snapshots Co-authored-by: Oleg Ivaniv <oleg@n8n.io>
This commit is contained in:
committed by
GitHub
parent
b5c831122c
commit
0e8cb74ab3
@@ -38,12 +38,14 @@
|
||||
@click="$emit('retest')"
|
||||
/>
|
||||
|
||||
<n8n-info-tip v-if="documentationUrl && credentialProperties.length">
|
||||
<n8n-notice v-if="documentationUrl && credentialProperties.length" theme="warning">
|
||||
{{ $locale.baseText('credentialEdit.credentialConfig.needHelpFillingOutTheseFields') }}
|
||||
<n8n-link :to="documentationUrl" size="small" :bold="true" @click="onDocumentationUrlClick">
|
||||
{{ $locale.baseText('credentialEdit.credentialConfig.openDocs') }}
|
||||
</n8n-link>
|
||||
</n8n-info-tip>
|
||||
<span class="ml-4xs">
|
||||
<n8n-link :to="documentationUrl" size="small" bold @click="onDocumentationUrlClick">
|
||||
{{ $locale.baseText('credentialEdit.credentialConfig.openDocs') }}
|
||||
</n8n-link>
|
||||
</span>
|
||||
</n8n-notice>
|
||||
|
||||
<CopyInput
|
||||
v-if="isOAuthType && credentialProperties.length"
|
||||
@@ -73,10 +75,9 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { ICredentialType, INodeTypeDescription } from 'n8n-workflow';
|
||||
import { ICredentialType } from 'n8n-workflow';
|
||||
import { getAppNameFromCredType, isCommunityPackageName } from '../helpers';
|
||||
|
||||
import Vue from 'vue';
|
||||
import Banner from '../Banner.vue';
|
||||
import CopyInput from '../CopyInput.vue';
|
||||
import CredentialInputs from './CredentialInputs.vue';
|
||||
@@ -84,7 +85,6 @@ import OauthButton from './OauthButton.vue';
|
||||
import { restApi } from '@/components/mixins/restApi';
|
||||
import { addCredentialTranslation } from '@/plugins/i18n';
|
||||
import mixins from 'vue-typed-mixins';
|
||||
import { NPM_PACKAGE_DOCS_BASE_URL } from '@/constants';
|
||||
|
||||
export default mixins(restApi).extend({
|
||||
name: 'CredentialConfig',
|
||||
@@ -217,6 +217,7 @@ export default mixins(restApi).extend({
|
||||
|
||||
<style lang="scss" module>
|
||||
.container {
|
||||
--notice-margin: 0;
|
||||
> * {
|
||||
margin-bottom: var(--spacing-l);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user