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",
"to": "./ts_bundled/bundle.ts",
"outputMode": "base64ts",
"watchPatterns": ["./ts_web/**/*"],
"bundler": "esbuild",
"production": true,
"watchPatterns": ["./ts_web/**/*", "./html/**/*"],
"triggerReload": true,
"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',
iconName: 'lucide:edit',
type: ['inRow'],
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { await this.editConnection(item); },
},
{
name: 'Test',
iconName: 'lucide:plug',
type: ['inRow'],
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => {
await appstate.connectionsStatePart.dispatchAction(
appstate.testConnectionAction,
@@ -85,8 +85,8 @@ export class GitopsViewConnections extends DeesElement {
},
{
name: 'Pause/Resume',
iconName: 'lucide:pause-circle',
type: ['inRow'],
iconName: 'lucide:pauseCircle',
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => {
const isPaused = item.status === 'paused';
const actionLabel = isPaused ? 'Resume' : 'Pause';
@@ -111,8 +111,8 @@ export class GitopsViewConnections extends DeesElement {
},
{
name: 'Delete',
iconName: 'lucide:trash-2',
type: ['inRow'],
iconName: 'lucide:trash2',
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => {
await plugins.deesCatalog.DeesModal.createAndShow({
heading: 'Delete Connection',

View File

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

View File

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

View File

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

View File

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