A NOC screen in its own window, for a second display

A button next to the speed controls opens this page at ?noc=<slot> in a
noopener pop-up, so it runs on its own thread. The window never claims the
slot, saves or runs a day. The game sends it a copy of S and R over a
BroadcastChannel, at most once a second and only while a window is connected,
and runs its clicks through an allowlist of the same ACT.* a click uses.

The window opens on a dark wallboard: a live world map of links and POPs,
traffic and money graphs, alarms, and the hottest ports with the dashboard's
own upgrade buttons (connUp). Clicking a POP filters the ports. Details shows
the full dashboard. Phones do not show the button.
This commit is contained in:
Christopher Hawker 2026-11-04 20:01:37 +11:00
parent c04fbe88b8
commit 80f671953a
18 changed files with 752 additions and 6 deletions

View file

@ -3025,6 +3025,33 @@
"networks.waves_goodbye_to_latency_across_the":"Manda una wave d’addio alla latenza attraverso l’Oceano Indiano.",
"networks.western_canada_s_incumbent_tell_us":"L'incumbent del Canada occidentale. Dicci cosa ti serve e noi ti diremo il prezzo.",
"networks.will_peer_with_anyone_anywhere":"Fa peering con chiunque, ovunque. Si dice spedisca torte IPv6 per posta.",
"noc.alarms":"Allarmi",
"noc.all_pops":"Tutti i POP",
"noc.details":"Dettagli",
"noc.full_screen":"Schermo intero",
"noc.hottest_ports":"Porte più calde",
"noc.legend_down":"Giù",
"noc.legend_hot":"Oltre il 90%",
"noc.legend_ok":"Sotto il 65%",
"noc.legend_warm":"Oltre il 65%",
"noc.n_alarms":{"one":"{n} allarme","other":"{n} allarmi"},
"noc.n_pops_n_links":"{pops} POP · {links} link",
"noc.n_ports_over_90_full":{"one":"{n} porta oltre il 90%","other":"{n} porte oltre il 90%"},
"noc.n_unhappy_customers":{"one":"{n} cliente scontento","other":"{n} clienti scontenti"},
"noc.n_warnings":{"one":"{n} avviso","other":"{n} avvisi"},
"noc.net_per_month":"Netto al mese",
"noc.no_ports_here":"Ancora nessuna porta qui. Compra transit o entra in un exchange.",
"noc.nothing_on_fire":"Niente in fiamme. Goditela finché dura.",
"noc.open_in_its_own_window":"Apri la dashboard NOC in una finestra separata",
"noc.the_game_has_a_dialog_open":"La finestra di gioco ha una finestra di dialogo aperta. Chiudila prima lì.",
"noc.the_game_is_paused":"Il gioco è in pausa.",
"noc.the_game_window_is_closed":"La finestra di gioco è chiusa o non risponde, quindi questi numeri non sono in tempo reale. Riapri lì la tua rete e questa finestra si ricollega.",
"noc.the_game_window_is_hidden":"La finestra di gioco è nascosta, quindi il suo orologio è fermo. Riportala sullo schermo per continuare a giocare.",
"noc.under_attack":"{who} sotto attacco: {g}",
"noc.waiting_for_the_game_window":"In attesa della finestra di gioco…",
"noc.wallboard":"Wallboard",
"noc.your_browser_blocked_the_window":"Il browser potrebbe aver bloccato la finestra NOC. Consenti i pop-up per questo sito e riprova.",
"noc.your_network":"La tua rete",
"notifications.last_10_minutes":"ultimi 10 minuti",
"notifications.n_min_ago":{"one":"{n} min fa","other":"{n} min fa"},
"notifications.nothing_in_the_last_10_minutes":"Niente negli ultimi 10 minuti.",