Skip to content

Make variable count, sort and group rows match filter and keyboard #824

Closed

Description

@EVWorth

Severity: P2

What happens

On ?mock=connected, Toolbar → Admin → Server Variables:

  • Type buffer in the filter: four variables remain, but the counter still says "67 variables".
  • Type zzzz: the table is just headers over an empty area, with no "no matches" message.
  • Tab from the filter box: focus skips the "Variable Name" / "Value" sort headers and the group header rows (innodb (11), …) and goes straight to the first row's copy button. Sorting and collapsing groups are mouse-only.

(The edit pencil being invisible when focused is tracked in #784.)

Cause

  • src/components/admin/ServerVariablesTab.tsx:115 renders variables.length, not the filtered count.
  • No empty-state row in the tbody (:148-161).
  • :128-145 are clickable <th> elements; :194-197 group rows are clickable <tr>s — neither is focusable.

Fix

Show "N of 67 variables" when filtered, and an empty-state row ("No variables match"). Put a <button> inside each sortable header with aria-sort on the <th>, and make each group header a <button aria-expanded>.

Part of #783.

Activity

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