Preview pane: a late ready kept through a navigation, and a new token on the form's reload
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 47/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- C#
- Star
- 567
- Fork
- 107
- Merge trung bình
- 1 giờ 19 phút
- Pull request đã merge (30 ngày)
- 353
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluentcms/FluentCMS
-
area:localization plugin type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:storage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:testing type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:publishing type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
fluentcms/FluentCMS#3473 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:storage plugin type:bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fluentcms/FluentCMS
Issue tương tự
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtimeCó thể đã có người làm @Goldziher đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
lompotc silently drops Java/C# class members past 128 instead of erroring, as its header claimsĐang mởbug sev-5 vm
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
area:jobads-cv bug FE mvp P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
klasolsson81/jobbliggaren#2271 ·
Maintainer thường phản hồi trong vòng 1 ngày