Skip to content

Commit 2dd0fd8

Browse files
committed
fix(mpp-vscode): address PR #32 review comments
- Fix repository URL from phodal/auto-dev to phodal/auto-dev-sketch - Remove unused colors variable in status-bar.ts - Add platform detection for welcome message keybinding (Cmd vs Ctrl)
1 parent c5bf005 commit 2dd0fd8

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

mpp-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "Apache-2.0",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/phodal/auto-dev"
10+
"url": "https://github.com/phodal/auto-dev-sketch"
1111
},
1212
"engines": {
1313
"vscode": "^1.85.0"

mpp-vscode/src/extension.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ export async function activate(context: vscode.ExtensionContext) {
127127
// Show welcome message on first install
128128
const welcomeShownKey = 'autodev.welcomeShown';
129129
if (!context.globalState.get(welcomeShownKey)) {
130+
const isMac = process.platform === 'darwin';
131+
const keyCombo = isMac ? 'Cmd+Shift+A' : 'Ctrl+Shift+A';
130132
vscode.window.showInformationMessage(
131-
'AutoDev extension installed successfully! Press Cmd+Shift+A to open chat.'
133+
`AutoDev extension installed successfully! Press ${keyCombo} to open chat.`
132134
);
133135
context.globalState.update(welcomeShownKey, true);
134136
}

mpp-vscode/src/services/status-bar.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ export class StatusBarManager {
7070
error: '$(error)'
7171
};
7272

73-
const colors: Record<StatusBarState, string | undefined> = {
74-
idle: undefined,
75-
thinking: new vscode.ThemeColor('statusBarItem.warningForeground').toString(),
76-
streaming: new vscode.ThemeColor('statusBarItem.prominentForeground').toString(),
77-
error: new vscode.ThemeColor('statusBarItem.errorForeground').toString()
78-
};
79-
8073
const icon = icons[this.state];
8174
const text = message || this.getDefaultText();
8275

0 commit comments

Comments
 (0)