Use Cases

All documented user workflows for SG/Send, each verified by automated browser tests.


Landing & Authentication

These tests verify the initial user experience β€” from page load through access gate authentication.

flowchart LR
    A["Landing Page\nLoads"] --> B["Access Gate\nPresent"]
    B --> C["Invalid Token\nRejected"]
    C -.->|future| D["Valid Token\nAccepted"]
    D -.->|future| E["File Sharing\nUI"]
# Use Case Description Screenshots
1 Landing Page Loads SG/Send loads and renders the Beta Access UI 1
2 Access Gate Present Token input field and Go button are visible 1
3 Invalid Token Rejected Invalid tokens are rejected with error feedback 3

v0.3.0 β€” Local Stack Tests

These tests run against a fully local stack (in-memory API + static UI server) for deterministic, fast results. They use real encryption matching the browser’s Web Crypto implementation.

flowchart LR
    A["Access Gate\n(UC-10)"] --> B["Route Handling\n(UC-11)"]
    B --> C["Gallery View"]
    B --> D["Browse View"]
    B --> E["Single File View"]
    B --> F["Auto-detect"]
# Use Case Description Priority
10 Access Token Gate Full gate lifecycle: valid token, wrong token, ungated fallback P1
11 Route Handling & Mode Switching All download routes, hash preservation, mode switching P1

These are the first two v0.3.0 use cases wired into the QA site. More will follow as tests are validated.


Coming Next

Remaining v0.3.0 tests to integrate: