Add vibe-coded custom sidebar examples
Merged
AZ
4mo ago+618+618+012345678901234567890123456789-0-0-0123456789
Summary
- Add downloadable custom sidebar examples under
Examples/CustomSidebars:status-board.swiftand a Finder-stylefinder.swift. - Document how to copy, validate, and select the examples from
docs/custom-sidebars.mdand the examples README. - Add validator coverage so the downloadable examples render against representative workspace, tab, PR, progress, port, and clock data.
Testing
swift test --package-path Packages/CmuxSwiftRenderUI --filter CustomSidebarValidationTests
Issues
- None
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.
Summary by cubic
Adds two downloadable, vibe-coded custom sidebar examples for cmux (status-board.swift and finder.swift), with docs and tests so users can copy, enable, select, and validate them.
-
New Features
- Added
Examples/CustomSidebars/status-board.swiftandExamples/CustomSidebars/finder.swift. - Added examples README and expanded docs with install, validate, and select steps.
- Added validator coverage that renders both examples against a richer, representative data set.
- Added
-
Migration
- Copy:
mkdir -p ~/.config/cmux/sidebars && cp Examples/CustomSidebars/{status-board.swift,finder.swift} ~/.config/cmux/sidebars/ - Enable + select: Settings → Beta features → Custom sidebars; or
cmux sidebar select status-board - Validate:
cmux sidebar validate status-boardandcmux sidebar validate finder
- Copy:
Summary by CodeRabbit
-
New Features
- Added two downloadable custom sidebar examples: Status Board (organize work items by urgency) and Finder (browse workspaces and tabs).
-
Documentation
- Added step-by-step installation, enablement, selection, and validation instructions for custom sidebars; linked authoring guidance.
-
Tests
- Added an automated validation test to verify downloadable custom sidebar examples.