Skip to content

Wait settings screen: three small UI follow-ups from #104 review #105

Closed

Description

@scuttletoby

Three low findings from the review of #104 (settings screen for waits, wait checks and agent slots); review comment #104 (comment).

  1. WaitsAndSlotsSettings.tsx account rows: with several environments selected, the rows come from the primary environment's providers only, so another environment's own accounts cannot be limited from that view. Fix: rows from the union of the selected environments' providers, or edit account limits only with one environment selected.
  2. Per-check rows (Edit/Remove) have no serverScoped/settingKeys, so an administrator lock on waitChecks greys out "Add check" but not Edit/Remove. The server still refuses the write (clearer-error issue, not a bypass). Fix: disable Edit/Remove under the same lock.
  3. The add/edit check dialog closes before the save result. If the server refuses the write, the toast shows but the typed draft is lost. Fix: keep the dialog open until the write succeeds.

Tests: component tests for each (browser tests were outside the review).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    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