Skip to content

Release 0.29.2#1046

Merged
Tim020 merged 5 commits into
mainfrom
dev
May 17, 2026
Merged

Release 0.29.2#1046
Tim020 merged 5 commits into
mainfrom
dev

Conversation

@Tim020
Copy link
Copy Markdown
Contributor

@Tim020 Tim020 commented May 17, 2026

No description provided.

Tim020 and others added 3 commits May 13, 2026 18:38
* Add tagged stage directions (issue #660)

Stage directions can now be optionally tagged to a character or character
group. When tagged, a character heading appears above the stage direction
in config and live views (both full and compact layouts), matching the
heading behaviour of dialogue lines.

Backend: StageDirectionValidator relaxed from rejecting any
character/group assignment to allowing one-or-neither (mutual exclusion
only), mirroring the DialogueValidator pattern. Tests updated and
extended.

Frontend: ScriptLinePart shows character/group dropdowns for stage
directions; the SD style selector moves onto the same row. Navigation
mixin skips only untagged stage directions when looking back for heading
context. Both ScriptLineViewer components (config + live) render the
character heading with a 1rem bottom gap before the stage direction text.
ScriptLineViewerCompact displays the character name in the left column
for tagged stage directions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Reduce template duplication in tagged stage direction viewers

Extract taggedStageDirectionHeadingName computed to both ScriptLineViewer
components, replacing the repeated character/group v-if/v-else name
lookup block with a single interpolation. Extract characterOrGroupName()
method to ScriptLineViewerCompact to unify the same lookup used in the
dialogue and stage direction character columns.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Move isTaggedStageDirection/taggedStageDirectionHeadingName/characterOrGroupName to scriptDisplayMixin

Eliminates cross-file duplication flagged by SonarQube by centralising the
three shared computed properties and method in the mixin, which is already
imported by all three viewer components.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
- Bump typescript from ~5.4.5 to ^6.0.0
- Bump @typescript-eslint/eslint-plugin and /parser from ~7.18.0 to ^8.0.0
- Add typescript-eslint ^8.0.0 meta-package (required for v8 flat config API)
- Remove deprecated baseUrl from tsconfig.json; update paths to ./src/*
- Update eslint.config.ts to use v8 flat config rules pattern
- Disable no-unsafe-function-type (v8 successor to ban-types for Vue 2 Function props)
- Fix prefer-const in logger.ts; remove stale eslint-disable in vue-shims.d.ts

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Migrate electron frontend from JavaScript to TypeScript (#1032)

Converts all 5 source files to TypeScript using the same conventions as
the recent client migration: strict null checks, NodeNext modules, and
@typescript-eslint v8. Adds a tsc compilation step (output to dist/)
since the Electron main process needs real .js files unlike the
Vite-built client.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix package-lock.json out of sync after npm install

Regenerated lockfile from scratch to include transitive deps
(encoding, iconv-lite) introduced by the TypeScript devDependencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@Tim020 Tim020 added the release Pull requests for creating a new release label May 17, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation github GitHub actions related issue or pull request client Pull requests changing front end code server Pull requests changing back end code xlarge-diff labels May 17, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 17, 2026

Client Test Results

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

Results for commit 9750f23.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 17, 2026

Python Test Results

  1 files    1 suites   1m 21s ⏱️
603 tests 603 ✅ 0 💤 0 ❌
608 runs  608 ✅ 0 💤 0 ❌

Results for commit 9750f23.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link
Copy Markdown

@Tim020 Tim020 enabled auto-merge May 17, 2026 20:25
@Tim020 Tim020 merged commit 6c60694 into main May 17, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Pull requests changing front end code documentation Improvements or additions to documentation github GitHub actions related issue or pull request release Pull requests for creating a new release server Pull requests changing back end code xlarge-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant