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

オープン
#3,446 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
57/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
frontend, web-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
C#
スター
567
フォーク
107
平均マージ
1時間 19分
マージ済み PR(30日)
353

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluentcms/FluentCMS のほかの issue

fluentcms/FluentCMS の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。