fix(ui): Notruf-Button dezent in den Header; Log live & durchscrollend
P1: Der prominente rote Footer-Banner war erdrückend ("erinnert ständig an
Not"). Ersatz: kleiner, quadratischer, dezenter 🆘-Button links neben der
Sprachauswahl im Header.
P4: journalctl -f wird via `stdbuf -oL` zeilengepuffert — neue Log-Zeilen
kommen jetzt sofort (statt blockweise) im Browser an und scrollen durch.
app.js-Cache-Bust auf v=43.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3389f75af0
commit
40291d318b
2 changed files with 6 additions and 7 deletions
|
|
@ -383,7 +383,10 @@ async def admin_log_ws(websocket: WebSocket, key: str | None = None):
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
# stdbuf -oL: zeilenweise Pufferung erzwingen, damit neue Log-Zeilen sofort
|
||||
# (nicht erst blockweise) im Browser ankommen und durchscrollen.
|
||||
proc = await asyncio.create_subprocess_exec(
|
||||
"stdbuf", "-oL", "-eL",
|
||||
"journalctl", "-f", "-u", "voice-assistant.service",
|
||||
"-n", "100", "--no-pager", "-o", "short",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue