First deployment
This commit is contained in:
@@ -5,7 +5,7 @@ Canonical specification for hero-display requirements synced from OpenSpec chang
|
||||
## Requirements
|
||||
|
||||
### Requirement: Hero block display
|
||||
The system SHALL display the most recent news item as a featured hero block with full attribution.
|
||||
The system SHALL display the most recent news item as a featured hero block with full attribution and modal-behavior parity, while omitting a dedicated hero permalink affordance.
|
||||
|
||||
#### Scenario: Hero rendering
|
||||
- **WHEN** the page loads
|
||||
@@ -18,8 +18,17 @@ The system SHALL display the most recent news item as a featured hero block with
|
||||
- **THEN** the hero block SHALL automatically update to show the newest item
|
||||
- **AND** the previous hero item SHALL move to the news feed
|
||||
|
||||
#### Scenario: Hero-origin modal consistency
|
||||
- **WHEN** modal opens from hero context (including permalink-triggered entry)
|
||||
- **THEN** modal image, content, and close controls behave consistently with feed-origin modal flows
|
||||
|
||||
#### Scenario: Hero action chrome excludes permalink control
|
||||
- **WHEN** the hero block is rendered
|
||||
- **THEN** no dedicated hero permalink control is displayed
|
||||
- **AND** summary open and source-link actions remain available
|
||||
|
||||
### Requirement: Infinite scroll news feed
|
||||
The system SHALL display news items in reverse chronological order with infinite scroll pagination.
|
||||
The system SHALL display news items in reverse chronological order with infinite scroll pagination and minimal card chrome.
|
||||
|
||||
#### Scenario: Initial load
|
||||
- **WHEN** the page first loads
|
||||
@@ -37,6 +46,11 @@ The system SHALL display news items in reverse chronological order with infinite
|
||||
- **THEN** the system SHALL display "No more news" message
|
||||
- **AND** disable further scroll triggers
|
||||
|
||||
#### Scenario: Card chrome remains minimal
|
||||
- **WHEN** feed cards are rendered
|
||||
- **THEN** redundant small "Link" affordance is not shown
|
||||
- **AND** card still exposes required source and TL;DR interactions
|
||||
|
||||
### Requirement: News attribution display
|
||||
The system SHALL clearly attribute all news content and images to their sources.
|
||||
|
||||
@@ -55,3 +69,4 @@ The system SHALL clearly attribute all news content and images to their sources.
|
||||
- **AND** track page view events on initial load
|
||||
- **AND** track scroll depth events (25%, 50%, 75%, 100%)
|
||||
- **AND** track CTA click events (news item clicks, source link clicks)
|
||||
- **AND** CTA click payload includes both `article_id` and `article_title` when article context is available
|
||||
|
||||
Reference in New Issue
Block a user