Skip to content

Commit 391869f

Browse files
Fixes
1 parent 87dd1a7 commit 391869f

26 files changed

Lines changed: 80 additions & 3040 deletions
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Deploy Website
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'website/**'
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: 20
27+
cache: npm
28+
cache-dependency-path: website/package-lock.json
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
working-directory: website
33+
34+
- name: Build site
35+
run: npm run build
36+
working-directory: website
37+
38+
- name: Run Playwright tests
39+
run: npx playwright install chromium && npm test
40+
working-directory: website
41+
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
path: website/_site
46+
47+
deploy:
48+
environment:
49+
name: github-pages
50+
url: ${{ steps.deployment.outputs.page_url }}
51+
runs-on: ubuntu-latest
52+
needs: build
53+
steps:
54+
- name: Deploy to GitHub Pages
55+
id: deployment
56+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ src/test/fixtures/workspace/.vscode/tasktree.json
2828
.too_many_cooks/
2929

3030

31-
.playwright-mcp/
31+
.playwright-mcp/
32+
website/_site/

homepage-dark.png

-124 KB
Binary file not shown.

homepage-full.png

-2.79 MB
Binary file not shown.

src/QuickTasksProvider.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { logger } from './utils/logger';
77
const QUICK_TASK_MIME_TYPE = 'application/vnd.commandtree.quicktask';
88

99
/**
10-
* Provider for the Quick Tasks view - shows tasks tagged as "quick".
10+
* Provider for the Quick Launch view - shows commands tagged as "quick".
1111
* Supports drag-and-drop reordering.
1212
*/
1313
export class QuickTasksProvider implements vscode.TreeDataProvider<CommandTreeItem>, vscode.TreeDragAndDropController<CommandTreeItem> {
@@ -43,7 +43,7 @@ export class QuickTasksProvider implements vscode.TreeDataProvider<CommandTreeIt
4343
}
4444

4545
/**
46-
* Adds a task to the quick list.
46+
* Adds a command to the quick list.
4747
*/
4848
async addToQuick(task: TaskItem): Promise<Result<void, string>> {
4949
const result = await this.tagConfig.addTaskToTag(task, 'quick');
@@ -56,7 +56,7 @@ export class QuickTasksProvider implements vscode.TreeDataProvider<CommandTreeIt
5656
}
5757

5858
/**
59-
* Removes a task from the quick list.
59+
* Removes a command from the quick list.
6060
*/
6161
async removeFromQuick(task: TaskItem): Promise<Result<void, string>> {
6262
const result = await this.tagConfig.removeTaskFromTag(task, 'quick');
@@ -98,7 +98,7 @@ export class QuickTasksProvider implements vscode.TreeDataProvider<CommandTreeIt
9898

9999
if (quickTasks.length === 0) {
100100
logger.quick('No quick tasks found', {});
101-
return [new CommandTreeItem(null, 'No quick tasks - star tasks to add them here', [])];
101+
return [new CommandTreeItem(null, 'No quick commands - star commands to add them here', [])];
102102
}
103103

104104
// Sort by the order in the tag patterns array for deterministic ordering

src/extension.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<Extens
3434
});
3535
context.subscriptions.push(treeView);
3636

37-
// Register quick tasks tree view with drag-and-drop support
37+
// Register Quick Launch tree view with drag-and-drop support
3838
const quickTreeView = vscode.window.createTreeView('commandtree-quick', {
3939
treeDataProvider: quickTasksProvider,
4040
showCollapseAll: true,
@@ -64,7 +64,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<Extens
6464

6565
vscode.commands.registerCommand('commandtree.filter', async () => {
6666
const filter = await vscode.window.showInputBox({
67-
prompt: 'Filter tasks by name, path, or description',
67+
prompt: 'Filter commands by name, path, or description',
6868
placeHolder: 'Type to filter...',
6969
value: ''
7070
});
@@ -155,7 +155,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<Extens
155155

156156
const taskTags = task.tags;
157157
if (taskTags.length === 0) {
158-
vscode.window.showInformationMessage('This task has no tags');
158+
vscode.window.showInformationMessage('This command has no tags');
159159
return;
160160
}
161161

@@ -177,7 +177,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<Extens
177177
})
178178
);
179179

180-
// Watch for file changes that might affect tasks
180+
// Watch for file changes that might affect commands
181181
const watcher = vscode.workspace.createFileSystemWatcher(
182182
'**/{package.json,Makefile,makefile,tasks.json,launch.json,commandtree.json,*.sh,*.py}'
183183
);

src/utils/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Logger {
9393
}
9494

9595
/**
96-
* Logs quick tasks operations
96+
* Logs Quick Launch operations
9797
*/
9898
quick(operation: string, details: Record<string, unknown>): void {
9999
if (!this.enabled) {

0 commit comments

Comments
 (0)