Add vibe-coded custom sidebar examples

Merged
AZ
4mo ago
+618-0

Summary

  • Add downloadable custom sidebar examples under Examples/CustomSidebars: status-board.swift and a Finder-style finder.swift.
  • Document how to copy, validate, and select the examples from docs/custom-sidebars.md and 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

View with Codesmith Autofix with Codesmith
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.swift and Examples/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.
  • 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-board and cmux sidebar validate finder

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.