Require explicit Dock config

Merged
LA
6mo ago
+45-91

Follow-up to https://github.com/manaflow-ai/cmux/pull/3217.

Changes:

  • Removes the built-in Feed fallback from Dock.
  • Leaves Dock empty unless .cmux/dock.json or ~/.config/cmux/dock.json exists.
  • Updates Feed sidebar UI test setup to provide a temporary custom Dock config.
  • Updates Dock docs to describe Feed as an example control, not a default control.

Verification:

  • git diff --check
  • jq empty Resources/Localizable.xcstrings
  • python3 scripts/swift_file_length_budget.py --budget .github/swift-file-length-budget.tsv
  • CMUX_SKIP_ZIG_BUILD=1 ./scripts/reload.sh --tag fix-dock-json

Summary by CodeRabbit

  • New Behavior

    • Dock no longer includes a built-in default Feed; add a Feed control in your Dock config to enable it.
    • When no Dock config exists, Dock opens empty and offers to create a starter configuration.
    • Dock source label simplified to “Dock” for consistency.
  • Documentation

    • Guides updated with examples and instructions for configuring the Feed in Dock and managing Dock contents.