0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/config
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
..
environments DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
imagemagick SECURITY: Harden imagemagick execution 2026-06-30 16:10:52 +02:00
initializers DEV: remove and replace Uncategorized (#41169) 2026-07-07 09:15:55 +04:00
locales FIX: Don't fail the dashboard when one section errors (#41720) 2026-07-15 17:20:51 +08:00
application.rb DEV: Rename EmberCli to EmberAssets (#40938) 2026-06-16 12:56:56 +02:00
boot.rb DEV: Change test formatters (#39427) 2026-04-22 12:26:07 +02:00
cdn.yml.sample
database.yml DEV: Support per-unicorn-worker DB variable overrides (#35615) 2025-10-27 13:45:27 +08:00
deploy.rb.sample
dev_defaults.yml DEV: Add admin_dashboard:populate rake task to seed Site Traffic (#39775) 2026-05-06 12:07:47 +08:00
discourse.config.sample
discourse.pill.sample DEV: Move puma to test-only dependency (#38652) 2026-03-18 05:23:12 +08:00
discourse_defaults.conf FEATURE: Add opt-in IAM role assumption for S3 operations (#39174) 2026-04-15 04:29:50 +08:00
environment.rb DEV: Add env var for local email port (#36900) 2025-12-31 14:25:02 +10:00
logrotate.conf
multisite.yml.production-sample
nginx.sample.conf DEV: remove x-real-ip references (#41371) 2026-07-03 15:53:21 -04:00
official_plugins.json DEV: Drop d-teambuild from CI (#39417) 2026-04-21 17:43:19 +01:00
pitchfork.conf.rb DEV: Rename EmberCli to EmberAssets (#40938) 2026-06-16 12:56:56 +02:00
projections.json DEV: Prepare for rename of app/assets/javascripts/ -> frontend/ 2025-10-22 16:24:11 +01:00
routes.rb FEATURE: Support users in DAccessControl and backend (#41358) 2026-07-15 09:18:06 +10:00
sidekiq.yml
site_settings.yml DEV: add upcoming change permanent banner metadata (#41700) 2026-07-15 11:20:02 +04:00
spring.rb
thin.yml.sample
unicorn_launcher DEV: Enable Pitchfork by default (#37679) 2026-02-11 11:52:39 +01:00