Preview pane: a late ready kept through a navigation, and a new token on the form's reload
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 47/100
調査の方向性
Read ContentPreview.razor and its LoadedAsync method, then inspect ContentForm.razor and the existing component tests for both behaviors. Trace how ready state and the pane token change across navigation and form reload; use the tests to check the acceptance cases, including the documented contract limit in section 4.12 if that approach is chosen.
索引モデルが issue の本文から書いたものです。
説明
Problem
Two cases of the preview pane that the review of #3437 (#3403) left for later:
- A page that says
readyafter its own load keepsreadythrough a navigation to a page without the contract. The pane forgetsreadywhen the frame loads a page with noreadysince the previous load (ContentPreview.razor,LoadedAsync). For the order load 1,ready1, load 2 with noready, the flag is still true fromready1 when load 2 arrives, so the next save postsrefreshto a page that ignores it: nothing reloads and the Silent note never shows. Front ends that postreadyafter hydration or after a data fetch send it in that order. The rule cannot tell this from areadythat is merely delivered late, which #3403 settled; the component test and the end-to-end case cover onlyreadybefore the load. - Reloading the form re-creates the open pane, which mints again while its token lasts.
ContentForm.razorsets its read to null before the first await ofLoadAsync, so the pane's condition turns false and the pane is disposed; when the read ends a new pane mints as it opens. The conflict dialog's Reload and Try again, on the same entry and locale, so give a new token that cannot be revoked and reload the frame.
Proposal
- Tell the two orders apart, or ask a contract page to post
navigatedbefore a full navigation and say so in section 4.12; whichever is chosen, record the limit in 4.12. - Keep the pane, its answer and its token across a reload of the same entry, site and locale.
Acceptance
- A page that says
readyafter its load and then navigates to a page without the contract is reloaded on the next save, or section 4.12 states the limit and the contract asks fornavigated - The conflict dialog's Reload and Try again on the same entry and locale mint no token while the shown one lasts
- Component tests for both, and an end-to-end case for the first if the contract changes
From the second review of #3437 (#3403).
- 主要言語
- C#
- スター
- 567
- フォーク
- 107
- 平均マージ
- 1時間 19分
- マージ済み PR(30日)
- 353
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluentcms/FluentCMS のほかの issue
-
area:localization plugin type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:storage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
area:testing type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:api area:publishing type:feature
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluentcms/FluentCMS#3473 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:storage plugin type:bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
fluentcms/FluentCMS の issue をすべて見る
似ている issue
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtime対応中かも @Goldziher が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
lompotc silently drops Java/C# class members past 128 instead of erroring, as its header claimsオープンbug sev-5 vm
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
area:jobads-cv bug FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
klasolsson81/jobbliggaren#2271 ·
メンテナーはふだん 1 日以内に返信