Nothing is drawn while a lazy assembly of the admin loads on a deep link or reload

Đang mở
#3,446 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
57/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

Start in AdminApp.razor and trace how the router handles navigation and announces existing loading states. Check the end-to-end tests and their slow mode setup; add coverage for reloading an administration or half route and navigating to an unloaded assembly. Done means the shell and an announced loading state appear promptly in both cases until the page loads.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:admin type:bug

Problem

On a deep link or a reload of a route whose assembly loads lazily, the admin draws nothing until the shell's reads and the fetch of the assembly have ended: the router in AdminApp.razor has no Navigating content, so the header, the sidebar and a status are all absent meanwhile. A plugin half has behaved so since A3. With A-51 (#3429) the nine routes of core's administration area load lazily too, so an administrator on a slow connection who reloads /users looks at an empty page. On a navigation inside the app the page before stays on screen with no sign of progress while the file downloads, which invites a second click.

Proposal

Show the shell with a loading state while a navigation waits for a lazy assembly, on a first load and inside the app, and announce it as the other loading states are announced.

Acceptance

  • A reload of an administration route and of a half's route shows the shell and a loading state until the page is there
  • A navigation inside the app to a route whose assembly is not loaded shows progress at once
  • An end-to-end case in slow mode covers both

From the review of #3438 (#3429, A-51).

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.