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":"Le dice adiós a la latencia a través del Océano Índico.",
"networks.western_canada_s_incumbent_tell_us":"El operador histórico del oeste de Canadá. Dinos qué necesitas y te diremos el precio.",
"networks.will_peer_with_anyone_anywhere":"Hace peering con cualquiera, en cualquier lugar. Se rumorea que manda pasteles de IPv6 por correo.",
"noc.alarms":"Alarmas",
"noc.all_pops":"Todos los POP",
"noc.details":"Detalles",
"noc.full_screen":"Pantalla completa",
"noc.hottest_ports":"Puertos más cargados",
"noc.legend_down":"Caído",
"noc.legend_hot":"Más del 90 %",
"noc.legend_ok":"Menos del 65 %",
"noc.legend_warm":"Más del 65 %",
"noc.n_alarms":{"one":"{n} alarma","other":"{n} alarmas"},
"noc.n_pops_n_links":"{pops} POP · {links} enlaces",
"noc.n_ports_over_90_full":{"one":"{n} puerto por encima del 90 %","other":"{n} puertos por encima del 90 %"},
"noc.n_unhappy_customers":{"one":"{n} cliente descontento","other":"{n} clientes descontentos"},
"noc.n_warnings":{"one":"{n} aviso","other":"{n} avisos"},
"noc.net_per_month":"Neto al mes",
"noc.no_ports_here":"Aún no hay puertos aquí. Compra tránsito o únete a un exchange.",
"noc.nothing_on_fire":"Nada en llamas. Disfrútalo mientras dure.",
"noc.open_in_its_own_window":"Abrir el panel del NOC en su propia ventana",
"noc.the_game_has_a_dialog_open":"La ventana del juego tiene un diálogo abierto. Ciérralo allí primero.",
"noc.the_game_is_paused":"El juego está en pausa.",
"noc.the_game_window_is_closed":"La ventana del juego está cerrada o no responde, así que estas cifras no están en directo. Abre tu red allí y esta ventana se vuelve a conectar.",
"noc.the_game_window_is_hidden":"La ventana del juego está oculta, así que su reloj se ha parado. Vuelve a ponerla en pantalla para seguir jugando.",
"noc.under_attack":"{who} bajo ataque: {g}",
"noc.waiting_for_the_game_window":"Esperando a la ventana del juego…",
"noc.wallboard":"Panel mural",
"noc.your_browser_blocked_the_window":"Puede que tu navegador haya bloqueado la ventana del NOC. Permite las ventanas emergentes en este sitio y vuelve a intentarlo.",
"noc.your_network":"Tu red",
"notifications.last_10_minutes":"últimos 10 minutos",
"notifications.n_min_ago":{"one":"hace {n} min","other":"hace {n} min"},
"notifications.nothing_in_the_last_10_minutes":"Nada en los últimos 10 minutos.",