Repository navigation
コミット前のパーツを参照・実行できるようにし, パーツ名の変更で参照が切れないようにする - #822
Merged
Merged
Conversation
- 作業中のパーツ (コミット済みのパーツに作業中の変更を重ねたもの, src/working_parts.ts) を式エディタの選択肢・型の問い合わせ・実行パネルで使う - パーツ名を変えたら参照しているパーツの型・式・定義の式を新しい名前の ID に付け替える (src/rename_part.ts) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DHYnFuQUdypvyuGYZvKNxN
narumincho
pushed a commit
that referenced
this pull request
Oct 31, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DHYnFuQUdypvyuGYZvKNxN
narumincho
pushed a commit
that referenced
this pull request
Oct 31, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DHYnFuQUdypvyuGYZvKNxN
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.
Requested by ナルミンチョ · project thread
#821 で洗い出した「UI でできない操作」のうち 2 つを直します。
コミット前のパーツを参照・実行できるようにする
src/working_parts.ts) を作り,useDefiny()のworkingParts/workingPartsByIdHash/workingPartNamesで渡すパーツ名の変更で参照が切れないようにする
src/rename_part.ts)part_not_foundの型エラーになり, コミットできなかった確認
working_parts.test.ts,rename_part.test.ts) と E2E を追加。ローカルで E2E 42 件すべて通過doubleをquadから 2 回呼び, コミットせずに実行パネルでquad(x: 3)→12。doubleをtwiceに変えるとquadの参照もtwiceになり, 型エラーなくコミットできるdocs:
docs/ui.mdに「作業中のパーツ」「パーツの名前の変更」を追加,docs/run-panel.mdを更新。#821 の一覧からの削除は #821 のマージ後に行います。Generated by Claude Code