Repository navigation
feat(panel): installable, mobile and shareable by QR - #12
Merged
Merged
Conversation
The panel is now an installable app: a web manifest, icons (one maskable) and a service worker that caches the shell and never the API (ADR-0010). It says when it is offline instead of showing invented data, and works at 360 px with 44 px touch targets and safe-area insets. An organizer gets a QR code, copy and share for the drop's buyer link (#/d/<id>), which opens a buyer-only page for the audience's phones. The QR encoder is in-repo, with no dependency. PwaAssetsTests checks the manifest, the icons and that the precache list matches the files served. Also fixes buttons that start hidden showing as empty squares in the top bar.
A use-case document (QR at a pop-up, five-minute reproduction, what each guarantee means for the seller and what is deliberately not done), spec 004 with its tasks, ADR-0010 as Proposed, runbook notes on reaching the app from phones, README section and updated traceability.
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.
What
The use case a real client can run: an organizer shows a QR code, the audience scans it and buys from a minimal page on their phones (
specs/004-mobile-share).#/d/<id>: the buyer page alone (no menu, no sign-up), with the organizer's QR, copy and share in the organizer view./api(ADR-0010, Proposed).docs/case-study.md: the pop-up scenario step by step, with what the repository proves and what it deliberately does not do.Verification
dotnet build(0 warnings),dotnet test123/123 in three runs,gitleaksclean.PwaAssetsTests(written first): manifest, icons at their declared size, and a precache list that names every static asset and nothing missing.Not verified, needs the owner
Installation on a physical phone and over HTTPS (tasks T-066, T-067): browsers only install on a secure origin. Browser-level tests for the visual requirements remain T-056 (a Playwright dev dependency decision).