Commit Graph
11 Commits
Author SHA1 Message Date
Claude ba6f9abaf1 Web: keep applied settings until the state shows them
An Apply button dropped its drafts on the click and the command result
cleared the rest, while the snapshot in hand still predated the command,
so a state push flipped the seeker pattern (and the frigate's torpedo
settings, engine plant and helicopter pattern) back for a moment. Drafts
now survive until the snapshot after the result, and the bridge publishes
the state a command produced in the same pump as its result.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VQkTBZ6nNCXjyAJvYjDofk
2026-10-02 14:13:39 +00:00
Claude 67b290c458 U-boat stations: seeker settings, dead reckoning with route, manual chapter, web echo sounder
- Weapons: search pattern (straight, snake, circle, helix) and seeker enable
  point (0.6-3.0 NM) for the next shots, keys X and , / . as on the frigate,
  web Weapons card, saved with the crew orders and each torpedo in the water.
- Navigation: dead reckoning of the crewed boat (steady set plus a random walk,
  less on a nuclear boat), GPS fix with the mast up at periscope depth, chart
  data drawn in the navigated frame, chart check and route from the navigated
  position; route waypoints by right click, zigzag and expanding square (W),
  clear (Backspace), web route buttons and click mode.
- Save format v48 with the v47 -> v48 migration step and frozen v47 samples.
- Manual: new chapter "Submarine" with a standard procedure for each of the
  seven boat stations; F1 on the submarine side shows the station's procedure
  and opens that chapter.
- Web: echo-sounder strip at the Navigation station (own soundings and the
  charted profile ahead), DR position line, route display on the chart.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155H3YRuWcMBKL8jqWWBEZn
2026-10-02 06:05:15 +00:00
Claude e102926625 Web: own missions dialog and Mission Planner for the solo host
The solo browser lists the uConsole's own missions, downloads them as
share files, uploads files, edits or plans missions on a sector map and
starts them; the New game dialog offers own missions too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012UHht4zQhR5DrwQWsj4uRM
2026-10-01 08:58:28 +00:00
Claude 6cc074d76f Multiplayer lobby with ready ticks and a shared start (1.3.101)
A new main-menu entry "Multiplayer" opens a lobby: Remote Crew starts in
crew mode by itself, the uConsole shows QR code, address and join code,
the players with their stations and ready ticks, and the host's mission,
unit and own station. Browsers see the same crew room above the station
cards and tick Ready. The host starts a five-second countdown every
browser sees; the mission then begins for all at once and the uConsole
opens on its lobby station. A mission started from the lobby returns
everyone to the lobby. Ready ticks and the lobby are transient.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 07:58:03 +00:00
Claude db04703a08 Remote Crew server language switch (1.3.71)
The Windows starter gets a Language box (English/Deutsch) that relabels the
window at once and saves the choice in settings.json for the game. Crew,
lookout and admin pages open in the host's saved language (named by the
server in a meta tag) and the crew page has a visible English/Deutsch button.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ybp8UvaVnj6zwuseaMHD73
2026-09-29 08:23:01 +00:00
Claude d653d2d0d5 Give the frigate an autopilot route with waypoints and search patterns (1.3.52)
Bridge: right click adds a waypoint (up to 8), W starts a zigzag or an
expanding square, Backspace clears; any helm order takes over. Remote Crew
bridge gets an Autopilot route card and a chart mode for waypoints.
Saves are now v28 with the route block.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:15:00 +00:00
Claude b7c5697112 Add spoken crew reports on the uConsole (espeak-ng) and in Remote Crew browsers
Important feed events (torpedo in the water, new contact, breaking-up
noises, torpedo away, hit, action stations, patrol aircraft on station,
mission result) become transient callouts with bearings spoken digit by
digit. The uConsole speaks through an installed espeak-ng behind a new
option (off by default, silent without espeak); browsers get the
callouts in the common audio block and speak them with SpeechSynthesis
in their own language behind a per-viewer switch. Frigate roles only.

Also moves the main-menu test indices past the new Training and
Campaign entries.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 20:03:15 +00:00
Claude bbb3345e9a Boat Mast & ESM station: emitter list, cross-fix, mast warning (stage B)
The crewed boat's mast now intercepts real radar signals through
scan_for_signals with the boat as observer. The crew keeps an emitter
list (fingerprint association, agile hops merged), classifies emitters
against the library, sees the bearing history, a Gauss-Newton cross-fix
from own motion with a 95 % error ellipse, the level trend, a warning
when a radar can see the mast and a recommended mast time from the sea
state. Bearing lines and fixes appear on the boat chart and web map and
can be transferred to the boat plot. Save format v18 (crew.esm).

The uConsole boat contact list shows quality as a percentage instead of
the bare "q0.98".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 12:37:40 +00:00
Claude 2c34d6da5b Fix the two failing Remote Crew browser tests
- Radio room: an empty DF scope now writes its "no signal" text
  equivalent instead of clearing it (ELOKA already did this).
- Sonar room: the client remembers the focus it last sent, so a quick
  reselection (A, B, A) is no longer dropped against the lagging
  published focus.
- Role-states browser test: instrument the radio scope, log pushed
  states like polled ones, wait one more presence poll per role, guard
  the sonar overview check against a role switch, and read the result
  over DevTools so the run ends when the probe does (about 10 s).
- Submarine sonar audio test: run Chromium in real time and read the
  result over DevTools; virtual time starved the live audio socket.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011qbgcvPr4s2ohpf2qA1zNW
2026-09-27 09:28:02 +00:00
db9979andClaude Opus 5.5 4d2500fceb Side choice: a new game asks which unit to play; solo can play the boat
The uConsole asks "Which unit do you play?" before every new game
(frigate or hostile submarine, last choice preselected). The browser
lobby first shows the unit, then its stations. A solo browser switches
all its stations to the boat's six (and back) from the host bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:52:15 +02:00
db9979andClaude Opus 5.5 4dd23bc242 Web client: CIC redesign with ES modules and bundled fonts
- 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>
2026-09-26 12:02:01 +02:00