Skip to content

Non-counting questions - #2450

Open
jooooosef wants to merge 31 commits into
e-valuation:mainfrom
jooooosef:iss2391
Open

Non-counting questions#2450
jooooosef wants to merge 31 commits into
e-valuation:mainfrom
jooooosef:iss2391

Conversation

@jooooosef

@jooooosef jooooosef commented May 26, 2025

Copy link
Copy Markdown
Collaborator

closes #2391
fixes #2539

Note: Since I changed the RatingResult (added counts_for_grade) you may have to refresh_results_cache for sites like "Evaluate" to work.

@jooooosef
jooooosef marked this pull request as draft May 26, 2025 19:35
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/student/templates/student_vote_questionnaire_group.html Outdated
@jooooosef
jooooosef marked this pull request as ready for review June 17, 2025 09:11
@jooooosef
jooooosef requested a review from richardebeling June 23, 2025 18:40

@richardebeling richardebeling left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking pretty good, thanks :)

Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/evaluation/tests/test_models.py Outdated
Comment thread evap/evaluation/migrations/0149_question_counts_for_grade.py Outdated
Comment thread evap/evaluation/models.py Outdated
Comment thread evap/staff/forms.py Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html
Comment thread evap/student/templates/student_vote_questionnaire_group.html

@niklasmohrin niklasmohrin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

okay some more concerns; this is not an easy issue :^)

Comment thread evap/student/forms.py Outdated
Comment thread evap/student/templates/student_vote_questionnaire_group.html
Comment thread evap/staff/forms.py Outdated
Comment thread evap/evaluation/models.py Outdated
Comment thread evap/evaluation/tests/test_models.py Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/results/tools.py
Comment thread evap/results/tools.py
@richardebeling
richardebeling removed their request for review August 4, 2025 15:27
@jooooosef
jooooosef force-pushed the iss2391 branch 2 times, most recently from 3eb3935 to 3f26948 Compare August 11, 2025 20:38
@janno42
janno42 force-pushed the main branch 2 times, most recently from 73e348c to 3577b6a Compare August 12, 2025 11:21
Comment thread evap/evaluation/migrations/0155_question_counts_for_grade.py Outdated
Comment thread evap/results/tests/test_tools.py Outdated
Comment thread evap/evaluation/tests/test_models.py Outdated
Comment thread evap/staff/forms.py Outdated
Comment thread evap/results/tools.py Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
Comment thread evap/staff/forms.py Outdated
Comment thread evap/results/tests/test_tools.py Outdated
Comment thread evap/results/tools.py Outdated
Comment thread evap/staff/tests/test_forms.py Outdated
Comment thread evap/static/ts/src/staff-questionnaire-form.ts Outdated
Comment thread evap/static/ts/src/staff-questionnaire-form.ts Outdated
Comment thread evap/static/ts/src/staff-questionnaire-form.ts Outdated
Comment thread evap/static/ts/src/staff-questionnaire-form.ts Outdated
Comment thread evap/static/ts/src/staff-questionnaire-form.ts Outdated
Comment thread evap/static/ts/src/staff-questionnaire-form.ts Outdated
Comment thread evap/staff/templates/staff_questionnaire_form.html Outdated
@jooooosef
jooooosef force-pushed the iss2391 branch 2 times, most recently from 77f11b9 to d360f52 Compare November 24, 2025 22:33
@jooooosef
jooooosef requested a review from janno42 December 1, 2025 16:40

@niklasmohrin niklasmohrin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only minor comments, overall approve 🎉

Comment thread evap/staff/tests/test_views.py Outdated
counts_for_grade=True,
)

page = self.app.get(f"/staff/questionnaire/{questionnaire.pk}/edit", user=self.manager)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should use reverse

Comment thread evap/evaluation/models.py Outdated
),
name="check_evaluation_textanswer_or_heading_question_has_no_additional_textanswers",
)
),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pls revert

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Non-counting questions Cannot change question type and allows_additional_textanswers of text/heading questions simultaneously

5 participants