Skip to content

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_MODE key in isardvdi.cfg sets the global mode of the installation. It is a systems setting: you change it by editing isardvdi.cfg on 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

FRONTEND_MODE=deprecated

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 deprecated mode, apiv4 returns frontend_mode=deprecated to the Vue 3 SPA. The SPA then redirects the browser to the equivalent Vue 2 path.
  • all is required for Vue 3 end-to-end tests and is recommended for development work on the new interface.
  • In hidden mode, 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_MODE applies.
  • Moving a user from actual to any other mode deletes their extra temporary desktops: in actual a 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

  1. Edit isardvdi.cfg on the server and set the desired value. For example:
FRONTEND_MODE=all
  1. Regenerate the runtime configuration:
./build.sh
  1. Restart the stack to apply the new configuration.

Several other isardvdi.cfg keys affect the frontend experience:

FRONTEND_SHOW_BOOKINGS=False
FRONTEND_SHOW_TEMPORAL=True
DIRECTVIEWER_MODE=browser
  • 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 (browser or url).

See the configuration reference for the full list, including the documentation-URI keys.

See also