Skip to content

Add Character Timeline tab to Show Config - #1160

Merged
Tim020 merged 2 commits into
devfrom
feature/character-timeline
Jun 7, 2026
Merged

Add Character Timeline tab to Show Config#1160
Tim020 merged 2 commits into
devfrom
feature/character-timeline

Conversation

@Tim020

@Tim020 Tim020 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Timeline sub-tab to the Characters section in Show Config (both V2 /ui/ and V3 /ui-new/)
  • Acts and scenes are displayed on the x-axis; characters with at least one spoken dialogue line occupy rows on the y-axis
  • Coloured bars span consecutive scenes where a character has dialogue, breaking at act boundaries
  • Characters with zero spoken lines are hidden from the view
  • An Export button downloads the timeline as a PNG image
  • Uses the existing /api/v1/show/character/stats endpoint — no backend changes required
  • Reuses timelineMixin (V2) / useTimeline composable (V3) for SVG layout, bar grouping, and colour generation

Test plan

  • Navigate to Show Config → Characters → Timeline tab in both /ui/ and /ui-new/
  • Confirm that characters with spoken dialogue appear as coloured bars
  • Confirm act headers group scenes correctly
  • Confirm bars break at act boundaries (no single bar spanning multiple acts with a gap)
  • Confirm characters with zero lines are hidden
  • Confirm the "no data" message appears for a show with no script lines
  • Confirm the Export button downloads a PNG
  • Full Playwright E2E suite passes (npm run test:e2e in client-v3/)

🤖 Generated with Claude Code

Tim020 and others added 2 commits June 7, 2026 13:23
Adds a Timeline sub-tab to the Characters section in Show Config. Acts and
scenes are displayed on the x-axis; characters with at least one spoken
dialogue line occupy rows on the y-axis. Coloured bars span consecutive
scenes where a character speaks, breaking at act boundaries. Reuses the
existing timelineMixin (V2) / useTimeline composable (V3) and the
/api/v1/show/character/stats endpoint — no backend changes required.
Also adds an E2E smoke test for the Timeline tab and documents the feature.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Tim020 Tim020 added the claude Issues created by Claude label Jun 7, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation client Pull requests changing front end code large-diff client-v3 labels Jun 7, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Client V3 Test Results

23 tests  ±0   23 ✅ ±0   0s ⏱️ ±0s
 2 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit d28aee4. ± Comparison against base commit 811cecb.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Client Test Results

128 tests  ±0   128 ✅ ±0   0s ⏱️ ±0s
  6 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit d28aee4. ± Comparison against base commit 811cecb.

@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Python Test Results

  1 files  ±0    1 suites  ±0   2m 7s ⏱️ -1s
651 tests ±0  651 ✅ ±0  0 💤 ±0  0 ❌ ±0 
656 runs  ±0  656 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit d28aee4. ± Comparison against base commit 811cecb.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Playwright E2E Results (firefox)

164 tests  +1   164 ✅ +1   1m 38s ⏱️ ±0s
 14 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit d28aee4. ± Comparison against base commit 811cecb.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Playwright E2E Results (chromium)

164 tests  +1   164 ✅ +1   1m 38s ⏱️ -1s
 14 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit d28aee4. ± Comparison against base commit 811cecb.

@Tim020
Tim020 merged commit cf8d625 into dev Jun 7, 2026
35 checks passed
@Tim020
Tim020 deleted the feature/character-timeline branch June 7, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude Issues created by Claude client Pull requests changing front end code client-v3 documentation Improvements or additions to documentation large-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant