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

Add min-group-size and max-group-size directive #154

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

EerikSaksi
Copy link
Contributor

@EerikSaksi EerikSaksi commented Dec 2, 2022

Define min-group-size and max-group-size directives in ConfigurableExercise, and add data to Questionnaire and SubmitForm

Fixes #70

Description

What?

Add group size directives

Why?

Before this could only be defined in the config globally

How?

Add group size options to option_spec in ConfigurableExercise, define data in SubmitForm and Questionnaire

Fixes #70

Testing

Remember to add or update unit tests for new features and changes.

What type of test did you run?

  • Accessibility test using the WAVE extension.
  • Django unit tests.
  • Selenium tests.
  • Other test. (Add a description below)
  • Manual testing.

Did you test the changes in

  • Chrome
  • Firefox
  • This pull request cannot be tested in the browser.

Think of what is affected by these changes and could become broken

Translation

Programming style

  • Did you follow our style guides?
  • Did you use Python type hinting in all functions that you added or edited? (type hints for function parameters and return values)

Have you updated the README or other relevant documentation?

  • documents inside the doc directory.
  • README.md.
  • Aplus Manual.
  • Other documentation (mention below which documentation).

Is it Done?

  • Reviewer has finished the code review
  • After the review, the developer has made changes accordingly
  • Customer/Teacher has accepted the implementation of the feature

Clean up your git commit history before submitting the pull request!

@markkuriekkinen markkuriekkinen self-assigned this Dec 2, 2022
Define min-group-size and max-group-size options in
the exercise directives `submit` and `questionnaire`.

Fixes apluslms#70
Copy link
Collaborator

@markkuriekkinen markkuriekkinen left a comment

Choose a reason for hiding this comment

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

Excellent! I will slightly adjust the commit message and merge this. Note that min-group-size is not a "directive" but an option to the directives submit and questionnaire.

https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#directives

@markkuriekkinen markkuriekkinen merged commit 7bd4a95 into apluslms:master Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Group setting for questionnaires and submits
2 participants