0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 10:47:18 +08:00
discourse/plugins/discourse-subscriptions/assets
Kris 837bd271fd
DEV: modernize admin nav (#42183)
Subscriptions rendered its own nav inside the page (legacy) and hid it
entirely until Stripe was configured, so from the sidebar, a fresh
install landed on a dead-end "Stripe is not configured" message.

This change moves the plugin onto the newer admin show route, and an
unconfigured Stripe lands on the settings tab with the other tabs
showing an empty state that links back to settings.

Also removed some dead code

Before: 
<img width="2762" height="818" alt="image"
src="https://github.com/user-attachments/assets/0896d0eb-f183-4e29-a724-07f6cc0ef847"
/>


After:
<img width="2272" height="1244" alt="image"
src="https://github.com/user-attachments/assets/607d396f-3beb-4275-967e-c1d6f3169955"
/>

---------

Co-authored-by: Martin Brennan <martin@discourse.org>
2026-08-05 09:43:30 -04:00
..
javascripts/discourse DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
stylesheets DEV: Apply latest stylelint autofixes (#36294) 2025-11-27 18:07:22 +01:00