0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 23:04:22 +08:00
discourse/app
Krzysztof Kotlarek 87247653e2
FIX: Don't fail the dashboard when one section errors (#41720)
Previously, an exception in a single section's loader failed the entire
admin dashboard request, so one broken section left admins with no
dashboard at all.

This change rescues and logs per-section build errors in
`AdminDashboardSectionLoader` and returns `error: true` for the affected
section, so the rest of the dashboard renders normally while the failed
section shows an inline "couldn't load" message.

Dashboard when the whole endpoint is 404
<img width="1388" height="1307" alt="Screenshot 2026-07-15 at 10 17
25 am"
src="https://github.com/user-attachments/assets/a6a0c0ea-53eb-402f-b940-ecf4015e1757"
/>

Dashboard when 2 sections are broken
<img width="1456" height="1489" alt="Screenshot 2026-07-15 at 10 43
14 am"
src="https://github.com/user-attachments/assets/46e11855-bcc3-41b1-ad45-aa3a80dd367a"
/>
2026-07-15 17:20:51 +08:00
..
assets FIX: Don't fail the dashboard when one section errors (#41720) 2026-07-15 17:20:51 +08:00
controllers SECURITY: Harden ListController top period query against SQL injection (#41718) 2026-07-15 12:17:50 +08:00
helpers SECURITY: Bind shared session key to auth token and enforce user gates (#41610) 2026-07-14 13:25:05 +08:00
jobs FEATURE: Support users in DAccessControl and backend (#41358) 2026-07-15 09:18:06 +10:00
mailers FEATURE: Log in with a one-time email code (#40804) 2026-06-17 12:34:48 -07:00
models SECURITY: Harden ListController top period query against SQL injection (#41718) 2026-07-15 12:17:50 +08:00
queries/reports DEV: Remove reporting_improvements upcoming change (#41259) 2026-07-01 07:52:02 +08:00
serializers FEATURE: Support users in DAccessControl and backend (#41358) 2026-07-15 09:18:06 +10:00
services FIX: Don't fail the dashboard when one section errors (#41720) 2026-07-15 17:20:51 +08:00
views FIX: improve the reliability of chat sounds (#41373) 2026-07-02 18:52:41 -04:00