Files
BetterDesk/docs/wiki/Web-Console.md
T
UNITRONIX 602fa36573 feat(console): add opt-in UX 3.6 beta shell in the current EJS stack
Adds an alternative console layout modelled on the community redesign by
@rathlinus and rebuilt on the existing EJS/JavaScript/CSS stack -- the
svelte-rewrite branch stays a design reference and is not merged.

What ships:

- lib/uiShell.js resolves the shell once (query, then cookie, then default)
  so SSR markup, asset includes and window.BetterDesk.uiShell cannot
  disagree. UX 3.5 remains the default and the fallback; unknown values
  (including the removed `classic`) are ignored instead of erroring.
- routes/ui-shell.routes.js exposes GET/POST /api/ui-shell (auth + CSRF) and
  persists the choice per browser in the bd_ui_shell cookie. No database
  migration, no effect on other operators.
- lib/consoleNav.js groups the existing pages into Devices, Support, People,
  Activity and Settings. Every entry keeps its route, RBAC permission and
  panel-access section, so a role sees exactly the pages it could open
  before; the grouping is presentation only.
- views/partials/ux36-sidebar.ejs renders that model with proper
  aria-current/aria-expanded state and no duplicate navigation markup.
- public/css/ux36.css layers the new chrome on top of ux35.css without
  forking the --ux35-* token contract, so branding, wallpapers, fonts and
  light/dark/custom themes keep working in both shells.
- public/js/ux36-shell.js adds the one-open-group default, filter sync and
  the Settings switch; ux35-shell.js keeps owning drawer, resize and theme.
- Settings -> General gains a "Console interface" card so operators can opt
  in and out without a URL; ?ui=ux36 works as a support deep link.
- Settings deep links now accept ?tab=<topic> in addition to #topic.
- New nav.* and ux36.* keys in all 26 locales (real translations).
- Docs: CHANGELOG, UX wiki page, Web-Console wiki page, README, contributor
  attributions, and .cursor/rules/ux36-attribution.mdc so future UX 3.6
  commits keep the credit.

Tests: tests/ux36-shell.test.js, tests/ux36-pages.render.test.js and
tests/ux36-ui-shell.routes.test.js; ux35-ui-contract.test.js updated to
assert both shells. Full web-nodejs suite: 986 passed; the three failing
suites (users.routes, devices.routes, dashboardPairingUi) fail identically
on the untouched branch.

Refs #493
Refs #495
Reported-by: @rathlinus
Based-on: @rathlinus UX redesign (Refs #493, #495)

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-10 00:53:29 +01:00

7.5 KiB

Web Console

The BetterDesk Web Console is a Node.js (Express.js) management panel accessible at http://your-server:5000.

The console ships with UX 3.5 as its default layout (full-list sidebar + solid topbar — not glass). An optional UX 3.6 beta groups the sidebar into Devices / Support / People / Activity / Settings and adds the list-first Devices and per-topic Settings layouts; it is enabled per browser in Settings → General → Console interface. See UX 3.5.


Visual preview

The following screenshots show the current UX 3.5 panel in the dark theme and English locale. All device names, IDs, notes, and network values are fictional test data.

BetterDesk web console login BetterDesk web console dashboard
Login Dashboard
BetterDesk devices list BetterDesk device details
Devices Device details
BetterDesk settings updates
Settings → Updates

The source files are kept in screenshots/generated/ in the repository.


Dashboard

Overview cards: device counts, online status, server uptime, versions.

OS-style Desktop Mode is not loaded anymore. Use UX 3.5 or UX 3.6 beta. Old notes: Desktop Dashboard.


Devices Page

Device List

The devices page shows all registered RustDesk clients in a responsive table:

Column Description
ID RustDesk client ID (numeric)
Hostname Device hostname (from sysinfo)
Type Device type (desktop, server, agent, etc.)
Platform OS (Windows, Linux, macOS, Android, iOS)
Last Online Last heartbeat timestamp
Status Online/Degraded/Critical/Offline with colored dot
Actions Kebab menu (⋮) with device operations

Filters

  • Search — Filter by ID, hostname, platform, or tags
  • Status filter — Segmented pills: All / Online / Offline
  • Folder filter — Horizontal scrollable folder chips

Device Actions (Kebab Menu)

Action Description
Edit Change device notes, tags, user assignment
Connect Launch RustDesk connection (URI handler)
Rename Change the device ID
Delete Soft-delete the device
Revoke Delete + block ID + disconnect active sessions
Ban Block the device from reconnecting
Wake on LAN Send WOL magic packet (offline devices)

Folders

Organize devices into folders:

  • Create/rename/delete folders
  • Drag-and-drop devices between folders
  • Folder counts update automatically

Real-time Status Updates

Device status updates in real-time via WebSocket push from the Go server event bus. No page reload needed — green/red dots update in-place.


Device Detail

Click a device row to open the detail panel:

Info Tab

  • Device ID, hostname, platform, version
  • IP address, last online timestamp
  • Tags, notes, user assignment
  • Connect button (RustDesk URI handler)

Hardware Tab

  • CPU model, cores, architecture
  • Total RAM, total disk
  • OS version, kernel

Metrics Tab

  • Live CPU, memory, disk gauges (animated bars)
  • Historical charts (last 100 data points)
  • Data from POST /api/heartbeat with metrics

Users Page

Manage console users and roles. See User Management and Organizations and RBAC.


Additional Panel Pages

Page Description
Organizations Multi-tenant orgs, members, scoped devices
Fleet Device groups, batch operations, scaling
Policies Access policies, unattended schedules
BetterDesk Agents Incoming-only Support agents (import from BetterDesk-Client) — BetterDesk Agents
Help Requests End-user support inbox
Tickets Internal ticket tracking
CDAP Devices / Studio IoT device management and widget editor
Activity / Reports Audit and reporting views
Security Audit Login and API security events
Server Management Go server health, config, API keys
Settings → Updates In-panel updates — Panel Updates
Settings → Authentication RustDesk client session TTL, OIDC — OIDC SSO

Settings Page

Server Configuration

  • View server address and public key
  • Generate QR codes for client setup
  • Copy configuration strings

Console Settings

  • Language selection (26 locales — auto-discovered from web-nodejs/lang/)
  • Console version info
  • Session timeout configuration

Password Change

  • Current password verification
  • New password with confirmation
  • TOTP 2FA enrollment/removal

Login screen

UX 3.5 and UX 3.6 use the standard panel login (username / password / optional TOTP). The old Windows 11-style desktop login is retired with Desktop Mode.


UI Features

Theme Support

  • Dark (default) — Dark backgrounds, light text
  • Light — White backgrounds, dark text
  • Auto — Follows system prefers-color-scheme

Toast Notifications

  • Success/error/warning/info pop-ups
  • Auto-dismiss with progress bar
  • Hover to pause
  • Max 5 simultaneous toasts

Skeleton Loading

  • Animated shimmer placeholders during data load
  • Applied to tables, cards, avatars

Page Transitions

  • Fade + translateY animation on page content
  • Staggered list item animations (30ms per row)

Responsive Design

  • 4 breakpoints: 1024px, 768px, 600px, 400px
  • Card-style layout on mobile (< 600px)
  • Bottom sheet kebab menu on phones
  • Collapsible sidebar navigation

Internationalization (i18n)

The console supports 26 languages (including EN, PL, DE, FR, ES, JA, ZH, ZH-TW, and more). Languages are auto-discovered from web-nodejs/lang/*.json.

Language Code Status
English en Complete (source)
All others ar, cs, da, de, es, … Maintained — see repo for coverage

Adding a Language

  1. Copy web-nodejs/lang/en.json to web-nodejs/lang/{code}.json
  2. Translate all values (keep keys as-is)
  3. Update the meta section with language info
  4. The language auto-appears in the selector (auto-discovery from lang/ directory)

See the Contributing Translations guide for details.


See also