Skip to content

Feature request: boolean/checkbox parameter type for tab configs #11134

@tomerArzuan

Description

@tomerArzuan

Summary

Tab configs currently only support text, branch, and repo parameter types. When a user wants to offer a simple on/off toggle (e.g., "set upstream automatically"), they have to use a text parameter and ask the user to type yes or no. This is clunky and error-prone. A native checkbox or boolean parameter type would make these workflows much cleaner.

Problem

In tab config TOML files, the [params.<name>] section supports only type = "text", type = "branch", and type = "repo". There is no way to present a simple true/false or yes/no choice as a checkbox or toggle in the parameter fill-in modal.

For example, a user might want a worktree tab config with an option like "Set upstream to base branch?" that is checked by default. Today the only workaround is:

[params.set_upstream]
type = "text"
description = "Set upstream to base branch? (yes/no)"
default = "yes"

This requires the user to type a magic string (yes/no) and relies on the shell author to write a conditional that checks for an exact string match. It also prevents the UI from rendering a compact, intuitive control.

Reproduction steps or desired workflow

  1. Create or edit a tab config TOML file.
  2. Add a parameter that should be a boolean choice.
  3. Try to declare type = "checkbox" or type = "boolean" under [params.<name>].
  4. Observe that the type is rejected or ignored because it is not in the supported set (text, branch, repo).

Desired behavior

A new parameter type — e.g., type = "boolean" or type = "checkbox" — that renders a checkbox in the fill-in modal and produces a true/false value that can be interpolated into commands.

Example usage:

[params.set_upstream]
type = "boolean"
description = "Set upstream to base branch"
default = true

In commands, the parameter could be referenced as {{set_upstream}} and evaluate to "true" / "false" (or 1 / 0), making it easy to use in shell conditionals without magic strings.

Artifacts

None attached

Warp version

Unknown

Operating system

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:launch-configsLaunch configurations, workflows, tab configs, and automation entry points.enhancementNew feature or request.ready-to-specThe issue is ready for a product and technical spec.repro:highThe report includes enough evidence that the issue appears highly reproducible.triage-reviewedtriagedIssue has received an initial automated triage pass.warp:auto-triage-review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions