Enabling the new interface¶
IsardVDI is migrating from its original Vue 2 web frontend to a new Vue 3 interface. Which one users reach is decided at two levels:
- The
FRONTEND_MODEkey inisardvdi.cfgsets the global mode of the installation. It is a systems setting: you change it by editingisardvdi.cfgon the server, rebuilding and restarting the stack. - The Frontend mode rules in the administration web panel (Config › Frontend) override the global mode for specific users, groups, categories or roles. See Frontend mode rules below.
All keys on this page are documented in the configuration reference.
FRONTEND_MODE¶
The value determines which frontend(s) are served and whether the "Switch to new interface" toggler is displayed. The first value is the default:
| Value | Behaviour |
|---|---|
deprecated |
(default) Serves only the Vue 2 frontend. No toggler is shown. Vue 3 routes (/frontend/*) silently redirect to their Vue 2 equivalents. This is the safe default for production migration. |
actual |
Serves only the Vue 3 frontend. No toggler is shown. |
all |
Serves both frontends. A toggler is shown on view pages, allowing users to switch between them. |
hidden |
Serves both frontends via direct paths. No toggler is shown. This mode is similar to all but does not advertise the switch. |
Notes on mode behavior:
- In
deprecatedmode, apiv4 returnsfrontend_mode=deprecatedto the Vue 3 SPA. The SPA then redirects the browser to the equivalent Vue 2 path. allis required for Vue 3 end-to-end tests and is recommended for development work on the new interface.- In
hiddenmode, neither router performs a redirect. Users who know the URLs can access either frontend, while the toggler remains hidden. One exception: the post-login notifications page (/notifications/login) links back to the old frontend, so users who log in are directed to Vue 2.
The shipped default is Vue 2 (deprecated). An unknown value is treated as deprecated.
Frontend mode rules (web panel)¶
Administrators can give some users a different mode without touching isardvdi.cfg. In the administration panel, Config › Frontend (Frontend mode rules) lists rules with a name, a mode (deprecated, actual, all or hidden), a priority and the users, groups, categories or roles they apply to.
- When several rules match a user, only the one with the highest priority applies. Two rules cannot share the same priority.
- If no rule matches a user, the global
FRONTEND_MODEapplies. - Moving a user from
actualto any other mode deletes their extra temporary desktops: inactuala user can have more than one temporary desktop per template, in the other modes only one.
The rules take effect without rebuilding or restarting the stack. The administration page is described in Frontend mode rules.
How to change the global mode¶
- Edit
isardvdi.cfgon the server and set the desired value. For example:
- Regenerate the runtime configuration:
- Restart the stack to apply the new configuration.
Related keys¶
Several other isardvdi.cfg keys affect the frontend experience:
FRONTEND_SHOW_BOOKINGS— Show or hide the Resource bookings menu.FRONTEND_SHOW_TEMPORAL— Show or hide the temporal desktops tab.DIRECTVIEWER_MODE— Specifies where the direct-viewer cookie is retrieved from (browserorurl).
See the configuration reference for the full list, including the documentation-URI keys.
See also¶
- Configuration reference.
- Frontend mode rules (administration manual).