mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-05 20:34:16 +01:00
- Remote Crew browser client rebuilt as a dark combat-information-centre layout for large desktop monitors: slim status bar (stations, mission, clocks, UTC, link state), pulsing alert band, the instrument as centrepiece and collapsible docks (contacts, station, contact detail, log drawer; keys , . L). Four columns from 2400 px, fluid type up to 4K; guide, lookout and contact library open as overlays (Esc closes). - app.js split into native ES modules under data/commander/js; the transport (net/*) no longer touches the DOM and talks to the views through synchronous topics (core/events.js, app/bindings.js); redraws share one frame scheduler. - style.css replaced by a token-based design system in data/commander/css. - Inter 4.1 and JetBrains Mono 2.304 bundled unmodified (OFL-1.1) with provenance in THIRD_PARTY_NOTICES.md; CSP allows font-src 'self'. - Server serves the css/js/fonts trees from one asset manifest (src/commander/assets.py); packaging, capture tool, help, manual and docs updated; tests share tests/commander_web.py and import modules directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
74 lines
2.4 KiB
JavaScript
74 lines
2.4 KiB
JavaScript
// Remote Crew web client entry point (native ES module, no build step).
|
|
// The store is imported first so shared state exists before any module body
|
|
// runs; every other module is listed so the whole client is evaluated, then
|
|
// the module initializers run in their original order.
|
|
import "./state/store.js";
|
|
import "./core/base.js";
|
|
import "./core/palette.js";
|
|
import "./state/shared.js";
|
|
import "./net/host.js";
|
|
import "./views/bridge-orders.js";
|
|
import "./views/feeds.js";
|
|
import "./views/status.js";
|
|
import "./state/availability.js";
|
|
import "./state/display-clock.js";
|
|
import "./core/events.js";
|
|
import "./core/scheduler.js";
|
|
import { init as initViewsCanvases } from "./views/canvases.js";
|
|
import { init as initAppBindings } from "./app/bindings.js";
|
|
import { init as initViewsLayout } from "./views/layout.js";
|
|
import "./core/format.js";
|
|
import "./audio/audio.js";
|
|
import "./views/dom.js";
|
|
import "./stations/bridge.js";
|
|
import "./stations/sonar.js";
|
|
import "./stations/uboot.js";
|
|
import "./stations/weapons.js";
|
|
import "./stations/damage.js";
|
|
import "./stations/opz.js";
|
|
import "./stations/radio.js";
|
|
import "./stations/engine.js";
|
|
import "./stations/helicopter.js";
|
|
import "./stations/eloka.js";
|
|
import "./views/visual-common.js";
|
|
import "./views/weather.js";
|
|
import "./plot/axes.js";
|
|
import "./plot/clock.js";
|
|
import "./plot/heatmap.js";
|
|
import "./plot/spectrum.js";
|
|
import "./plot/peaks.js";
|
|
import "./stations/sonar-visuals.js";
|
|
import "./views/role-map.js";
|
|
import "./views/role-visuals.js";
|
|
import "./views/station-view.js";
|
|
import "./views/lobby.js";
|
|
import "./views/analyzer.js";
|
|
import "./net/request.js";
|
|
import "./core/i18n.js";
|
|
import "./net/session.js";
|
|
import "./state/schema.js";
|
|
import "./net/sonar-stream.js";
|
|
import "./state/display-model.js";
|
|
import "./net/poll.js";
|
|
import "./views/tracks.js";
|
|
import "./views/controls.js";
|
|
import "./views/render.js";
|
|
import "./net/commands.js";
|
|
import "./views/simlog.js";
|
|
import "./audio/alerts.js";
|
|
import "./views/chart.js";
|
|
import "./plot/symbols.js";
|
|
import "./views/lookout.js";
|
|
import { init as initInputWiring } from "./input/wiring.js";
|
|
import { init as initViewsStationTabs } from "./views/station-tabs.js";
|
|
import { init as initViewsHost } from "./views/host.js";
|
|
import { init as initAppBootstrap } from "./app/bootstrap.js";
|
|
|
|
initAppBindings();
|
|
initViewsCanvases();
|
|
initViewsLayout();
|
|
initInputWiring();
|
|
initViewsStationTabs();
|
|
initViewsHost();
|
|
initAppBootstrap();
|