Back to Logbook
Jun 01, 2026 Project: #Biznetrix

Admin UI — RTL Support, Dark Mode, Language Switcher, Automation Fixes

productive

Admin header redesigned: dark/light theme toggle, RTL/LTR direction toggle, and a six-language dropdown. RTL mode swaps the AdminLTE stylesheet and applies a custom override file for sidebar positioning, navbar direction, content margins, breadcrumb, and small-box icon layout. User preferences (theme, direction, language) saved to the database and applied server-side before paint — zero flash on reload. Small sidebar text size improved for readability.

Automation engine audit fixes: added five missing operators to the test UI so it matches the full 12-operator set the engine supports, expanded field suggestions to cover all seven event types, fixed rule_id injection so action executions record the correct rule in metadata (was always null). New governance seeder inserts default policy rows for max attempts, retry backoff, escalation threshold, and dead letter configuration.

AI cost settings: routing matrix save was blanking budget settings because both forms posted to the same endpoint with non-overlapping fields. Split into two endpoints. Budget display bug fixed where a field name mismatch caused the broker weights to always show 1.0.

Lessons Learned

Server-side preference rendering (theme, RTL, language) before paint is the correct approach for admin UI personalisation. Client-side preference application causes layout flash on every page load.