T27-23 — Track the originating tool in plotted-draft state, and cover it with regression tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 75/100
調査の方向性
Read the plotted-draft state and tool-switch path in crates/app/src/editor.rs, especially the review finding at lines 3271-3276. Add regression coverage for Pen → Hotspot and Hotspot → Pen, confirming each test fails with the old behavior; then run cargo test -p app. Done means the draft records its owning tool and switching tools resets or explicitly converts it, with the fix committed alongside its receipt.
索引モデルが issue の本文から書いたものです。
説明
T27 row: T27-23
Work package: RP-00 — Inventory, release contract, baseline, task ledger (Phase-2: PR #8 remediation)
Priority: P0
Status: NOT STARTED
Objective
Make the in-progress plotted draft record which tool owns it, so points drawn with one tool cannot be silently folded into a commit made by another.
Acceptance criteria: Draft state records its owning plotting tool; switching tools resets the draft or explicitly converts it; regression tests cover Pen → Hotspot and Hotspot → Pen, and fail against the pre-fix behaviour.
Inputs
crates/app/src/editor.rs (the plotted-draft state and the tool-switch path); the PR #8 review finding on editor.rs:3271-3276.
Authority
The PR #8 review (CodeRabbit Major, data integrity); the repo's rule that a review finding is verified against current code before it is fixed.
Stopping condition
The tests exist, they fail on the old behaviour and pass on the new, and the fix is committed with its receipt.
Verification
cargo test -p app
Evidence and blockers
The finding is real and specific: CodeRabbit's Major on crates/app/src/editor.rs:3271-3276 reports that Pen-drawn points are folded into a Hotspot commit, because the plotted-draft state does not record which tool owns it. PR #8 is still open, and the campaign's P2.4 items "Track the originating tool in draft state", "Reset or explicitly convert drafts on tool changes" and "Add regression tests for Pen-to-Hotspot and reverse switching" are all unchecked.
No fix or regression test exists on any branch yet.
Blocker: none.
Ledger: docs/tasks/T27-23-draft-tool-ownership.md and docs/release/EXECUTION-BOARD.md row T27-23 (these land with PR #12).
Campaign: docs/planning/release-compaign/Cross-Platform Releas.txt.
- 主要言語
- Rust
- スター
- 11
- フォーク
- 1
- 平均マージ
- 9時間 48分
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aliasfoxkde/FireCraft のほかの issue
-
documentation release
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aliasfoxkde/FireCraft#58 ·
メンテナーはふだん 1 日以内に返信
-
release
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
aliasfoxkde/FireCraft#81 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
aliasfoxkde/FireCraft#80 ·
メンテナーはふだん 1 日以内に返信
-
enhancement parity
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
aliasfoxkde/FireCraft#79 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
aliasfoxkde/FireCraft#78 ·
メンテナーはふだん 1 日以内に返信
aliasfoxkde/FireCraft の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
software-mansion/pathfinder#3620 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug priority: low
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
storytold/wordcraft#6211 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
backlog multiple issues priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
storytold/pdfcraft#6911 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
DGNIMPORT: "The DGN model has nothing that can be imported" when the first element streams are emptyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
HakanSeven12/OpenCADStudio#2820 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信