{{ field.helpText }}
@@ -79,12 +79,26 @@ const setFormState = (path: string, value: any) => {
{{ field.label }}
+
+
+
+ {{ field.helpText }}
+
+
+
+
-
+
diff --git a/packages/nc-gui/lib/formBuilder.ts b/packages/nc-gui/lib/formBuilder.ts
index eac75e900d..8346454559 100644
--- a/packages/nc-gui/lib/formBuilder.ts
+++ b/packages/nc-gui/lib/formBuilder.ts
@@ -20,6 +20,7 @@ export interface FormBuilderElement {
options?: { value: string; label: string }[]
// used for styling switch
border?: boolean
+ showHintAsTooltip?: boolean
}
export type FormDefinition = FormBuilderElement[]
diff --git a/packages/nc-gui/public/plugins/aws.png b/packages/nc-gui/public/plugins/aws.png
old mode 100755
new mode 100644
index f069d1949f..7a672841f1
Binary files a/packages/nc-gui/public/plugins/aws.png and b/packages/nc-gui/public/plugins/aws.png differ
diff --git a/packages/nocodb/src/plugins/smtp/index.ts b/packages/nocodb/src/plugins/smtp/index.ts
index cb3b73ca65..82fb759c8f 100644
--- a/packages/nocodb/src/plugins/smtp/index.ts
+++ b/packages/nocodb/src/plugins/smtp/index.ts
@@ -115,13 +115,13 @@ const config: XcPluginConfig = {
msgOnInstall:
'Successfully installed and email notification will use SMTP configuration',
msgOnUninstall: '',
+ docs: [
+ {
+ title: 'Setting up SMTP as email service',
+ url: 'https://docs.nocodb.com/plugins',
+ },
+ ],
},
- docs: [
- {
- title: 'SMTP',
- url: 'https://docs.nocodb.com/plugins',
- },
- ],
};
export default config;
diff --git a/packages/nocodb/src/types/nc-plugin/common/XcUIBuilder.ts b/packages/nocodb/src/types/nc-plugin/common/XcUIBuilder.ts
index 5d2b9bfa86..444024e2a5 100644
--- a/packages/nocodb/src/types/nc-plugin/common/XcUIBuilder.ts
+++ b/packages/nocodb/src/types/nc-plugin/common/XcUIBuilder.ts
@@ -1,9 +1,14 @@
+export interface XcPluginDoc {
+ title: string;
+ url: string;
+}
interface XcForm {
title: string;
items: XcItem[];
actions: XcButton[];
msgOnInstall: string;
msgOnUninstall: string;
+ docs?: XcPluginDoc[];
[key: string]: any;
}
declare enum XcType {
diff --git a/packages/nocodb/src/types/nc-plugin/lib/XcPluginConfig.ts b/packages/nocodb/src/types/nc-plugin/lib/XcPluginConfig.ts
index fc50a9370c..5fbb8b9568 100644
--- a/packages/nocodb/src/types/nc-plugin/lib/XcPluginConfig.ts
+++ b/packages/nocodb/src/types/nc-plugin/lib/XcPluginConfig.ts
@@ -3,11 +3,6 @@ import type { XcForm } from '~/types/nc-plugin';
import type XcPlugin from './XcPlugin';
import type XcPluginMigration from './XcPluginMigration';
-export interface XcPluginDoc{
- title: string;
- url: string;
-}
-
export default interface XcPluginConfig {
title: string;
logo?: string;
@@ -22,7 +17,6 @@ export default interface XcPluginConfig {
migrations?: XcPluginMigration[];
msgOnInstall?: string;
msgOnUninstall?: string;
- docs?: XcPluginDoc[];
}
type Constructor