選択キャラのセリフを txt で書き出す機能を追加#3
Merged
Merged
Conversation
Deploying script-printer with
|
| Latest commit: |
1f2999e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6c674d17.scriptprinter.pages.dev |
| Branch Preview URL: | https://feature-export-dialogue-txt.scriptprinter.pages.dev |
radish2951
force-pushed
the
feature/export-dialogue-txt
branch
from
June 6, 2026 04:12
9fbe569 to
2565bb3
Compare
元の台本にある「」の中身を変換せずそのまま書き出すため、Dialogue に 全角化前の生テキスト rawText を持たせ、書き出しは isHighlighted を共有する 純粋関数 buildDialogueText に集約。FAB に txt ボタンを追加した。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
radish2951
force-pushed
the
feature/export-dialogue-txt
branch
from
June 6, 2026 04:13
2565bb3 to
1f2999e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
選択中のキャラ(ボイス不要でないもの)のセリフを、1 セリフ 1 行のプレーンテキストとして txt で書き出す機能を追加しました。FAB に「txt」ボタンを配置しています。
ポイント
「」の中身を変換せずそのまま書き出す要件のため、toZenKaku変換前の生テキストrawTextをDialogueに追加し、書き出しはこれを参照します(表示用のtextは従来どおり全角化済み)isHighlightedを共有し、件数集計・表示・連番付与と同じ基準に統一src/lib/exportDialogue.tsの純粋関数buildDialogueText/exportFileNameに集約し、Vitest でカバー確認
pnpm typecheck/pnpm lint/pnpm test:run(51 passed)/pnpm buildすべて green🤖 Generated with Claude Code