Skip to content

[BYO-S3] Computing-unit picker: align it with the warehouse picker, and fix the dead Connect button #8587

Closed

Description

@mengw15

Now that the warehouse picker (#7817) sits beside the computing-unit picker in the workspace toolbar, the two are hard to tell apart and diverge in ways the warehouse side cannot fix alone.

Telling the two pickers apart

Both triggers render as [avatar] <name> ▾ at the same 220-280px width, so with two arbitrary names side by side nothing says which one chooses where the run happens and which chooses where it writes.

  1. Type icon. The warehouse trigger carries cloud-server, the same icon its dashboard tab uses in the sidebar. The computing-unit trigger carries none; giving it deployment-unit — again, its own sidebar icon — would make each picker identifiable at a glance.
  2. A tooltip in the same shape. The warehouse trigger's tooltip reads Warehouse: <name> — one tooltip per control, naming the picker and carrying the name in full, whatever its length. The computing-unit trigger shows the unit's name alone, which says nothing about which picker it is; Computing Unit: <name> would make the pair read the same way. Its dropdown rows show the unit's URI, which is how a unit is identified and should stay as it is — the trigger's tooltip is where the name belongs.
  3. Empty-state wording. With nothing selected the computing-unit trigger says Connect (a verb) and the warehouse trigger says Warehouse (a noun). Worth settling on one convention for both.

The Connect button is disabled in exactly the state it exists for

getRunButtonBehavior returns Connect with disable: false and an onClick that calls runWorkflow(), which has a branch opening the create-computing-unit modal. That branch is unreachable from the button: the template's disabled expression ends in selectedComputingUnit?.accessPrivilege !== Privilege.WRITE, and with no unit selected selectedComputingUnit is null, so the comparison is always true and the button renders disabled. Introduced with the access-control work (#3598).

Repro (menu spec): set isWorkflowValid = true, isWorkflowEmpty = false, computingUnitStatus = NoComputingUnit, selectedComputingUnit = null, a connected websocket and executionState = Uninitialized, apply the behavior and read the rendered button — it shows Connect with disabled = true. The create-unit path is reachable only through the picker's own create entry.

The status badge claims work that is not happening

computeStatus() returns "processing" when no unit is selected, which ant renders as a pulsing blue dot. Nothing is processing in that state; "default" (a grey dot) would say what is true.

Activity

  1. github-actions commented on Sep 18, 2026

    @github-actions
    Contributor

    👋 Thanks for opening this issue, @mengw15!

    It looks like the issue description doesn't quite follow our template yet:

    • This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.

    Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

    You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

  2. added a commit that references this issue on Sep 18, 2026
    af09a61
  3. added 4 commits that reference this issue on Sep 18, 2026
    b9de114
    b8f9666
    60983d2
    95285b5
  4. added a commit that references this issue on Sep 18, 2026
    2ab8ee0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions