0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/discourse-subscriptions/app
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
..
controllers DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
jobs
models/discourse_subscriptions DEV: Always pass --force to annotaterb and reorder annotations (#39977) 2026-05-13 14:12:48 +01:00
serializers/discourse_subscriptions DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00
services/discourse_subscriptions DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00