0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-subscriptions/spec/system
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
..
page_objects DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
campaign_banner_spec.rb DEV: Block external requests in system specs via Chrome DNS resolver (#40685) 2026-06-17 12:29:57 +01:00
configure_subscriptions_plugin_spec.rb DEV: modernize admin nav (#42183) 2026-08-05 09:43:30 -04:00
core_features_spec.rb
pricing_table_spec.rb DEV: Block external requests in system specs via Chrome DNS resolver (#40685) 2026-06-17 12:29:57 +01:00
subscription_product_spec.rb DEV: Block external requests in system specs via Chrome DNS resolver (#40685) 2026-06-17 12:29:57 +01:00
subscription_subscription_spec.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00