-
Notifications
You must be signed in to change notification settings - Fork 29
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
Community mod manager support field (TS-2279) #1086
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also add the new field as a list filter option on the django admin for communities
31151bb
to
0bc5a4b
Compare
Updated with the following changes:
|
75c68ef
to
442cf77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migration ID 0032 is already used (due to another PR being merged), so the migration should probably be updated in this PR before merging
Add mod_manager_support boolean field to the Community model. The intention with the field is to indicate whether a community has mod manager support or not. Add migration. Refs. TS-2279
Add new property to the PackageListing model that checks whether the related community has mod manager support or not. Implement test. Refs. TS-2279
Implement a check for whether the "Install with mod manager" button should be visible or not, depending on whether the related commnunity has mod manager support. Implement test. Refs. TS-2279
Add the has_mod_manager_support field to the community admin list filters. Refs. TS-2279
Refs. TS-2279
Rename migration 0032_has_mod_manager_support.py due to conflicting file names. Refs. TS-2279
442cf77
to
7328637
Compare
Add a new boolean field to the Community model to indicate whether a community supports mod manager functionality.
Use this field to control the visibility of the "Install with Mod Manager" button on the Package Detail page.
Implement all necessary properties and tests to ensure proper functionality.