Consistent administration UI¶
The shared graphical presentation, overflow menu and form edit states are specified in the action ribbon contract.
Administration pages use the shared structural contract from administration_ui.py. Business logic, permissions, and edition separation remain independent of this presentation contract. As in Fleet Management, an IconNavbar on the left shows functional groups as parent nodes and Administration pages as child nodes. A child opens one closable and movable work tab on the right. An already open page is focused instead of duplicated, and a new login starts with an empty workspace.
| Functional group | Administration pages |
|---|---|
| Operations | Sources, Tasks, Telematics, Backups |
| Users and security | Users, Single sign-on, Roles and permissions, Tachograph trust, Rule sets |
| Communication and integrations | Notifications, AI connector, Traffic offences |
| Finance and system | Cost analysis, Receipts/Documents, Settings, Audit log, Logs, Raw configuration |
Administration and Fleet Management use the same recursive context-menu behavior. Expandable nodes show the fixed pairs Expand/Collapse item, Expand/Collapse group, and Expand/Collapse all. A leaf shows group and all; empty space only shows all. Actions that do not apply remain visible and disabled. Group actions always affect the complete subtree of the top-level parent. Expansion and splitter width are stored per user.
Group and page titles, tooltips, context menus, open work tabs, functional subtabs, and Pro badges are translated together into the authenticated user's language. English is used before authentication. Region changes only date, number, currency, and similar formatting, never navigation labels. The persisted navigation/admin page key remains compatible but does not automatically open a page at session start. Inaccessible pages remain visible as disabled children, explicitly licence-hidden pages remain hidden, and groups without an accessible page remain visible but disabled.
Table and tree views use stable logical column identifiers and the shared per-user UI-state store for SQLite and PostgreSQL. On a profile change, only pending edits are saved to the previous profile in their edit order. Unchanged parallel views sharing a key must not overwrite its state. Explicit saves and resets discard older pending changes of that key while retaining later edits. Changes made before authentication or without a valid model are discarded. The column menu marks only an actual visibility choice as an edit; cancellation and reset cannot cause a delayed restoration of an older layout. Its reset action uses the existing reviewed translation key in all 25 languages.
Each page is marked as list management, settings form, operational/status, read-only, or tab container. List pages show introduction, filters, action bar, data grid, and status in that order. Forms organize related fields in named sections and keep their form footer visible outside scrollable content.
Action bars place Create, Open/Edit, Duplicate, workflow actions, and destructive actions on the left. Refresh is always on the right. Form footers always place Save/Apply at the far right. Destructive actions are technically marked, use object-specific labels, and require confirmation when they change data.
Selection-dependent actions are disabled without an applicable record. Double-click performs the same open or edit operation as the corresponding button. Pages, sections, action bars, form footers, important grids, and actions have stable technical widget IDs for tests and Enterprise acceptance.
The permitted hierarchy has exactly three levels: IconNavbar parent, child work tab, and at most one functional subtab level inside a page. Functional subtabs are reserved for at least two independent peer workflows; semantic groups structure fields inside a workflow.