Skip to content

Keep the variables table visible while it reloads after SET #819

Closed

Description

@EVWorth

Severity: P2

What happens

  1. Open ?mock=connected. Toolbar → Admin → Server Variables.
  2. Scroll the table down (to around explicit_defaults_for_timestamp), hover the row, click the pencil, change the value, click Apply.

The whole table is replaced by a full-pane "Loading variables…" spinner, then comes back scrolled to the top. The user loses their place and gets no confirmation that the value changed.

Cause

src/components/admin/ServerVariablesTab.tsx:31 sets loading true on every reload (reloadToken bump from SetVariableDialog.onChanged), and :91 renders the spinner instead of the table whenever loading is true.

Fix

Show the full-pane spinner only on the first load (loading && variables.length === 0). Refresh in the background (or patch the one changed row) so the scroll position survives, and briefly highlight the updated row.

Part of #783.

Activity

  1. added
    bug
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 24, 2026
    195fba8
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions