docs: update CLAUDE.md testing requirements, architecture, and design system
- CLAUDE.md: add mandatory test coverage rule (all 3 layers required), document BYOB shop-aware S3 methods, update test count to 712 - architecture.md: mark MPS-14/15/16 complete, add environment/trial/BYOB to feature toggle matrix, add BYOB to S3 storage diagram - design-system.md: add environment and trial banner components
This commit is contained in:
parent
395e703a20
commit
bfe2289313
3 changed files with 40 additions and 6 deletions
|
|
@ -161,6 +161,19 @@ mps_page_session (raw rows)
|
|||
│ Backfill on setup │
|
||||
└─────────────────────┘
|
||||
|
||||
┌─────────────────────────────────────────────────────────┐
|
||||
│ Shop Primary Bucket (BYOB) │
|
||||
│ (shop.has_primary_s3 — MPS-16) │
|
||||
│ │
|
||||
│ When enabled, REPLACES MPS Main Bucket for this shop: │
|
||||
│ - All presigned URLs use shop's S3 client │
|
||||
│ - All CDN URLs use shop's cdn_endpoint │
|
||||
│ - request.shop_uploads_client / shop_bucket_name / │
|
||||
│ shop_cdn_endpoint fall back to MPS default when off │
|
||||
│ │
|
||||
│ Configured via bucket-settings form section │
|
||||
└─────────────────────────────────────────────────────────┘
|
||||
|
||||
┌─────────────────────────────────────────────────────────┐
|
||||
│ User Artifact Bucket │
|
||||
│ (user.has_s3_bucket) │
|
||||
|
|
@ -188,6 +201,9 @@ mps_page_session (raw rows)
|
|||
| Crypto | `shop.monero_*` / `shop.dogecoin_*` | `crypto-settings` | Off |
|
||||
| Gift cards | `shop.gift_card_enabled` | `gift-card-settings` | Off |
|
||||
| S3 mirror | `shop.mirror_s3_*` | `mirror-settings` | Off |
|
||||
| BYOB (primary S3) | `shop.primary_s3_*` | `bucket-settings` | Off |
|
||||
| Environment | `shop.environment` | `environment-settings` | 0 (production) |
|
||||
| Trial | `shop.trial_started_timestamp` | Auto on creation | 21 days |
|
||||
| Discovery ring | `shop.discovery_ring` | Automatic | Auto-computed |
|
||||
| Subscriptions | `shop.subscription_*` | `ribbon-settings` | Off |
|
||||
|
||||
|
|
@ -209,9 +225,9 @@ mps_page_session (raw rows)
|
|||
| [MPS-11](tickets/mps-11.md) | Gift Card — Purchase Flow | Complete |
|
||||
| [MPS-12](tickets/mps-12.md) | Gift Card — Redemption at Checkout | Complete |
|
||||
| [MPS-13](tickets/mps-13.md) | Gift Card — Shop Admin & Settings | Complete |
|
||||
| [MPS-14](tickets/mps-14.md) | Shop Environment — Dev & Stage Shops | Open |
|
||||
| [MPS-15](tickets/mps-15.md) | 21-Day Free Trial | Open |
|
||||
| [MPS-16](tickets/mps-16.md) | Bring Your Own Bucket (BYOB) | Open |
|
||||
| [MPS-14](tickets/mps-14.md) | Shop Environment — Dev & Stage Shops | Complete |
|
||||
| [MPS-15](tickets/mps-15.md) | 21-Day Free Trial | Complete |
|
||||
| [MPS-16](tickets/mps-16.md) | Bring Your Own Bucket (BYOB) | Complete |
|
||||
|
||||
## Related Docs
|
||||
|
||||
|
|
|
|||
|
|
@ -238,6 +238,8 @@ All components are documented with live examples at `/styleguide`. The styleguid
|
|||
| Comments | `#comments` | Comment form and list |
|
||||
| Toggle | `#toggle` | Toggle switches |
|
||||
| Ribbon | `#ribbon` | Shop ribbon banner |
|
||||
| Environment Banner | `.environment-banner` | Staging/dev environment indicator |
|
||||
| Trial Banner | `.trial-banner` | Trial countdown and expiry notice |
|
||||
| Task Bar | `#taskbar` | Task bar component |
|
||||
| Layout | `#layout` | Grid layout patterns |
|
||||
| Theme System | `#theme` | Theme toggle and dark mode |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue