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

Don’t allow adding a lesson to non-current sem/year #17

Closed
blackmann opened this issue Jan 28, 2024 · 0 comments
Closed

Don’t allow adding a lesson to non-current sem/year #17

blackmann opened this issue Jan 28, 2024 · 0 comments

Comments

@blackmann
Copy link
Owner

Currently you can add lessons for sem 2 even though no school is in the second semester yet.

The “Add Lesson” button should be disabled when the selected sem/year is not the current.

Also show a message on the “Add lesson” page for inactive sem/year instead of the form. Something with the wording: “This year (xxx) and sem (xxx) is not ready for an entry” + some icon.

You can reference the current sem from client/res which is queried with values.get()(see: client/app/lib/values.ts)

auxibee pushed a commit to auxibee/compa that referenced this issue Mar 16, 2024
…for-dev

chore: Improve DX by handling docker for the DB and test email env variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant