mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
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> |
||
|---|---|---|
| .. | ||
| admin/assets/javascripts/discourse | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
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