From 62a7efec7a1cf8166e0297f0a841c6fcf1b2e256 Mon Sep 17 00:00:00 2001 From: Dogfather Date: Tue, 3 Nov 2026 21:48:59 +0100 Subject: [PATCH] Saal am Handy hochkant: auch dort liegt nichts mehr auf dem YouTube-Bild Kamera-Kacheln (40 px, rechts), "Ton einschalten" und Senderleiste (links) stehen in der Info-Zeile unter dem Video statt darauf; Ziel- Karte und Band ruecken dazwischen. Kostet keinen Chat-Platz (390: 341 px, iPhone SE: 222 px wie vorher). Wer selbst sendet, bekommt dafuer eine eigene obere Zeile. "Ton einschalten" darf die Zeile kurz ueberdecken (verschwindet beim ersten Tippen). Namensschilder 11,5 px, "stumm" als Punkt. pruef-saal-handy: zwei neue Pruefungen (vorher rot), 29/0. Co-Authored-By: Claude Opus 5.5 --- server/pruef-saal-handy.mjs | 18 +++++++ workspace/anleitung.html | 28 +++++----- workspace/anruf-probe.html | 10 ++-- workspace/app.webmanifest | 8 +-- workspace/assets/css/reaktion.css | 90 +++++++++++++++++++++++++++++++ workspace/aufgaben.html | 38 ++++++------- workspace/automation.html | 32 +++++------ workspace/befinden.html | 34 ++++++------ workspace/bereich.html | 48 ++++++++--------- workspace/bewerben.html | 38 ++++++------- workspace/bewerbungen.html | 36 ++++++------- workspace/buehne.html | 6 +-- workspace/calls.html | 34 ++++++------ workspace/chat.html | 48 ++++++++--------- workspace/content.html | 34 ++++++------ workspace/crew-index.html | 12 ++--- workspace/crew.webmanifest | 8 +-- workspace/dateien.html | 34 ++++++------ workspace/dogtags.html | 38 ++++++------- workspace/entwicklung.html | 36 ++++++------- workspace/hilfe.html | 30 +++++------ workspace/index.html | 10 ++-- workspace/kalender.html | 34 ++++++------ workspace/leistung.html | 32 +++++------ workspace/manager-ziele.html | 30 +++++------ workspace/material.html | 32 +++++------ workspace/notizen.html | 28 +++++----- workspace/personen.html | 32 +++++------ workspace/profil.html | 36 ++++++------- workspace/reaktion-foyer.html | 34 ++++++------ workspace/reaktion.html | 66 +++++++++++------------ workspace/rechte.html | 34 ++++++------ workspace/report.html | 36 ++++++------- workspace/scouting.html | 32 +++++------ workspace/start.html | 40 +++++++------- workspace/startcheck.html | 34 ++++++------ workspace/steckbrief.html | 36 ++++++------- workspace/support.html | 32 +++++------ workspace/tafel.html | 10 ++-- workspace/talente.html | 36 ++++++------- workspace/team.html | 32 +++++------ workspace/teamlage.html | 34 ++++++------ workspace/teilen.html | 30 +++++------ workspace/treff-moderation.html | 32 +++++------ workspace/treff-regeln.html | 32 +++++------ workspace/uebersicht.html | 32 +++++------ workspace/unsere-seiten.html | 30 +++++------ workspace/unterstuetzen.html | 32 +++++------ workspace/werdegang.html | 32 +++++------ workspace/willkommen.html | 2 +- workspace/wissen.html | 34 ++++++------ 51 files changed, 857 insertions(+), 749 deletions(-) diff --git a/server/pruef-saal-handy.mjs b/server/pruef-saal-handy.mjs index d29ed07c..35499f62 100644 --- a/server/pruef-saal-handy.mjs +++ b/server/pruef-saal-handy.mjs @@ -229,6 +229,24 @@ melde("\n=== Handy hochkant (390 × 844) ==="); `statt des Schilds: „LIVE“ mit rotem Punkt im Chat-Kopf, ${m.chatZahl} dabei (Schild sagte „${m.schildZahl}“)`); ok(m.chatH >= 250, `der Chat behält Platz (${m.chatH} px)`); ok(m.breit, "nichts läuft seitlich hinaus"); + /* HOCHKANT AUCH FREI (03.11.2026, Filipe: „falls das noch nicht + perfektioniert ist mach es“): Kamera-Kacheln und „Ton einschalten“ + stehen in der Info-Zeile unter dem Video – nicht auf dem Player – und + decken dort weder Ziel-Karte noch Band zu. */ + const hochZeile = await s.seite.evaluate(() => { + const r = (e) => e && e.getBoundingClientRect(); + const deckt = (a, b) => !!a && !!b && b.width > 2 && Math.min(a.right, b.right) - Math.max(a.left, b.left) > 2 && Math.min(a.bottom, b.bottom) - Math.max(a.top, b.top) > 2; + const ziel = r(document.querySelector("#saalinfo .szk[data-sichtbar='ja']")); + const band = r(document.querySelector("#saalinfo .werbung__band")); + const kams = [...document.querySelectorAll("#kameras .kamera")].map(r).filter((x) => x && x.width > 2); + return { n: kams.length, kleinste: kams.length ? Math.round(Math.min(...kams.map((k) => k.height))) : 0, + decktInfo: kams.filter((k) => deckt(k, ziel) || deckt(k, band)).length, + imFenster: kams.every((k) => k.left >= 0 && k.right <= innerWidth + 1) }; + }); + ok(m.kamR.length > 0 && m.kamAufVideo === 0 && !m.tonAufVideo, + `hochkant: Kamera-Kacheln und „Ton einschalten“ liegen nicht auf dem YouTube-Bild (${m.kamAufVideo} darauf, Ton darauf: ${m.tonAufVideo})`); + ok(hochZeile.n > 0 && hochZeile.decktInfo === 0 && hochZeile.imFenster && hochZeile.kleinste >= 36, + `hochkant: die Kacheln stehen in der Info-Zeile, ganz im Bild, mindestens 36 px hoch, ohne Karte oder Band zu decken (${JSON.stringify(hochZeile)})`); ok(s.konsole.length === 0, `keine Fehler in der Konsole (${s.konsole.slice(0, 3).join(" | ") || "keine"})`); await s.seite.screenshot({ path: join(HIER, "pruef-saal-handy-hoch.png") }); /* DREHEN: quer wandert alles zurück über das Bild — ohne Neuladen. */ diff --git a/workspace/anleitung.html b/workspace/anleitung.html index 233550d1..f34c9c45 100644 --- a/workspace/anleitung.html +++ b/workspace/anleitung.html @@ -7,17 +7,17 @@ - - - - - + + + + + - - + + @@ -289,16 +289,16 @@ Und anleitung.js braucht es doppelt: Symbol, Farbe, Name und Adresse jeder Karte kommen von dort, nicht vom Server. --> - + - - - - - - + + + + + + diff --git a/workspace/anruf-probe.html b/workspace/anruf-probe.html index 89616f7b..9c37a928 100644 --- a/workspace/anruf-probe.html +++ b/workspace/anruf-probe.html @@ -16,8 +16,8 @@ verdeckt. Gefunden hat es pruef-struktur. Richtig sind `gate.css` (die Farbwerte des Hauses) und `haus.css`. --> - - + + - +