This commit is contained in:
2026-02-27 11:48:47 +00:00
parent 44b418cbdd
commit 06eae3b443
7 changed files with 21 additions and 19 deletions

View File

@@ -17,7 +17,9 @@
"from": "./ts_web/index.ts", "from": "./ts_web/index.ts",
"to": "./ts_bundled/bundle.ts", "to": "./ts_bundled/bundle.ts",
"outputMode": "base64ts", "outputMode": "base64ts",
"watchPatterns": ["./ts_web/**/*"], "bundler": "esbuild",
"production": true,
"watchPatterns": ["./ts_web/**/*", "./html/**/*"],
"triggerReload": true, "triggerReload": true,
"includeFiles": [{"from": "./html/index.html", "to": "index.html"}] "includeFiles": [{"from": "./html/index.html", "to": "index.html"}]
} }

File diff suppressed because one or more lines are too long

View File

@@ -69,13 +69,13 @@ export class GitopsViewConnections extends DeesElement {
{ {
name: 'Edit', name: 'Edit',
iconName: 'lucide:edit', iconName: 'lucide:edit',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { await this.editConnection(item); }, actionFunc: async ({ item }: any) => { await this.editConnection(item); },
}, },
{ {
name: 'Test', name: 'Test',
iconName: 'lucide:plug', iconName: 'lucide:plug',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
await appstate.connectionsStatePart.dispatchAction( await appstate.connectionsStatePart.dispatchAction(
appstate.testConnectionAction, appstate.testConnectionAction,
@@ -85,8 +85,8 @@ export class GitopsViewConnections extends DeesElement {
}, },
{ {
name: 'Pause/Resume', name: 'Pause/Resume',
iconName: 'lucide:pause-circle', iconName: 'lucide:pauseCircle',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
const isPaused = item.status === 'paused'; const isPaused = item.status === 'paused';
const actionLabel = isPaused ? 'Resume' : 'Pause'; const actionLabel = isPaused ? 'Resume' : 'Pause';
@@ -111,8 +111,8 @@ export class GitopsViewConnections extends DeesElement {
}, },
{ {
name: 'Delete', name: 'Delete',
iconName: 'lucide:trash-2', iconName: 'lucide:trash2',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
await plugins.deesCatalog.DeesModal.createAndShow({ await plugins.deesCatalog.DeesModal.createAndShow({
heading: 'Delete Connection', heading: 'Delete Connection',

View File

@@ -99,7 +99,7 @@ export class GitopsViewGroups extends DeesElement {
{ {
name: 'View Secrets', name: 'View Secrets',
iconName: 'lucide:key', iconName: 'lucide:key',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, { view: 'secrets' }); appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, { view: 'secrets' });
}, },

View File

@@ -133,13 +133,13 @@ export class GitopsViewPipelines extends DeesElement {
{ {
name: 'View Jobs', name: 'View Jobs',
iconName: 'lucide:list', iconName: 'lucide:list',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { await this.viewJobs(item); }, actionFunc: async ({ item }: any) => { await this.viewJobs(item); },
}, },
{ {
name: 'Retry', name: 'Retry',
iconName: 'lucide:refresh-cw', iconName: 'lucide:refreshCw',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
await appstate.dataStatePart.dispatchAction(appstate.retryPipelineAction, { await appstate.dataStatePart.dispatchAction(appstate.retryPipelineAction, {
connectionId: this.selectedConnectionId, connectionId: this.selectedConnectionId,
@@ -150,8 +150,8 @@ export class GitopsViewPipelines extends DeesElement {
}, },
{ {
name: 'Cancel', name: 'Cancel',
iconName: 'lucide:x-circle', iconName: 'lucide:xCircle',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
await appstate.dataStatePart.dispatchAction(appstate.cancelPipelineAction, { await appstate.dataStatePart.dispatchAction(appstate.cancelPipelineAction, {
connectionId: this.selectedConnectionId, connectionId: this.selectedConnectionId,

View File

@@ -100,7 +100,7 @@ export class GitopsViewProjects extends DeesElement {
{ {
name: 'View Secrets', name: 'View Secrets',
iconName: 'lucide:key', iconName: 'lucide:key',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, { view: 'secrets' }); appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, { view: 'secrets' });
}, },
@@ -108,7 +108,7 @@ export class GitopsViewProjects extends DeesElement {
{ {
name: 'View Pipelines', name: 'View Pipelines',
iconName: 'lucide:play', iconName: 'lucide:play',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, { view: 'pipelines' }); appstate.uiStatePart.dispatchAction(appstate.setActiveViewAction, { view: 'pipelines' });
}, },

View File

@@ -165,13 +165,13 @@ export class GitopsViewSecrets extends DeesElement {
{ {
name: 'Edit', name: 'Edit',
iconName: 'lucide:edit', iconName: 'lucide:edit',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { await this.editSecret(item); }, actionFunc: async ({ item }: any) => { await this.editSecret(item); },
}, },
{ {
name: 'Delete', name: 'Delete',
iconName: 'lucide:trash-2', iconName: 'lucide:trash2',
type: ['inRow'], type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { actionFunc: async ({ item }: any) => {
await plugins.deesCatalog.DeesModal.createAndShow({ await plugins.deesCatalog.DeesModal.createAndShow({
heading: 'Delete Secret', heading: 'Delete Secret',