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
[P1] [doc-drift] FR-7.2.2 "inline editing for settable variables; show variable description" — no inline edit, no description
Context
FR-7.2.2 acceptance: "inline editing for settable variables; show variable description".
Problem
Per docs/audits/admin.md F10.
(a) No inline edit — value is read-only text; no SET GLOBAL <var> = <value> UI. (b) No description — ServerVariable struct (mas-admin/src/lib.rs:23-27) carries only name/value; description from performance_schema.variables_info not fetched. SET GLOBAL vs SET SESSION distinction unaddressed. Persistence-warning for SET GLOBAL ("does not persist past server restart unless you use SET PERSIST") not surfaced.
Files
src/components/admin/AdminPanel.tsx:281-490
src-tauri/crates/mas-admin/src/lib.rs:73-94
Repro (if applicable)
Static analysis only.
Expected
Click max_connections value → input → set 200 → apply → MySQL SHOW VARIABLES LIKE 'max_connections' returns 200 → row shows warning icon with tooltip.
Proposed fix
Scope L. (1) Extend mas-admin to query performance_schema.variables_info joined on variable_name for description + settability; return richer ServerVariable { ..., description, scope, default_value, min_value, max_value }. (2) Add set_server_variable(connection_id, name, value, scope) Tauri command. (3) Frontend: click value → inline edit → Apply; warning icon for GLOBAL scope.
Activity