feat(KB-048): add collapsible list sections to dashboard

- Add section expansion state management with localStorage persistence
- Update section headers with chevron toggle controls
- Implement conditional task row rendering based on section state
- Add Expand All / Collapse All toolbar controls
- Add CSS styles for chevron rotation animation and section headers
- Add comprehensive tests for collapsible section behavior
This commit is contained in:
gsxdsm
2026-03-29 19:51:41 -07:00
parent 6a00c56217
commit a53e4c1420
111 changed files with 23013 additions and 2936 deletions

View File

@@ -0,0 +1,9 @@
---
"@dustinbyrne/kb": minor
---
Add `--dev` CLI option to `kb dashboard` for dashboard-only mode
The new `--dev` flag starts only the web UI without initializing the AI engine components (TriageProcessor, TaskExecutor, Scheduler) or auto-merge queue. This enables development workflows where the dashboard runs standalone while the engine operates in a separate process.
Usage: `kb dashboard --dev`

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": patch
---
Add `--paused` flag to `kb dashboard` command to start with engine automation disabled. When used, the dashboard starts with `enginePaused` set to true, preventing triage, execution, and auto-merge from running until manually unpaused from the web dashboard settings.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add Git Manager to dashboard for repository visualization and management. View commits with diffs, manage branches, see worktree/task associations, and perform fetch/pull/push operations directly from the web UI.

View File

@@ -0,0 +1,18 @@
---
"@dustinbyrne/kb": minor
---
Add ability to import new tasks from GitHub issues
Users can now run `kb task import <owner/repo>` to fetch open issues from a GitHub repository and create tasks from them. Each imported issue becomes a task in the "triage" column with:
- Issue title as task title (truncated to 200 chars)
- Issue body as description with source URL appended
- Duplicate detection based on source URL
Options:
- `--limit, -l <n>`: Max issues to import (default: 30, max: 100)
- `--labels, -L <labels>`: Comma-separated label filter (e.g., "bug,enhancement")
Pi extension also includes new `kb_task_import_github` tool for programmatic access.
Requires `GITHUB_TOKEN` env var for private repositories and to avoid rate limits.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add interactive GitHub issue import to CLI, dashboard, and pi extension. The existing `kb task import` command gains an `--interactive` (`-i`) flag for selective import. Dashboard adds Import button with issue browser. Extension adds `kb_task_import_github_issue` tool for single-issue import and `kb_task_browse_github_issues` for browsing issues before import.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": patch
---
Add column visibility toggle to list view. Users can now show/hide columns via the Columns button in the toolbar, with preferences persisting to localStorage.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add option for manual plan approval on web dashboard. When `requirePlanApproval` is enabled in settings, AI-generated task specifications remain in triage awaiting human approval before moving to todo. Users can approve or reject plans directly from the task detail modal.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add spec editing and AI revision from dashboard. New "Spec" tab in task detail view allows manual editing of PROMPT.md and requesting AI revisions with natural language feedback.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add `kb task duplicate` command to create a copy of any task in triage.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": patch
---
Add task steering from dashboard — users can now add comments to in-progress tasks that are injected into the AI execution context

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add collapsible steps toggle to task cards on the dashboard

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add pop-out terminal view to dashboard for monitoring multiple active task logs simultaneously. Accessible via new terminal button in header when tasks are in progress.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add automatic merge conflict resolution for auto-merge. When enabled, the system will intelligently auto-resolve lock files and generated files, and retry failed merges with escalating strategies (AI → auto-resolve → merge -X theirs).

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Dashboard: Task dependencies are now clickable links that open the dependency task details. Dependencies displayed on TaskCard badges and in TaskDetailModal can be clicked to view the dependency's full details.

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Dashboard: Task dependencies in detail view are now clickable links

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add collapsible column sections to List View. Each column group (triage, todo, in-progress, in-review, done) can now be independently expanded or collapsed by clicking the section header. Section expansion state is persisted to localStorage and restored on page reload. Includes expand all / collapse all buttons in the toolbar for quick access.

View File

@@ -0,0 +1,5 @@
---
"@kb/dashboard": patch
---
Fix retry button for failed tasks in non-in-progress columns

View File

@@ -0,0 +1,5 @@
---
"@kb/dashboard": minor
---
GitHub import now detects git remotes and pre-populates owner/repo fields. Adds a dropdown to select from multiple remotes and auto-fills when only one remote exists.

View File

@@ -0,0 +1,7 @@
---
"@dustinbyrne/kb": patch
---
Group list view tasks by column with section headers
The task list view now displays tasks grouped by their column (triage, todo, in-progress, in-review, done). Each section shows a header with the column's color dot, label, and task count. Empty sections display a "No tasks" placeholder, and when filtering is active, empty sections are hidden. Sorting continues to work within each section, preserving the selected sort order within column groups.

View File

@@ -0,0 +1,5 @@
---
"@kb/dashboard": patch
---
Add inline editing for cards in triage and todo columns. Double-click a card or use the edit button to quickly modify title and description without opening the full detail modal.

View File

@@ -0,0 +1,12 @@
---
"@dustinbyrne/kb": patch
---
Simplify GitHub import modal by removing manual owner/repo input fields
The GitHub import modal now relies solely on git remote detection:
- Single remote: automatically selected and displayed as read-only text
- Multiple remotes: clean dropdown for selection
- No remotes: helpful message with instructions to add a remote
This reduces UI clutter and prevents confusion between manual entry and remote selection.

View File

@@ -0,0 +1,17 @@
---
"@dustinbyrne/kb": minor
---
Add smart automatic merge conflict resolution. Lock files, generated files, and trivial whitespace conflicts are now resolved automatically without AI intervention, reducing merge latency and API costs.
New API in `@kb/engine`:
- `classifyConflict(filePath, cwd)` - returns 'lockfile-ours' | 'generated-theirs' | 'trivial-whitespace' | 'complex'
- `getConflictedFiles(cwd)` - list conflicted files via git
- `resolveWithOurs(filePath, cwd)` - resolve using current branch
- `resolveWithTheirs(filePath, cwd)` - resolve using incoming branch
- `resolveTrivialWhitespace(filePath, cwd)` - resolve whitespace conflicts
- `isTrivialWhitespaceConflict(filePath, cwd)` - detect using git diff-tree -w
- Exported pattern constants: `LOCKFILE_PATTERNS`, `GENERATED_PATTERNS`
New setting: `smartConflictResolution` (alias for `autoResolveConflicts`)
New MergeResult fields: `resolutionMethod`, `autoResolvedCount` for tracking resolution paths