Read the ?theme= query parameter on page load and popstate events
to override the current theme. Supported values: dark, light (mode),
playful, clean (style). Persists to localStorage so the preference
survives navigation.
New users frequently ask for per-target skill management without
realizing three filtering layers already exist (#93). Add two new
doc pages to surface the full picture:
- How-to guide (6 scenarios + decision flowchart + verification table)
- Reference page (comparison table + evaluation order + full specs)
Also add cross-links from sync, target, file-structure, and
creating-skills pages, sidebar entries, and a README highlight.
Ref: #93
Replace separate Force toggles (checkbox in Sync, button in Extras) with
a shared SplitButton component. Force is now an action variant inside a
dropdown, not a persistent toggle — one click to open, confirm before
executing.
- Add SplitButton with portal-based dropdown (escapes overflow-hidden)
- Sync page: replace Advanced options with SplitButton (Force Sync, Dry Run)
- Extras page: replace Force toggle with SplitButton on Sync All and per-card
- Add inline confirm step for destructive Force actions
- Add spring pop animation, hand-drawn theme support (ss-split-menu)
- Remove redundant indeterminate progress bar from Sync page
- Add Force toggle button with tooltip in Extras PageHeader
- Pass force flag to syncExtras API for both Sync All and per-extra sync
- Show "enable Force to override" hint in toast when files are skipped
- Auto-reset Force to disabled after successful sync (Extras + Sync pages)
- Fix ExtrasSyncResult type to match server response (target field, errors array)
- Update v0.17.9 changelog entries
- Change JSON key from 'results' to 'extras' to match frontend type
- Add RLock snapshot pattern matching handleExtras GET handler
- Replace s.extrasSourceDir() with inline resolution using snapshotted values
- Fix Config and Audit Rules assistant panels with fixed 500px content
height to enable scrolling (matching CodeMirror editor height)
- Remove target name validation that produced false "Unknown target"
warnings — target names are user-defined and freely configurable
- Enrich targets field docs example with all sub-fields
- Add react-virtuoso virtual scrolling to FilterStudioPage preview list
- Add v0.17.9 changelog and website changelog
The --source flag was functional but missing from the help output.
Also add source directory resolution priority to the main extras
help for discoverability.
- Remove structured mode dead code from AuditAssistantPanel
(props, branch, imports — was unused after structured panel removal)
- Remove unused Save import from AuditRulesYaml
- Export SEVERITY_ORDER from severity.ts, remove duplicates
in AuditOverview and PatternSummary
- Share lines memo in AuditRulesYaml (single split, not two)
- Fix onSaveStateChange firing every keystroke (use saveRef)
- Simplify useAuditYamlValidation (remove useCallback wrapper)
Structured view doesn't benefit from an assistant panel — the
accordion already shows all rule details inline. Remove panel
from structured view, restoring full-width layout.
Move Save button from the YAML editor Card header to the
PageHeader actions (top-right), lifted via onSaveStateChange
callback.
Wire RuleDetailCard, PatternSummary, and AuditOverview into the
AuditAssistantPanel structured mode. AuditRulesPage gains selection
state (selectedRuleId/selectedPattern) wired to accordion expand.
Cross-view jump: "Test Regex" fills the regex tester and switches
to YAML view; "Edit in YAML" jumps to the rule's line in the editor.
Panel collapses with Cmd+B in both views.
(?i) is the most common Go regex flag and can be safely converted
to JS RegExp's 'i' flag. Only flag (?im), (?ims), or \x{} are
now marked as Go-specific. Multi-flag combos and non-i flags
still show the Go-specific warning.
Split AuditRulesPage (977 lines) by extracting the YAML editor
into AuditRulesYaml with full assistant panel integration:
real-time validation, field docs, inline regex tester with
auto-fill from cursor position, structure tree, and diff preview.
AuditRulesPage now only handles view switching, shared state,
and the structured rule browser.
FieldDocs now accepts optional docs prop for reuse with different
field doc maps (audit rules). ConfigStatusBar adds 'audit' mode
that shows validation like config mode.
Replace filtered.map() with react-virtuoso <Virtuoso> for smooth
scrolling with large skill counts. Move uninstall results from an
inline Card (easily missed at page bottom) to a DialogShell modal
that demands user attention. Add "Continue" button to dismiss the
dialog and stay on the uninstall page for further operations.
- Global Cmd+S shortcut now skips when focus is inside CodeMirror
editor, letting the editor's own Mod-s handler trigger save
- .skillignore editor now also has Cmd+S save support (was missing)
- saveRef updates per active tab so both config and skillignore
editors save correctly with the same keymap
Previously the GET /api/skillignore handler returned no stats when
the root .skillignore file didn't exist, hiding tracked repo ignores.
Now always runs DiscoverSourceSkillsWithStats so tracked repos'
.skillignore entries are always reported.
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 extras_source (global default) and per-extra source (override)
to config.yaml. Resolution: per-extra > extras_source > default.
- Config: add ExtrasSource and ExtraConfig.Source fields with tilde expansion
- New ResolveExtrasSourceDir() replaces hardcoded ExtrasSourceDir()
- Migrate all 18 caller files to new resolver and sourceFunc signature
- CLI: extras init --source flag, help text
- TUI: source input phase in init wizard, narrower list panel
- extras list: source_type field in JSON, label in TUI detail
- Sync auto-creates missing source dirs instead of skipping
- extras init and server auto-backfill extras_source when missing
- doctor/status/diff/collect all use resolved source path
- 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.
Batch uninstall with skip-and-continue semantics, registry cleanup,
config reconciliation, and gitignore batch removal. Supports both
global and project mode.
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.
Press R on a selected target to show a confirmation overlay.
Confirming exits the TUI and dispatches the full target remove
flow (backup + unlink + config update), matching the existing
exit-with-action pattern used by the skill list TUI.
Supports both global and project modes.