fix(desktop): hide script bar by default

Merged
KI
1h ago
+2-2

What & why

Hide the script bar when no visibility preference has been saved, in both Chat and Terminal mode. Change both the schema default and the default preferences object to false; preserve existing saved show/hide values.

How I tested it

  • Desktop preference/schema suite: 43 tests passed.
  • Direct assertions confirmed missing preferences default to hidden and explicit true/false survive schema parsing and stored preference hydration.
  • git diff --check passed.
  • Full lint/typecheck and end-to-end verification of this default change were not run.

Checklist

  • PR title follows conventional commits (type(scope): subject)
  • bun run lint and bun run typecheck pass (CI fails on lint warnings too)
  • "Allow edits from maintainers" is checked on fork PRs (not a fork PR)
  • I have signed the CLA (the bot asks on your first PR)

Summary by cubic

Hides the presets bar by default in Chat and Terminal mode so new users start with a cleaner interface.

  • Changes the schema default and default preferences object for showPresetsBar from true to false.
  • Users who already saved a show/hide preference keep their existing choice.

Summary by CodeRabbit

  • Bug Fixes
    • Preset bars are now hidden by default for new and defaulted preferences.