diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json index f9434b997f..d1da2587f9 100644 --- a/packages/nc-gui/lang/en.json +++ b/packages/nc-gui/lang/en.json @@ -216,6 +216,8 @@ "scripts": "Scripts", "workflows": "Workflows", "dashboards": "Dashboards", + "version": "Version", + "versions": "Versions", "configure": "Configure", "switch": "Switch", "on": "On", @@ -813,6 +815,10 @@ "isNotNull": "is not null" }, "title": { + "versionHistory": "Version History", + "versionDeployments": "Version Deployments", + "forkToDraft": "Fork to Draft", + "discardDraft": "Discard Draft?", "setPassword": "Set Password", "externalIntegrations": "External Integrations", "mcpServer": "MCP Server", @@ -1189,11 +1195,40 @@ "live": "Live", "upToDate": "Up to date", "updateAvailable": "Update available", + "discardDraft": "Discard Draft", + "discarding": "Discarding", + "returnTo": "Return to", + "currentDraft": "Current Draft", + "rollbackTo": "Rollback to", "managedAppTitle": "Title", "managedAppDescription": "Description", "managedAppCategory": "Category", "managedAppTags": "Tags", "managedAppVisibility": "Visibility", + "goLive": "Go live", + "pleaseProvideVersion": "Please provide a version", + "newVersion": "New Version", + "semanticVersioningHint": "Use semantic versioning (e.g., 2.0.0, 2.1.0)", + "createDraft": "Create Draft", + "loadingDeployments": "Loading deployments...", + "deploymentHistory": "Deployment History", + "loadingHistory": "Loading history...", + "initialInstall": "Initial Install", + "noDeploymentHistoryAvailable": "No deployment history available", + "noInstallationsFound": "No installations found", + "versionHistoryAndUpdates": "Version history and updates", + "noChangelogAvailable": "No changelog available", + "noVersionsAvailable": "No versions available", + "versionHistoryAppearHere": "Version history will appear here once available.", + "manageVersionsAndTrackDeployments": "Manage versions and track deployments", + "loadingDeploymentStatistics": "Loading deployment statistics...", + "totalInstalls": "Total Installs", + "viewChangelog": "View Changelog", + "noInstallationsYet": "No installations yet", + "appStoreInstallationsDescription": "Once users install your application from the App Store, their deployments will appear here.", + "failedToLoadStatistics": "Failed to load statistics", + "errorLoadingDeploymentData": "There was an error loading deployment data", + "describeWhatsNew": "Describe what's new in this version", "snapShotSubText": "Snapshots serve as comprehensive backups of your base, capturing its state at the time of creation. Restoring a snapshot creates a new instance of the base in the designated workspace.", "newSnapshot": "New Snapshot", "searchASnapshot": "Search a snapshot", @@ -2245,6 +2280,16 @@ "searchTemplates": "Search templates" }, "msg": { + "replaceVersionAndGoLive": "Replace {version} and go live", + "discardDraftConfirmation": "This will discard all changes made in the current draft and rollback to the latest published version. This action cannot be undone.", + "draftDiscardedSuccessfully": "Draft discarded successfully", + "versionPublishedSuccessfully": "Version {version} published successfully!", + "draftCreatedSuccessfully": "New draft version {version} created successfully!", + "publishingWillMakeAvailable": "Publishing version {version} will make it available in the App Store and automatically update all installations.", + "createDraftDescription": "Create a new draft version to work on updates. Current published version {version} will remain unchanged.", + "createVersionToMakeChanges": "Create {version} to make changes", + "trackingInstallationsFor": "Tracking installations for", + "currentlyOnVersion": "Currently on {version}", "ssoTokenTooltip": "Generated after SSO login and can be used for accessing APIs under SSO-enabled workspace", "privateBaseAccessRestricted": "This is a private base. You do not have permission to view or invite members.", "userAlreadyExists": "{email} already has access to this {scope}", diff --git a/packages/nocodb/src/controllers/internal/operationScopes.ts b/packages/nocodb/src/controllers/internal/operationScopes.ts index b6e7603125..17fe62803c 100644 --- a/packages/nocodb/src/controllers/internal/operationScopes.ts +++ b/packages/nocodb/src/controllers/internal/operationScopes.ts @@ -135,6 +135,7 @@ export const OPERATION_SCOPES = { managedAppDelete: 'base', managedAppPublish: 'base', managedAppCreateDraft: 'base', + managedAppDiscardDraft: 'base', managedAppUnpublish: 'base', managedAppInstall: 'workspace', managedAppGetUpdates: 'base',