Skip to content

Fix cut stage directions not showing strikethrough in cue editor - #1226

Merged
Tim020 merged 4 commits into
devfrom
feature/fix-cut-stage-direction-styling
Jun 20, 2026
Merged

Fix cut stage directions not showing strikethrough in cue editor#1226
Tim020 merged 4 commits into
devfrom
feature/fix-cut-stage-direction-styling

Conversation

@Tim020

@Tim020 Tim020 commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Stage direction lines that were cut showed no strikethrough in the cue editor, despite displaying correctly in the script editor
  • Root cause: ScriptLineCueEditor.vue bound stage direction styling to sdStyling (base style only), never consulting the cuts prop
  • Fix: replaced sdStyling with a new sdStylingWithCuts computed that appends line-through to text-decoration-line when the stage direction's first part ID is in cuts — matching the existing stageDirectionStylingWithCuts logic in ScriptLineViewer.vue

Test plan

  • Open the cue editor for a show with cut stage directions and confirm they show strikethrough
  • Confirm non-cut stage directions are unaffected
  • Confirm cut dialogue lines still show strikethrough (regression check)
  • npm run typecheck passes
  • npm run ci-lint passes

🤖 Generated with Claude Code

Tim020 and others added 3 commits June 20, 2026 00:52
Users previously had to delete and re-add an entire line to remove a
single part. A remove button now appears in the character row of each
ScriptLinePart when the line has more than one part, and disappears
when only one part remains. Implemented in both client-v3 and client
with E2E coverage added to the script spec.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace BFormGroup label=" " wrapper with align-self-end mb-3 on the
column directly, which is the standard Bootstrap way to align a button
with adjacent form controls without adding a dummy label.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Stage directions in the cue editor were missing strikethrough styling when
cut, because the render path used the base sdStyling computed (no cut check).
Replace it with sdStylingWithCuts, which appends line-through to the existing
text-decoration-line value when the stage direction's first part ID is in cuts.

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

github-actions Bot commented Jun 20, 2026

Copy link
Copy Markdown

Client V3 Test Results

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

Results for commit 7f5b06c.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 20, 2026

Copy link
Copy Markdown

Client Test Results

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

Results for commit 7f5b06c.

♻️ This comment has been updated with latest results.

@github-actions github-actions Bot added small-diff Small pull request and removed client Pull requests changing front end code medium-diff labels Jun 20, 2026
@Tim020
Tim020 enabled auto-merge (squash) June 20, 2026 20:27
@github-actions

Copy link
Copy Markdown

Python Test Results

  1 files    1 suites   1m 59s ⏱️
662 tests 662 ✅ 0 💤 0 ❌
667 runs  667 ✅ 0 💤 0 ❌

Results for commit 7f5b06c.

@github-actions

Copy link
Copy Markdown

Playwright E2E Results (chromium)

188 tests   188 ✅  1m 58s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit 7f5b06c.

@github-actions

Copy link
Copy Markdown

Playwright E2E Results (firefox)

188 tests   188 ✅  1m 57s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit 7f5b06c.

@Tim020
Tim020 merged commit 8c59930 into dev Jun 20, 2026
35 checks passed
@Tim020
Tim020 deleted the feature/fix-cut-stage-direction-styling branch June 20, 2026 20:30
@sonarqubecloud

Copy link
Copy Markdown

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-v3 small-diff Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant