chore(openspec): archive replace-mock-api-wave-5
The merge creates the store-directory capability (two requirements, six scenarios) and updates the mall's store-and-marketing requirement so the store directory and store home read live shops and order surfaces name their shop. openspec validate --all --strict stays green at 13 specs.
This commit is contained in:
@@ -117,8 +117,16 @@ The mall SHALL provide B2B2C mall-style login, register and forgot-password pane
|
||||
- **THEN** the stored session is cleared and the shopper is returned to sign-in
|
||||
|
||||
### Requirement: Store and marketing pages
|
||||
The mall SHALL provide a store directory, store home, timed seckill page, collective-buy list and points-mall home using fixed bilingual mock content. Marketing pages MAY be display-only except navigation to product detail.
|
||||
The mall SHALL provide a store directory and store home reading live shops from the shop API, with each store's products coming from the catalog API, and SHALL keep the timed seckill page, collective-buy list and points-mall home on fixed bilingual content for now. The cart, payment and order surfaces SHALL show each order's shop by name from the shop API rather than a generic label. Marketing pages MAY be display-only except navigation to product detail.
|
||||
|
||||
#### Scenario: navigate storefront discovery channels
|
||||
- **WHEN** a shopper opens stores, seckill, collective or integral routes
|
||||
- **THEN** each page renders the appropriate B2B2C mall-style banner/filter/session/card layout and product links resolve to mock product details
|
||||
- **THEN** each page renders the appropriate B2B2C mall-style banner/filter/session/card layout, the store directory and store home list real shops, and product links resolve to product detail
|
||||
|
||||
#### Scenario: order surfaces name the shop
|
||||
- **WHEN** a shopper views a cart line, a payment group or an order card
|
||||
- **THEN** the shop is shown by its name, not a placeholder
|
||||
|
||||
#### Scenario: a shop without a profile still renders
|
||||
- **WHEN** a shop has no profile row
|
||||
- **THEN** the directory and store home render it without inventing logo, scores or copy
|
||||
|
||||
Reference in New Issue
Block a user