Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Use admin plugin show page for configuration #132

Merged
merged 9 commits into from
May 2, 2024

Conversation

martin-brennan
Copy link
Contributor

@martin-brennan martin-brennan commented Apr 23, 2024

This changes Gamification to follow the adminPlugins.show route convention
from core, which we are changing all plugins to use instead of their own custom
routes for advanced configuration. This moves some routes and paths around,
and moves additional data for the admin leaderboards routes into extras on
the plugin show API call.

It also adds some CSS classes to the templates, and a system spec for the admin
leaderboard functionality.

The next PR will redesign the leaderboards list to follow convention,
and refactor into components rather than just using route controllers + templates.

Relies on discourse/discourse#26707 from core, specs
will not pass until this is merged

2024-05-01_12-55

@martin-brennan martin-brennan changed the title WIP: Use single plugin config nav from core DEV: Use single plugin config nav from core May 1, 2024
@martin-brennan martin-brennan changed the title DEV: Use single plugin config nav from core DEV: Use admin plugin show page for configuration May 1, 2024
@martin-brennan martin-brennan marked this pull request as ready for review May 1, 2024 02:05
@martin-brennan
Copy link
Contributor Author

Thanks @ZogStriP !

@martin-brennan martin-brennan merged commit ceffeb3 into main May 2, 2024
5 checks passed
@martin-brennan martin-brennan deleted the dev/admin-plugin-config-nav branch May 2, 2024 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants