0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 11:36:31 +08:00
discourse/plugins/discourse-patreon/assets/javascripts/discourse
Kris 87bd7db261
DEV: modernize admin nav, fix unconfigured state (#42182)
Previously enabling the Patreon plugin and clicking its sidebar link
gave you an "Error loading route" whenever the Patreon connection was
not configured.

This change moves the plugin off the legacy admin route pattern and adds
an empty state linking to its settings so an unconfigured Patreon
explains why instead of failing.

Before:
<img width="700" alt="image"
src="https://github.com/user-attachments/assets/90cc16c5-e3be-4b4a-8e59-87ce8c27875d"
/>

After: 
<img width="900" alt="image"
src="https://github.com/user-attachments/assets/5865d330-1020-4b05-aff9-799a51e62c13"
/>
2026-07-30 14:41:04 -04:00
..
connectors DEV: Drop jquery in patreon plugin (#41425) 2026-07-03 17:13:54 +01:00
initializers DEV: modernize admin nav, fix unconfigured state (#42182) 2026-07-30 14:41:04 -04:00
models
patreon-route-map.js DEV: modernize admin nav, fix unconfigured state (#42182) 2026-07-30 14:41:04 -04:00