0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-subscriptions
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
..
admin/assets/javascripts/discourse DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
app DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
assets DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
config DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
db/migrate
lib DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
spec DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
test/javascripts DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

Discourse Subscriptions Plugin

Discourse Subscriptions allows site owners to sell recurring and one-time purchase subscriptions that grant access to a group on a Discourse instance.

For more information, please see: https://meta.discourse.org/t/discourse-subscriptions-plugin/140818