E57B chore: adds tasks statusbar image to experimental feature · podman-desktop/podman-desktop@79d156f · GitHub
[go: up one dir, main page]

Skip to content

Commit 79d156f

Browse files
committed
chore: adds tasks statusbar image to experimental feature
Signed-off-by: Evzen Gasta <evzen.ml@seznam.cz>
1 parent acc34de commit 79d156f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
516 KB
Loading

packages/main/src/plugin/tasks/task-manager.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ test('task manager init should register a configuration option', async () => {
107107
description: 'Show running tasks in the status bar',
108108
experimental: {
109109
githubDiscussionLink: expect.stringContaining('github.com/podman-desktop/podman-desktop/discussions'),
110+
image: expect.stringContaining('.webp'),
110111
},
111112
},
112113
}),

packages/main/src/plugin/tasks/task-manager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import { IConfigurationRegistry } from '/@api/configuration/models.js';
2727
import type { NotificationTaskInfo, TaskInfo } from '/@api/taskInfo.js';
2828
import { ExperimentalTasksSettings } from '/@api/tasks-preferences.js';
2929

30+
import tasksStatusbarImage from '../../assets/tasks.StatusBar.webp';
3031
import { ApiSenderType } from '../api.js';
3132
import { CommandRegistry } from '../command-registry.js';
3233
import { ExperimentalConfigurationManager } from '../experimental-configuration-manager.js';
@@ -77,6 +78,7 @@ export class TaskManager {
7778
type: 'object',
7879
experimental: {
7980
githubDiscussionLink: 'https://github.com/podman-desktop/podman-desktop/discussions/10777',
81+
image: tasksStatusbarImage,
8082
},
8183
},
8284
[`${ExperimentalTasksSettings.SectionName}.${ExperimentalTasksSettings.Toast}`]: {

0 commit comments

Comments
 (0)
0