The Dashboard shows zeros and empty charts when its data fails to load
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ó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with the three Dashboard widgets, OverallStatsWidget, ProductsCountPerCategoryWidget and ProductsPercentageWidget, and find where each one calls IDashboardController and where a failed call falls through to the empty-data rendering. Reproduce by making the call fail, for example with the server stopped, and confirm the zeros and empty charts appear. Done means a failed load shows an error state with a retry action in each widget, and no figures or empty charts are drawn in that case.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Dashboard's widgets (OverallStatsWidget, ProductsCountPerCategoryWidget and ProductsPercentageWidget) each load their data from IDashboardController. When that call fails, because the server can't be reached, the app is offline or the server answers with an error, the error is shown, and then the widget renders as if the call had returned an empty catalog: the four figures read 0 and both charts are drawn empty. Once the error message is gone, the page says there are no categories and no products, which isn't true.
A widget whose data couldn't be loaded should say so in its own place and offer to try again, instead of showing figures it never received.
- Ngôn ngữ chính
- C#
- Star
- 1.4k
- Fork
- 264
- Merge trung bình
- 7 giờ 38 phút
- Pull request đã merge (30 ngày)
- 544
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 bitfoundation/bitplatform
-
BitVariantVariablesBrowserTests fails on the scrolled variables of BitHeaderCó thể đã có người làm @yasmoradi đã nhận hôm nay. Đang mởarea / BlazorUI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bitfoundation/bitplatform#15485 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bitfoundation/bitplatform#15051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Prerelease `v-11.0.0-pre-25`Có thể đã có người làm @yasmoradi đã nhận hôm nay. Đang mởprerelease
bitfoundation/bitplatform#15482 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Project dependencies are outdatedCó thể đã có người làm @yasmoradi đã nhận hôm nay. Đang mởdependencies
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
bitfoundation/bitplatform#15480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bswup's AlwaysPrerender mode doesn't open the cached app when the server is downCó thể đã có người làm @msynk đã nhận hôm nay. Đang mởarea / bswup
bitfoundation/bitplatform#15479 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bitfoundation/bitplatform
Issue tương tự
-
chore interpreter small
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
hexide-io/HexIDE#5718 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
NeoForge 安装任务的子任务描述有误Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
PCL-Community/PCL-CE#3907 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
lugassawan/swe-workbench#841 ·
-
aikido high security
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
dequelabs/axe-core-nuget#312 ·
-
[Bug]: reply would start a thread under a targeted message if its payload carried a reply chain idĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày