π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: sandbox follow up
mertmit89acc74c6e6a
diff --git a/packages/nc-gui/components/dlg/Sandbox/Create.vue b/packages/nc-gui/components/dlg/Sandbox/Create.vuenew file mode 100644index 0000000000..7c3f5c658a--- /dev/null+++ b/packages/nc-gui/components/dlg/Sandbox/Create.vue@@ -0,0 +1,3 @@+<template>+ <NcSpanHidden />+</template>diff --git a/packages/nc-gui/components/dlg/Sandbox/List.vue b/packages/nc-gui/components/dlg/Sandbox/List.vuenew file mode 100644index 0000000000..7c3f5c658a--- /dev/null+++ b/packages/nc-gui/components/dlg/Sandbox/List.vue@@ -0,0 +1,3 @@+<template>+ <NcSpanHidden />+</template>diff --git a/packages/nc-gui/components/smartsheet/topbar/SandboxStatus/index.vue b/packages/nc-gui/components/smartsheet/topbar/SandboxStatus/index.vuenew file mode 100644index 0000000000..7c3f5c658a--- /dev/null+++ b/packages/nc-gui/components/smartsheet/topbar/SandboxStatus/index.vue@@ -0,0 +1,3 @@+<template>+ <NcSpanHidden />+</template>diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.jsonindex 627234db7d..770561ee85 100644--- a/packages/nc-gui/lang/en.json+++ b/packages/nc-gui/lang/en.json@@ -1222,6 +1222,46 @@"managedAppCategory": "Category","managedAppTags": "Tags","managedAppVisibility": "Visibility",+ "unknownUser": "Unknown User",+ "sandbox": "Sandbox",+ "sandboxEnvironment": "Sandbox Environment",+ "sandboxActive": "Sandbox Active",+ "editingInIsolatedEnvironment": "Editing in isolated environment",+ "publishToMaster": "Publish to Master",+ "pushChangesToMainBase": "Push changes to the main base",+ "goToMasterBase": "Go to Master Base",+ "viewOriginalBase": "View the original base",+ "discardChanges": "Discard Changes",+ "revertAllChangesToMatchMaster": "Revert all changes to match master",+ "publishSandboxChanges": "Publish Sandbox Changes",+ "sandboxChangesPublished": "Sandbox Changes Published",+ "failedToPublishChanges": "Failed to Publish Changes",+ "mergeSchemaChangesWarning": "This will merge all schema changes from this sandbox into the master base.",+ "sandboxChangesPublishedSuccess": "Sandbox changes have been published successfully.",+ "viewChangesOnMaster": "You can now go to the master base to view the changes.",+ "publishChangesAction": "Publish Changes",+ "publishing": "Publishing...",+ "createSandbox": "Create Sandbox",+ "sandboxCreated": "Sandbox Created",+ "failedToCreateSandbox": "Failed to Create Sandbox",+ "sandboxTitle": "Title",+ "sandboxDescriptionOptional": "Description (optional)",+ "enterSandboxTitle": "Enter sandbox title",+ "sandboxDescriptionPlaceholder": "What are you working on in this sandbox?",+ "includeRecords": "Include records",+ "creatingSandbox": "Creating Sandbox...",+ "goToSandbox": "Go to Sandbox",+ "sandboxCreatedSuccess": "Sandbox \"{title}\" has been created successfully.",+ "sandboxCreatedInstructions": "You can now make changes to this sandbox. When ready, publish your changes back to the master base.",+ "allSandboxes": "All Sandboxes",+ "manageSandboxesFor": "Manage sandboxes for {title}",+ "noSandboxesFound": "No sandboxes found. Create one to get started.",+ "noDescriptionProvided": "No description provided.",+ "deleteSandbox": "Delete Sandbox",+ "sandboxChangesReverted": "Sandbox changes reverted successfully",+ "createNewSandbox": "Create new sandbox",+ "viewAllSandboxes": "View all sandboxes",+ "justNow": "Just now","goLive": "Go live","pleaseProvideVersion": "Please provide a version","newVersion": "New Version",diff --git a/packages/nocodb-sdk/src/lib/enums.ts b/packages/nocodb-sdk/src/lib/enums.tsindex 3242639550..4265201008 100644--- a/packages/nocodb-sdk/src/lib/enums.ts+++ b/packages/nocodb-sdk/src/lib/enums.ts@@ -257,6 +257,7 @@ export enum AppEvents {WORKFLOW_EXECUTE = 'workflow.execute',SANDBOX_CREATE = 'sandbox.create',+ SANDBOX_DELETE = 'sandbox.delete',SANDBOX_DISCARD = 'sandbox.discard',SANDBOX_MERGE = 'sandbox.merge',}diff --git a/packages/nocodb/src/meta/meta.service.ts b/packages/nocodb/src/meta/meta.service.tsindex f9bb8a8479..92b41406b0 100644--- a/packages/nocodb/src/meta/meta.service.ts+++ b/packages/nocodb/src/meta/meta.service.ts@@ -134,6 +134,7 @@ export class MetaService {[MetaTable.MANAGED_APPS]: 'ma',[MetaTable.MANAGED_APP_VERSIONS]: 'mav',[MetaTable.MANAGED_APP_DEPLOYMENT_LOGS]: 'madl',+ [MetaTable.SANDBOXES]: 'sb',};const prefix = prefixMap[target] || 'nc';