Skip to main content

Quick Menu

The Quick Menu is a draggable floating button that gives you instant access to your layout's locomotives, effects, turnouts, routes, signals, and sensors from any page in the Throttle app. It appears whenever you are logged in and have a layout selected.

The FAB

The Quick Menu button displays the DEJA.js "D" logo and floats above all page content. You can:

  • Tap to open the menu panel.
  • Drag to reposition the button anywhere along the left or right edge of the screen. Your position is remembered across sessions.

When the menu is open, the logo changes to an โœ• close icon. Tapping outside the panel or dragging the button also closes the menu.

The panel opens to the left or right of the button depending on which side of the screen the FAB is positioned โ€” it always stays fully visible.

Home Screen

When first opened, the Quick Menu shows three sections:

Active Throttles

A compact list of your currently active throttle sessions showing locomotive name and speed. Tap any throttle to jump directly to its Throttle Control screen.

Favorites

If the Quick Menu Favorites feature flag is enabled, a favorites section appears below the throttle list. This allows you to pin frequently used items for one-tap access.

Layout Controls

A grid of icon buttons for each area of your layout:

IconLabelAction
๐Ÿš‚ LocosLocosDrill into locomotive browser
๐Ÿš€ EffectsEffectsDrill into effects browser
๐Ÿ—บ๏ธ RoutesRoutesDrill into routes browser
๐Ÿ”€ TurnoutsTurnoutsDrill into turnouts browser
๐Ÿšฆ SignalsSignalsDrill into signals browser
๐Ÿ”Œ ConnectConnectNavigate to connection settings
๐Ÿงฉ ProgramProgramNavigate to CV programmer
โš™๏ธ SettingsSettingsNavigate to app settings

If the DEJA.js server is offline, a "Server offline" indicator appears above the grid to let you know that server-dependent actions (toggles, route activation) will be disabled.

Drill-Down Navigation

Tapping an entity (e.g., Effects) opens a sub-menu with filtering options specific to that entity type:

Locos

  • All โ€” browse every locomotive in your roster
  • Active โ€” show only locomotives with active throttle sessions
  • By Roadname โ€” group locomotives by railroad company (e.g., BNSF, Union Pacific)
  • New โ€” opens the Cloud app in a new tab to add a locomotive

Effects

  • All โ€” every effect on the layout
  • By Device โ€” group by the device that controls the effect
  • By Type โ€” group by effect type (sound, LED, relay, macro, etc.)
  • By Tag โ€” group by user-defined tags
  • New โ€” opens the Cloud app to add an effect

Turnouts

  • All โ€” every turnout on the layout
  • By Device โ€” group by controller device
  • By Tag โ€” group by tag
  • Labels โ€” group by turnout type
  • New โ€” opens the Cloud app to add a turnout

Routes

  • All โ€” every route on the layout
  • By Waypoint โ€” group by start/end waypoint
  • New โ€” opens the Cloud app to add a route

Signals

  • All โ€” every signal on the layout
  • By Device โ€” group by controller device
  • By Aspect โ€” group by current aspect (red, yellow, green)
  • New โ€” opens the Cloud app to add a signal

Sensors

  • All โ€” every sensor on the layout
  • By Device โ€” group by controller device
  • Automations โ€” sensors with attached automations
  • New โ€” opens the Cloud app to add a sensor

Item Lists and Actions

After selecting a filter (or "All"), you see the individual items. Each item displays its name, an icon in the item's configured color, and an action control:

EntityActionBehavior
Locos๐ŸŽฎ Gamepad buttonNavigates to /throttle/:address for that locomotive
Routes๐Ÿ”€ Turnout buttonActivates the route (fires the turnout sequence)
EffectsToggle switchTurns the effect on or off
TurnoutsToggle switchThrows or closes the turnout
SignalsToggle switchSets the signal to green or red
SensorsToggle switchActivates or deactivates the sensor

Item Colors

Each item uses its own color as configured in the Cloud app. If no custom color is set, items fall back to a default color for their entity type (pink for locos, indigo for effects, amber for turnouts, purple for routes, emerald for signals, teal for sensors).

Server Offline Behavior

Toggle switches and route activation buttons are disabled when the DEJA.js server is not connected. The loco gamepad button and "New" links remain functional since they don't require the server โ€” they navigate within the app or open the Cloud app in a new tab.

Creating New Items

Every entity sub-menu includes a New option (green โœš icon) that opens the corresponding form in the Cloud app in a new browser tab. This lets you quickly add a locomotive, effect, turnout, route, signal, or sensor without leaving your operating session.

Visibility

The Quick Menu is visible on every page in the Throttle app as long as:

  1. You are logged in.
  2. A layout is selected.
  3. The page is not a fullscreen page (login, signup, layout selection).

You can toggle Quick Menu visibility in the Settings page.