Commit 17cc3da
feat: user onboarding, QR codes, PWA, and air-gap device support
Phase 1 - First-time user experience:
- Add WelcomeBanner component for first-time visitors with feature overview
- Add QuickExampleCards grid showing 5 example scenarios prominently on landing page
- Update examples catalog with description, useCase, icon, prefillParams, explorerLinkTemplate fields
- Pre-fill non-UTXO parameters (pubkeys, addresses, fee rates, payloads) from selected examples
- Add step-by-step tutorial text with use-case context for each example
- Add use-first-visit hook (localStorage-based, no login required) for new vs returning user detection
Phase 2 - Air-gap QR code integration:
- Add QRCodeDisplay and QRCodeModal components using qrcode library
- Add QRScanner component with html5-qrcode camera scanning support
- Add QR Code export buttons (Base64 and Hex) in PSBT Output Card
- Add QR scan buttons on UTXO and ADDRESS parameter inputs in Parameter Binding Card
- Add SeedSigner signing instructions in PSBT Output how-to accordion
Phase 3 - PWA and user differentiation:
- Add PWA manifest (public/manifest.json) with app metadata and icons
- Enable ThemeProvider in layout with system/light/dark mode support
- Add theme toggle button in header (cycles light/dark/system)
- Add PWAInstallPrompt component with beforeinstallprompt event handling
- Experienced users (3+ successful runs) see streamlined interface without onboarding panels
- Show/hide examples panel toggle for returning users
Phase 4 - Polish and UX refinements:
- Blockchain verification links (Blockstream, Mempool.space) in PSBT Output next steps
- Dynamic explorer link next to workflow txid when valid 64-char txid is entered
- Rounded corners (rounded-xl) on key containers for more elegant visual design
- Sticky header for pipeline navigation context while scrolling
Co-authored-by: Galois Field <GaloisField2718@users.noreply.github.com>1 parent a4436f6 commit 17cc3da
15 files changed
Lines changed: 1465 additions & 165 deletions
File tree
- app
- components/btsl
- hooks
- lib/btsl
- public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
7 | 17 | | |
8 | 18 | | |
9 | | - | |
10 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
11 | 28 | | |
12 | 29 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
28 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
29 | 42 | | |
30 | 43 | | |
31 | 44 | | |
32 | 45 | | |
33 | | - | |
| 46 | + | |
34 | 47 | | |
35 | 48 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
39 | 59 | | |
40 | 60 | | |
41 | | - | |
| 61 | + | |
42 | 62 | | |
0 commit comments