update
This commit is contained in:
@@ -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
@@ -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',
|
||||
|
||||
@@ -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' });
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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' });
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user