ui/SettingsModal¶
Classes¶
SettingsModal¶
Defined in: ui/SettingsModal.ts:18
Settings Modal Component Handles BlueSky server configuration and map style settings
Constructors¶
Constructor¶
Defined in: ui/SettingsModal.ts:64
Returns¶
Methods¶
open()¶
Defined in: ui/SettingsModal.ts:276
Open the settings modal. Settings are loaded by onBeforeOpen(), which the modal manager fires on every open.
Returns¶
void
close()¶
Defined in: ui/SettingsModal.ts:283
Close the settings modal
Returns¶
void
connectToConfiguredServer()¶
Defined in: ui/SettingsModal.ts:444
Connect to the currently-configured BlueSky host programmatically, without any modal interaction. Used by the integrated build to auto-connect after the server is started/restarted. Resolves true once the connection is confirmed.
Returns¶
Promise\<boolean>
disconnectFromConfiguredServer()¶
Defined in: ui/SettingsModal.ts:483
Disconnect from the BlueSky server programmatically, without any modal interaction. Used by the integrated build to auto-disconnect after the server is stopped/killed.
Returns¶
Promise\<void>
enableIntegratedMode()¶
Defined in: ui/SettingsModal.ts:558
Switch the connectivity section into integrated mode (integrated build only).
In the integrated build BlueSky runs inside the same container as the WebATM backend, so the connection host is always "wherever the backend lives" and connecting/disconnecting follows the server lifecycle automatically. Lock the host to the backend-reported value and hide the manual Connect/Disconnect buttons, and keep it that way regardless of connection state. Never called in the default build, so it stays a no-op there.
Returns¶
void
Variables¶
settingsModal¶
Defined in: ui/SettingsModal.ts:690