You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make variable count, sort and group rows match filter and keyboard #824
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>.
Activity
fix: variables count, empty state and keyboard