Skip to content

make it more clear to user in UI of /config?machine=orchestrate what happened after they clicked a save button to update the config #1862

Closed

Description

@JacobStephens2
No description provided.

Activity

  1. added
    enhancement
    ready-for-agent
    needs-triage
    and removed
    ready-for-agent
    on Nov 9, 2026
  2. JacobStephens2 commented on Nov 9, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Show clear role="status" feedback on the Console /config page (both local and Fleet ?machine=<name>) after clicking Save <key>, keeping the user anchored at the saved setting and stating what happened on that machine.

    Current behavior:
    Each setting on the Console User config page (/config and /config?machine=<name>) submits POST /config/<key>[?machine=<name>]. When the save succeeds, the server redirects to /config (or /config?machine=<name>) with no status message and no fragment anchor. The page reloads at the top with no indication that the save completed, which key was updated, what value is now active, or which machine was updated.

    Desired behavior:
    When a user saves a setting on /config or /config?machine=<name>:

    1. The response keeps the user at the edited setting section (for example via a stable setting section anchor or in-place/redirected status) and displays a clear role="status" confirmation message naming the setting key, its saved formatted value, and the target machine (for example Saved pickup.limit = 10 on orchestrate).
    2. The feedback works both with and without JavaScript (preserving the ?machine=<name> query parameter when acting on a Fleet machine).
    3. Validation or remote errors continue to surface clearly naming the offending setting/error without silently dropping the user back on an unchanged page.
    4. The /api/v1/config/<key> JSON response contract and CLI thirdshift config output remain unchanged.

    Key interfaces:

    • Console User config page handler and template (ConfigPage, show, set in the Console's user_config module and template): carry and render the post-save status message for the saved setting and machine, and anchor each <section class="config-setting"> by its setting key so the redirect lands back on that setting.
    • User manual (docs/guide.md and generated site/docs/index.html): document the save confirmation behavior on the Console User config page.

    Acceptance criteria:

    • Saving a setting on /config or /config?machine=<name> displays a visible role="status" confirmation naming the setting key, the resulting value, and the machine (for example Saved pickup.limit = 10 on orchestrate), and anchors the browser to the saved setting section.
    • Works both with and without JavaScript, and preserves ?machine=<name> on Fleet machines.
    • Redacted settings (such as otlp.endpoint) show their redacted display value in the confirmation, never leaking a raw secret/URL.
    • /api/v1/config/<key> JSON responses and thirdshift config CLI output remain unchanged.
    • Automated Console tests (including Fleet ?machine=<name> config saves) and docs/guide.md + site/docs/index.html (npm run docs --prefix site / npm run docs:check --prefix site) are updated in step.

    Out of scope:

    • Editing multiple settings in a single form submission.
    • Allowing CLI-only settings (console.allowed_emails, console.address_scopes, console.fleet, triage.allow_ready_for_agent, triage.read_machine) to be edited from the Console.
  3. added
    ready-for-agent
    in-progress
    and removed
    needs-triage
    ready-for-agent
    on Nov 9, 2026
  4. removed
    in-progress
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions