When the YAML editor has no structure to display (empty content),
show a list of available top-level config fields from fieldDocs
as a quick reference instead of a blank "No structure" message.
Move the expand-panel button from floating position into the editor
Card's title bar (next to config.yaml / .skillignore path). Panel
collapse/expand uses CSS transition (flex/opacity/width) instead of
conditional rendering for smooth animation without layout jump.
Right-side context-aware panel: errors → field docs → structure
tree (auto-switch by priority), manual lock to Structure or Diff.
Visual design uses project design system: Badge for status/types,
IconButton for collapse (PanelRightClose/Open), dashed separators,
animate-fade-in transitions, card-like error items, border-l-2
indicators on active tree nodes and diff lines, segmented-control
pills for bottom bar, memoized parsing and lookups.
ConfigPage: flex layout, stable CodeMirror extensions via refs,
Cmd+S save keymap, Cmd+B panel toggle, dirty state guard,
.skillignore simplified panel, floating IconButton collapse toggle.
Server:
- GET /api/extras returns source_type field
- POST /api/extras accepts optional source field
- extrasSourceDir helper uses ResolveExtrasSourceDir
- Auto-backfill extras_source on create, auto-create dirs on sync
- Fix data race: snapshot ExtrasSource under RLock in handleExtrasDiff
Web UI:
- ExtraCard shows source type badge for non-default sources
- AddExtraModal includes optional source path input
- Comprehensive cache invalidation: config/extras/targets mutations
invalidate all dependent queries across pages
- Add lazy import and route for BatchUninstallPage in App.tsx
(placed before skills/:name to avoid capturing as dynamic param)
- Add "Batch Uninstall" nav entry with Trash2 icon in Layout.tsx MANAGE group
- Add "Batch Uninstall" secondary button next to "New Skill" in SkillsPage header
Implements a full batch uninstall page with:
- Group dropdown, glob pattern input, and type segmented control filters
- Multi-select with tracked repo auto-grouping (select one skill in a
repo selects all siblings)
- Confirmation dialog with force option for dirty tracked repos
- Result summary with per-item success/failure details
- Navigation to Skills and Sync pages after completion
Add BatchUninstallRequest, BatchUninstallItemResult, and
BatchUninstallResult interfaces plus the batchUninstall() method
on the api object to call POST /uninstall/batch.
Sidebar used `position: sticky` inside a flex container, which broke
when main content exceeded viewport height — the flex container grew
and sticky lost its anchor. Switch to `position: fixed` for all
screen sizes so the sidebar never participates in document flow.
Main content uses `margin-left` to offset for the sidebar width.
This preserves window scroll, keeping Virtuoso virtual scrolling,
sticky toolbar, and ScrollToTop all working correctly.
- Remove early return in dry-run so linked/copied counts are populated
correctly (P1: UI preview no longer hides Sync Now button)
- Use local quietDryRun flag instead of mutating global DiagOutput
to suppress per-skill messages (P2: safe under parallel sync)
- Use "Will create" for dry-run, "Created" for actual sync (P3)
- Include dir_created in allUpToDate check so empty source + missing
dir still shows Sync Now in the preview modal
v0.17.5 blocked sync when target directories didn't exist, which
prevented first-time users on fresh CLI installs from syncing.
Sync now auto-creates missing directories and reports what it did
in CLI output, dry-run preview, and the Web UI. Init also creates
target directories when it detects an installed CLI tool.
Web UI: Sync Preview modal stays open after sync with a success
banner instead of immediately closing, so users can review results.
Closes#87
Previous border-pencil + bg-paper-warm was nearly invisible against
the light theme. Switch to border-blue + bg-info-light to match
the dashboard's established selected-state convention (TargetsPage,
CollectPage, AuditPage).
- Add cleanup (os.RemoveAll) on scaffold dir creation failure
- Use skill.ValidNameRe in isValidSkillName (remove duplicate regex)
- Derive canAdvance from nameError instead of re-calling validateName
- Remove redundant total param from ProgressBar (derive from steps.length)
- Fix popstate handler to read event.state.step directly
- Use Plus icon for PageHeader (icon prop is required)
Pages with backTo arrow should be single-line (title only),
matching SkillDetailPage convention. The subtitle caused an
inconsistent two-line header layout.
Go's omitempty serializes nil slices as absent, causing
undefined.length crash in the pattern card grid. Normalize
to empty array in the API client layer.
Add /skills/new route (before /:name to avoid param conflict),
lazy-import NewSkillPage, and add "+ New Skill" button to SkillsPage
header. Clean up unused imports and variables in NewSkillPage.
Multi-step wizard with: name validation (regex + duplicate check),
pattern selection from API, optional category, scaffold dir checkboxes,
and confirmation summary. Uses browser history for back-navigation.
Add SkillPattern, SkillCategory, TemplatesResponse, CreateSkillRequest,
and CreateSkillResponse types. Wire up getTemplates() and createSkill()
API methods. Add 'templates' query key for caching.
Covers: API routing with prefix, 404 without prefix, bare path redirect,
__BASE_PATH__ injection, SPA fallback, -b flag, env var fallback.
Also fix unused import in SyncPage.tsx (broke tsc).
Ref: #85
- Vite base: './' for relative asset paths (works from any sub-path)
- API client reads window.__BASE_PATH__ for request prefix
- React Router uses basename for client-side routing
Ref: #85
- Revert Toast.tsx to original (remove action/persistent/replaceKey)
- Remove detailed prop from SyncResultList (YAGNI, caused overflow)
- ConfigPage: show inline banner card after save instead of toast action
- Banner dismisses on edit or manual dismiss, opens sync preview modal
- Create ui/src/lib/sync.ts with formatSyncToast(), invalidateAfterSync(),
and summarizeSyncResults() utilities
- SyncPreviewModal and SyncPage now share the same toast message and
query invalidation logic instead of duplicating it
- Clear stale results/error when SyncPreviewModal closes
Prune-only targets need to show the detailed skill list and
the change icon in the sync preview modal so users can see
which symlinks will be removed before confirming.
Both handleConfigSave and handleIgnoreSave now show a persistent toast
with a "Preview Sync" action button that opens SyncPreviewModal. The
replaceKey 'config-save' deduplicates toasts when saving in quick
succession.
- Remove dead nil check in ignorePayload() (repoFiles already initialized)
- Replace manual map merge loops with maps.Copy in 3 handler sites
- Deduplicate fmt.Sprintf + ui.Success in doctor checkSkillignore
- Extract extractIgnoreSources() helper in SyncPage to DRY two identical
state-setting blocks
Add ignore_root and ignore_repos fields to sync/diff/diff-stream API
responses from IgnoreStats. UI now uses real file paths instead of
heuristic (skill name starts with _) to determine ignore source.
Skills prefixed with _ are from tracked repos and excluded by
repo-level .skillignore (inside the repo), not the root-level one
editable in Config. Show distinct hints for each source.
Replace bare text disclosure with a Card-based collapsible matching
DiffTargetCard style: EyeOff icon, ChevronDown/Right toggle, Badge
count, per-skill rows with icons, and a hint footer linking to Config.
Replace flat bullet list with two labeled sections:
- Patterns: monospace code badges with muted background
- Ignored Skills: warning-tinted tags for visual distinction
Other checks keep the default bullet list rendering.
The skillignore check uses --- to separate patterns from ignored skills
in the details array. Render it as a labeled section divider instead
of a raw bullet point.