feat: Handy - Platz fuer Statusleiste, randlose Bild-Vollansicht mit Gesten, groessere Medien im Chat
Bernds Beta-Feedback: - main.dart: edgeToEdge statt immersiveSticky (Statusleiste schob sich ueber den Inhalt); MobileShell mit SafeArea + Statusleisten-Symbolen passend zum Theme, Hintergrund bg1 = Kopfzeilenfarbe. - MediaViewer: Handy randlos auf Schwarz (vorher 24-px-Rand, halbtransparent); Tippen neben das Bild schliesst, aufs Bild blendet Leiste ein/aus; Wischen hoch/runter schliesst (nur ohne Zoom, ueber InteractiveViewer-Callbacks, kein Gestenkonflikt mit Zwei-Finger-Zoom); Doppeltipp zoomt an der Stelle. - Chat: Bilder auf dem Handy bis halbe Bildschirmhoehe statt fest 320 px; Videos im echten Seitenverhaeltnis statt fest 16:9. - UI-Durchlauf integration_test/mobile_ui_screens_test.dart (Handy-Format, Testprofil, Screenshots nach build/ui_screens/) + Testinhalte-Helfer test/live_ui_fixture_test.dart; scripts/test.ps1 -Ui. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ef1d881967
commit
a1d64ec813
+24
-1
@@ -5,6 +5,8 @@
|
||||
# pwsh scripts/test.ps1 -Live + Live-Test gegen steggi-matrix.work
|
||||
# (Test-Accounts pyramidtest1/2, NICHT Bernd/Uta)
|
||||
# pwsh scripts/test.ps1 -Bench + Benchmarks (Datenbank/Verschlüsselung, Migration)
|
||||
# pwsh scripts/test.ps1 -Ui + UI-Durchlauf im Handy-Format mit Screenshots
|
||||
# (echte App, Testprofil pyramidtest1 → build/ui_screens/)
|
||||
# pwsh scripts/test.ps1 -All alles zusammen
|
||||
# pwsh scripts/test.ps1 -Bench -UpdateBaseline
|
||||
# Benchmark-Werte als neue Baseline speichern
|
||||
@@ -16,6 +18,7 @@
|
||||
param(
|
||||
[switch]$Live,
|
||||
[switch]$Bench,
|
||||
[switch]$Ui,
|
||||
[switch]$All,
|
||||
[switch]$UpdateBaseline,
|
||||
[switch]$SkipAnalyze
|
||||
@@ -27,7 +30,7 @@ $ErrorActionPreference = "Stop"
|
||||
# Immer aus dem Projektordner arbeiten, egal von wo das Skript aufgerufen wird.
|
||||
Set-Location (Split-Path $PSScriptRoot -Parent)
|
||||
|
||||
if ($All) { $Live = $true; $Bench = $true }
|
||||
if ($All) { $Live = $true; $Bench = $true; $Ui = $true }
|
||||
|
||||
$results = [System.Collections.Generic.List[object]]::new()
|
||||
|
||||
@@ -99,6 +102,26 @@ if ($Bench) {
|
||||
Write-Host "Benchmark-Berichte: build/benchmarks/*.json (Baseline: benchmark/baseline/)"
|
||||
}
|
||||
|
||||
if ($Ui) {
|
||||
$uiProfile = Join-Path $env:USERPROFILE ".pyramid-autopilot\profile1"
|
||||
if (-not (Test-Path (Join-Path $uiProfile "pyramid.sqlite"))) {
|
||||
Add-Skipped "UI-Durchlauf (Handy-Format)" "Testprofil fehlt: $uiProfile"
|
||||
} elseif (Get-Process pyramid -ErrorAction SilentlyContinue) {
|
||||
# Nie zwei Matrix-Clients auf derselben DB – und Bernds Fenster nicht stören.
|
||||
Add-Skipped "UI-Durchlauf (Handy-Format)" "Pyramid läuft gerade – erst beenden"
|
||||
} else {
|
||||
$env:PYRAMID_PROFILE_DIR = $uiProfile
|
||||
try {
|
||||
Invoke-Step "UI-Durchlauf (Handy-Format, Testprofil)" {
|
||||
flutter test integration_test/mobile_ui_screens_test.dart -d windows
|
||||
}
|
||||
} finally {
|
||||
Remove-Item Env:PYRAMID_PROFILE_DIR -ErrorAction SilentlyContinue
|
||||
}
|
||||
Write-Host "Screenshots: build/ui_screens/ (Testinhalte ggf. mit test/live_ui_fixture_test.dart anlegen)"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "━━ Zusammenfassung" -ForegroundColor Cyan
|
||||
$results | Format-Table -AutoSize | Out-String | Write-Host
|
||||
|
||||
Reference in New Issue
Block a user