Skip to content

test(desktop): story-cover daily review empty, many-sessions, and long-report states - #4220

Open
liuxiaocs7 wants to merge 1 commit into
apache:mainfrom
liuxiaocs7:liuxiaocs7/daily-review-failure-states
Open

test(desktop): story-cover daily review empty, many-sessions, and long-report states#4220
liuxiaocs7 wants to merge 1 commit into
apache:mainfrom
liuxiaocs7:liuxiaocs7/daily-review-failure-states

Conversation

@liuxiaocs7

@liuxiaocs7 liuxiaocs7 commented Aug 29, 2026

Copy link
Copy Markdown
Member

test(desktop): story-cover daily review empty, many-sessions, failure, and long-report states

Tenth surface under #3944 (one surface per PR): extend the Daily Review panel
(DailyReviewPage, via Product/Module Hubs) with the states the existing
Scheduled Daily Review stories never reach.

  • ScheduledDailyReviewEmpty — a day with no recorded activity: the panel's own
    empty overview.
  • ScheduledDailyReviewManySessions — the list caps at DAILY_REVIEW_LIST_LIMIT
    (8), so a higher total (12) surfaces as an 8-row list (review feedback: the
    array can't exceed the cap the coordinator picks and the decoder enforces).
  • ScheduledDailyReviewLongReport — view analysis on a report with long sections.
  • ScheduledDailyReviewGenerationFailed — generate returns a failed archive
    (model timeout/error); the report route shows the error Banner and failure
    message. Reachable via generate/retry, the only path to a failed archive
    (review feedback: it is reachable, so it is covered rather than omitted).

Refs #3944, #3893

Generative tooling

Claude Code contributed substantially here — it authored these Storybook stories. The human contributor of record reviewed and submitted the change, and each commit carries a Generated-by: Claude Code trailer per CONTRIBUTING.md.

Visual evidence

Storybook stories captured with Playwright (hosted on the fork's release assets).

scheduled-daily-review-empty — normal / light · narrow / dark

scheduled-daily-review-empty normal / light scheduled-daily-review-empty narrow / dark

scheduled-daily-review-many-sessions — normal / light · narrow / dark

scheduled-daily-review-many-sessions normal / light scheduled-daily-review-many-sessions narrow / dark

scheduled-daily-review-long-report — normal / light · narrow / dark

scheduled-daily-review-long-report normal / light scheduled-daily-review-long-report narrow / dark

scheduled-daily-review-generation-failed — normal / light · narrow / dark

scheduled-daily-review-generation-failed normal / light scheduled-daily-review-generation-failed narrow / dark

…, and long-report states

Tenth surface under apache#3944 (one surface per PR): extend the Daily Review panel
(DailyReviewPage, via Product/Module Hubs) with the states the existing
Scheduled Daily Review stories never reach.

- ScheduledDailyReviewEmpty — a day with no recorded activity: the panel's own
  empty overview.
- ScheduledDailyReviewManySessions — the list caps at DAILY_REVIEW_LIST_LIMIT
  (8), so a higher total (12) surfaces as an 8-row list (review feedback: the
  array can't exceed the cap the coordinator picks and the decoder enforces).
- ScheduledDailyReviewLongReport — view analysis on a report with long sections.
- ScheduledDailyReviewGenerationFailed — generate returns a `failed` archive
  (model timeout/error); the report route shows the error Banner and failure
  message. Reachable via generate/retry, the only path to a failed archive
  (review feedback: it is reachable, so it is covered rather than omitted).

Refs apache#3944, apache#3893

Generated-by: Claude Code
@liuxiaocs7
liuxiaocs7 force-pushed the liuxiaocs7/daily-review-failure-states branch from 5b2df5f to 19d5e8f Compare August 29, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/M Under 500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant