Repository navigation
iOS PWA safe areas, feedback/foutmeldingen en how-to's in actieve vorm (#54, #55) - #56
Merged
Merged
Conversation
#54) Oorzaak: app/static/index.html bevatte geen env(safe-area-inset-*) regels. Met viewport-fit=cover viel in standalone-PWA modus de iOS-statusbalk over de header en de home-indicator over de footer/invoerbalk. De fix was tijdens #35 geschreven maar nooit meegekomen in PR #36; hij overleefde alleen in capture-commit 45d3cc3 op prototype/taalniveau-gui. Fix: alleen de safe-area-padding overgenomen uit 45d3cc3 (header padding-top/right/left, footer padding-bottom/right/left als calc(<base> + env(safe-area-inset-*, 0px))). Zonder prototypeblok en zonder Wheely->Wielie rename. CRLF line-endings behouden. Regressietest: test_index_has_safe_area_insets in app/tests/test_app.py assert dat de geserveerde HTML de env(safe-area-inset-top) regel in het header-blok en env(safe-area-inset-bottom) in het footer-blok bevat. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
CONTRIBUTING.md zei alleen `pytest`, maar fastapi/pytest zitten niet in de standaard-`python` — alleen in de project-venv. Werkstap 4 en de checklist noemen nu `.venv\Scripts\python -m pytest app/tests` vanuit repo-root, plus het eenmalig aanmaken van de venv met app\requirements-dev.txt. De docstring van app/tests/test_app.py vermeldt hetzelfde commando en het juiste pad naar requirements-dev.txt (app/, niet repo-root). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
Na a67d650 bleef het op iPhone misgaan: - Invoervelden < 16px (#question 0.95rem, feedback 0.8rem) lieten iOS bij focus inzoomen; de zoom bleef hangen, waardoor de header onder de statusbalk schoof en de Verstuur-knop buiten beeld viel. Beide nu 16px. - iOS 26 negeert theme-color/black-translucent en tekent de statusbalk zelf, getint naar de body-achtergrondkleur of een fixed/sticky element bovenin. Body-achtergrondkleur is nu var(--accent) (afbeelding dekt hem af) en de header is sticky; manifest background_color gelijk aan theme_color. - Service worker cache naar v6. Regressietests in app/tests/test_app.py voor de 16px-invoervelden en de body-/header-kleur. Co-authored-by: Copilot <[email protected]>
Alle .msg-ballonnen (bot en gebruiker) krijgen 1px solid var(--danger), het clubrood dat ook de invoerbalk en Verstuur-knop gebruiken. De grijze rand van de bot-ballon vervalt. Service worker cache naar v7. Co-authored-by: Copilot <[email protected]>
wielie.jpg omgekleurd naar exact clubblauw (#033ec2) en clubrood (#e00720); schaduw behouden. Rug: egaal rood rond nek/schouder, kort rood/blauw dambordverloop, verder blauw. Shirtblokken egaal geschilderd (geen JPEG-randen). PWA-iconen opnieuw gegenereerd met scripts/make_icons.py. Service worker cache naar v8. Co-authored-by: Copilot <[email protected]>
App-naam (manifest short_name, apple-mobile-web-app-title), header, taalniveau-uitleg, typ-indicator, how-to "zet chatbot op je beginscherm" en tests. Service worker cache naar v9. Co-authored-by: Copilot <[email protected]>
Replace device-height corrections with visual viewport sizing and offset handling. Add browser regressions, opt-in geometry diagnostics, and the controlled default status-bar trial. The device test confirms the bottom strip is gone; the blurred PWA heading remains unresolved. Record the evidence and next Mac inspection steps without claiming a complete fix. Validation: 63 app tests and 31 JavaScript tests passed. Co-authored-by: Copilot <[email protected]>
Step 1 of the GUI rebuild: separate /lab/ installation without background, safe areas, viewport.js or service worker. Root service worker skips /lab/ (cache v17). Co-authored-by: Copilot <[email protected]>
…agnosis (#54) Step 1 minimal page was blurred in the installed PWA but sharp in a Safari tab. Co-authored-by: Copilot <[email protected]>
Only the top strip is blurred in the installed PWA; content scrolled below it is sharp. Co-authored-by: Copilot <[email protected]>
Measured: iOS blurs the top 36 css px below the opaque status bar in standalone mode, blending the light bar into the content. Co-authored-by: Copilot <[email protected]>
devswha/ovis#164 reports no iOS 27 blur with status-bar-style default; our default page still blurred 36px. Theme-color is the remaining difference under test. Co-authored-by: Copilot <[email protected]>
…ed (#54) Diag-4 without any theme-color: no top-edge blur on iOS 27. This isolates meta vs manifest. Co-authored-by: Copilot <[email protected]>
Root cause: on iOS 27 an installed PWA with a theme-color (meta tag or manifest theme_color) gets a system blur over the top ~36 css px below the status bar. Isolated on device with /lab/ variants: no theme-color = sharp; manifest theme_color alone = blurred. Safari tabs are unaffected. Trade-off: no blue theme tint on Android/iOS bars; sharpness wins. Shell cache v18. Co-authored-by: Copilot <[email protected]>
Shell cache v19. Co-authored-by: Copilot <[email protected]>
- Failed feedback (network or non-2xx) now says 'Feedback niet verstuurd. Probeer het opnieuw.' and can be retried; previously it always thanked the user and locked the buttons. - Chat errors show only the server's own error text, otherwise a Dutch fallback instead of raw browser/JSON parse messages. - The question field is refocused only on fine-pointer devices so the iOS keyboard no longer covers a fresh answer. - wielie.jpg (icon source only) is no longer part of the offline shell. Co-authored-by: Copilot <[email protected]>
…out theme-color (#54) Real screen still blurred after theme-color removal; lab-diag-4 was sharp. Variables: blue top edge and viewport-fit=cover. Co-authored-by: Copilot <[email protected]>
) theme-color removal fixed a bare test page but not the real screen (blue header, viewport-fit=cover). Separating experiment not run; deferred as an iOS 27 bug. Findings in docs/how-to/toon-chatdiagnostiek-op-je-telefoon.md. Co-authored-by: Copilot <[email protected]>
…-to-namen in actieve vorm (#55) - nieuwe how-to gebruik-feedback-om-prompts-te-finetunen.md: de hele loop feedback ophalen -> analyseren (trace_conversation) -> failing case in evalset -> prompt/config wijzigen -> create_agents.py --apply -> eval-gate -> geanonimiseerd in LEARNINGS.md - how-to-pagina's hernoemd naar actieve werkwoordsvorm (kebab-case): synchroniseer-libraries, stel-websearch-allowlist-in, toon-chatdiagnostiek-op-je-telefoon, maak-of-update-productie-agents, raadpleeg-feedback-voor-triage; alle links bijgewerkt (incl. pre-existing kapotte ../how-to-link in system-prompt.md, gevonden door de nieuwe test) - naamregel vastgelegd in DOCUMENTATION_GUIDE.md en de write-documentation skill - nieuwe test tests/test_docs_naming.py: kebab-case in docs/how-to/, index in README, relative .md-links resolven Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brengt alles wat al live op de NAS draait naar
main, plus de how-to-herstructurering van #55.Gedragsafwijkingen in de chat:
Daarnaast: Wheely → Wielie, Wielie-icoon in clubkleuren, rode rand om tekstballonnen.
Evidence
test_chat_deviations.cjsfaalde opactual: 'Failed to fetch',actual: 'Verstuur feedbackBedankt voor je feedback.'na een mislukte POST, en focus op touchscreen;test_no_theme_color_because_ios_blurs_top_edgefaalde.After:
pytest tests app/tests→ 186 passed (incl. Playwright-layouttests Chromium/WebKit entest_docs_naming.py);node --test app/tests/*.cjs→ 41 passed.theme_colorin het manifest. Het echte scherm blijft wazig; zie de comment in iOS PWA: statusbalk overlapt header en home-indicator klippt invoerbalk (safe-area-insets ontbreken op main) #54.Merge Danger
Door: two-way
Alleen statische frontend, docs en tests; revert + cache-bump volstaat.
Blast Radius: PWA-installaties
Geïnstalleerde apps krijgen een witte statusbalk i.p.v. blauw; iOS leest dat pas na herinstallatie. Links naar de oude how-to-namen buiten de repo breken.
Closes #55
Refs #54 (blijft open: wazige kop op het echte scherm onder iOS 27 is uitgesteld)