0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 16:23:34 +08:00
discourse/plugins/discourse-patreon/spec
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
..
fixtures DEV: Upgrade Patreon plugin to API v2 with v1 backward compatibility (#38871) 2026-03-30 14:43:34 -03:00
integration DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
jobs DEV: Upgrade Patreon plugin to API v2 with v1 backward compatibility (#38871) 2026-03-30 14:43:34 -03:00
lib FIX: Allow only sanitized strings in admin notices (#39796) 2026-05-06 13:40:20 -04:00
requests DEV: modernize admin nav, fix unconfigured state (#42182) 2026-07-30 14:41:04 -04:00
services/problem_check DEV: Upgrade Patreon plugin to API v2 with v1 backward compatibility (#38871) 2026-03-30 14:43:34 -03:00
system DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
spec_helper.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00