Re-anchor what an undo restores into a book that had no links
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
The re-anchor pass and its recording live in the host undo/redo path, and BookService re-anchors splits as it serves segments, so start there and trace where a pass is recorded per book. Reproduce with the two examples in the body (delete GEN's only links, edit GEN in Paratext, undo) and confirm the restored links keep old token positions. Done when restored links and splits in a book with no recorded pass are re-anchored to its current text, and books with neither links nor splits before or after the step are untouched.
索引モデルが issue の本文から書いたものです。
説明
An undo or redo re-anchors what it restores to each book re-anchored since the step was captured. A re-anchor pass is recorded only over books the draft links into or holds boundary edits in, so a book holding neither at pass time records none. An undo that restores links or splits into such a book leaves them anchored to the text as it stood when the step was captured. Restored links catch up once that book is opened or read again, which happens on the next Scripture save. Restored splits show correctly, because BookService re-anchors splits as it serves segments, but the stored splits stay stale for boundary commands and Save until the book's next pass.
Examples, each while GEN isn't open:
- Delete the only links into GEN, which holds no splits, edit GEN's text in Paratext, then undo. The restored links point at GEN's old tokens.
- Merge away GEN's only split, in a GEN with no links, edit GEN's text in Paratext, then undo the merge. The restored split points at GEN's old token.
The WebView path has the same gap, but #455 removes that path, so only the host needs the fix.
Done when: an undo or redo that restores links or splits into a book with no recorded pass re-anchors them to that book's current text, without re-anchoring books that have neither links nor splits before or after the step.
- 主要言語
- TypeScript
- スター
- 2
- フォーク
- 0
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 63
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sillsdev/interlinearizer-extension のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sillsdev/interlinearizer-extension#537 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sillsdev/interlinearizer-extension#533 ·
メンテナーはふだん 1 日以内に返信
-
Deleting the active project leaves its draft marked saved対応中かも @jasonleenaylor が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sillsdev/interlinearizer-extension#519 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
sillsdev/interlinearizer-extension#515 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
sillsdev/interlinearizer-extension#538 ·
メンテナーはふだん 1 日以内に返信
sillsdev/interlinearizer-extension の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
gnosis/gnosis_vpn#661 ·
メンテナーはふだん 1 日以内に返信
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)オープンtriage:bug-verified
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
fix: reject sourceStorage/packagedStorage bucket that differs from the stack default (fail loud)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Eyevinn/open-videocore#1300 ·
メンテナーはふだん 1 日以内に返信
-
nextjs-tracking
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
cloudflare/vinext#4390 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kubernetes-sigs/headlamp#8175 ·
メンテナーはふだん 2 日以内に返信