swisspost-evoting-go-poc/cmd
saymrwulf a1e4ec6ce7 Cockpit UX: auto-open browser, Replay button, graceful serialization
Make the live cockpit foolproof to run:
- Auto-open the default browser on start (macOS/Linux/Windows; --no-open to
  disable). Binds the listener first, so the browser only opens once the server
  is accepting connections.
- Clear message when the port is already in use instead of a raw bind error.
- A prominent "▶ Run the election again" button appears when the ceremony
  finishes, so replaying needs no arcane page-reload knowledge.
- Second viewer now waits gracefully (mutex) instead of getting a 409.

Verified in-browser: replay button shows on completion; port-busy prints a
friendly message.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 17:13:20 +02:00
..
evote Cockpit UX: auto-open browser, Replay button, graceful serialization 2026-07-07 17:13:20 +02:00