Move the console to the server view and stream the log while the server boots

Aperta
#210 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, typescript

Direzione di ricerca

Start by locating the server main view, the existing “Minecraft Log” tab, and the code that polls the last 200 container log lines and sends RCON commands. Trace how the container starts and how RCON readiness is detected; use those entry points to plan live log delivery and the console’s startup state. Done means boot output appears on the main view, scrolling up pauses following with a way to jump to the latest output, and commands become available when RCON is ready.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Feedback from a self-hoster: the console is hard to find and not useful while a server boots.

  • It's only reachable through the Edit button, in a tab called "Minecraft Log". It isn't only the Minecraft log either: it's the container output, including itzg's setup steps.
  • While the server is booting you can't really follow it, and that's when you most need it (startup errors, restart loops).
  • The log polls every 3 seconds and replaces the content, so scrolling up to read gets yanked back. "Keep updating" exists but people don't find it.

Fix

  • Put the console on the server's main view, not only inside Edit.
  • Stream the container log from the moment the container starts (setup, mod download, world load), instead of polling the last 200 lines.
  • Stop following new output while the user is scrolled up; show a "jump to latest" button.
  • Enable the command box once RCON is ready. Before that, show it disabled with a "server starting" note instead of hiding it.
  • Rename the tab to something accurate, e.g. "Console". Keep "Export application logs" in global Settings clearly labelled as Isopod's own log, so the two don't look like the same thing.

Acceptance

  • Starting a server from the main view shows its boot output live without opening Edit.
  • Scrolling up during boot doesn't jump back down.
  • Commands work as soon as RCON is up.
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
13h 12m
PR unite (30g)
57

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Isopod-Project/Isopod

Tutte le issue di Isopod-Project/Isopod

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.