Keep the view on screen while a Scripture edit refetches the book
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 54/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
Start by reading useInterlinearizerBookData, useSegmentPages, and the loader in Interlinearizer, including the related issues #436, #438, and #468. Trace how a reload changes the book and page loading states, then keep the loaded view visible while the matching book and pages refresh together. Done means both Scripture edits and onTextChanged reloads update the view without the Loading… panel and preserve scroll position and focus.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #438 (#468).
On a Scripture edit to the open book, useInterlinearizerBookData calls reload(). That sets isLoading, so the loader shows the Loading… panel until the new book and pages arrive. Interlinearizer unmounts, and the view loses its scroll position and focus on every edit. The onTextChanged reload from useSegmentPages (#436) does the same.
Fixing the hook alone isn't enough, because a new verseBook also makes useSegmentPages report isLoading. The book and its pages need to change together. One approach:
- The hook keeps serving the loaded book while a reload of the same book is in flight.
useSegmentPagesexposes theverseBookits pages belong to.- The loader renders from that pair, and shows the curtain only when nothing is loaded for the current book.
This problem largely goes away in 5d, when getTokenizedBook is removed and an edit refetch becomes an outline and page refetch.
Done when: a Scripture edit, or an onTextChanged reload, updates the view without the Loading… panel, and the scroll position and focus are kept.
- 主要言語
- TypeScript
- スター
- 2
- フォーク
- 0
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 47
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sillsdev/interlinearizer-extension のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
sillsdev/interlinearizer-extension#419 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
sillsdev/interlinearizer-extension#418 ·
メンテナーはふだん 1 日以内に返信
-
Imported PT9 interlinear gloss data sometimes missing対応中かも @imnasnainaec が 1 日前に担当しました。 オープン
sillsdev/interlinearizer-extension#477 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
sillsdev/interlinearizer-extension#476 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
sillsdev/interlinearizer-extension#471 ·
メンテナーはふだん 1 日以内に返信
sillsdev/interlinearizer-extension の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
endora-commerce/endora-commerce#397 ·
メンテナーはふだん 1 日以内に返信
-
level/task
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wazuh/wazuh-dashboard-plugins#9472 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
xavxyz/bei-shan-lin-shui#57 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opennextjs/opennextjs-cloudflare#1461 ·
メンテナーはふだん 1 日以内に返信