Add burndown chart button
This commit is contained in:
@ -143,6 +143,12 @@ export default class KanbnBoardPanel {
|
||||
message.columnName
|
||||
);
|
||||
return;
|
||||
|
||||
// Open a burndown chart
|
||||
case 'kanbn.burndown':
|
||||
// TODO open a burndown chart webview panel
|
||||
vscode.window.showInformationMessage('opening burndown chart...');
|
||||
return;
|
||||
}
|
||||
}, null, this._disposables);
|
||||
}
|
||||
|
@ -102,6 +102,13 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||
}
|
||||
}));
|
||||
|
||||
// Register a command to open a burndown chart.
|
||||
context.subscriptions.push(vscode.commands.registerCommand('kanbn.burndown', async () => {
|
||||
|
||||
// TODO open burndown chart singleton webview panel
|
||||
vscode.window.showErrorMessage('Not implemented yet!');
|
||||
}));
|
||||
|
||||
// If a workspace folder is open, add a status bar item and start watching for file changes
|
||||
if (vscode.workspace.workspaceFolders !== undefined) {
|
||||
|
||||
|
Reference in New Issue
Block a user