Skip to content

Configurable warnings and capabilities#715

Draft
Theophile-Madet wants to merge 14 commits intomasterfrom
configurable_warnings_and_capabilities
Draft

Configurable warnings and capabilities#715
Theophile-Madet wants to merge 14 commits intomasterfrom
configurable_warnings_and_capabilities

Conversation

@Theophile-Madet
Copy link
Copy Markdown
Collaborator

@Theophile-Madet Theophile-Madet commented Nov 20, 2025

This is the first PR that moves the new features from the Rizoma branch to the main one.

There are data migrations in tapir/shifts/migrations/0072_auto_20251120_1642.py and tapir/shifts/migrations/0073_auto_20251120_1642.py so the current SuperCoop shifts and users will keep their capabilities.

There's a lot of small changes in many files, it may not make sense to check everything. If you want to check the main changes, look for the views and the models.

@gnunicorn We can't merge this yet because it conflicts with another feature that @crosspolar did on the master branch, but the changes will be on the side of the other feature so this PR shouldn't change.

@Theophile-Madet Theophile-Madet self-assigned this Nov 20, 2025
Copy link
Copy Markdown

@gnunicorn gnunicorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me, but I can't really say much about the tsx. mainly some nitpicks on the docs

Comment on lines +21 to +23
DEFAULT_SLOT_ORDER = [
"Teamleitung",
]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be a settings config?

@crosspolar
Copy link
Copy Markdown
Contributor

@Theophile-Madet , as far as I understand having the "notify me when teamleader has changed" hardcoded is the problem, right? Would the solution being able to choose which slots or qualifications you want to be notified for?

@Theophile-Madet
Copy link
Copy Markdown
Collaborator Author

Would the solution being able to choose which slots or qualifications you want to be notified for?

Yes I think that would be the cleanest way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants