Skip to content

Hide archived in assignment view - #2735

Open
ZoqkMaze wants to merge 6 commits into
e-valuation:mainfrom
ZoqkMaze:assign
Open

Hide archived in assignment view#2735
ZoqkMaze wants to merge 6 commits into
e-valuation:mainfrom
ZoqkMaze:assign

Conversation

@ZoqkMaze

@ZoqkMaze ZoqkMaze commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

fix #2731

@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.

Test please? (there should be an existing one which only needs a small addition) :)

@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.

Needs testing

@ZoqkMaze
ZoqkMaze requested a review from niklasmohrin August 3, 2026 18:23
@niklasmohrin

Copy link
Copy Markdown
Member

@richardebeling hm, latest commit failed once on evap.staff.tests.test_live.QuestionnaireEditLiveTest.test_question_ordering : https://github.com/e-valuation/EvaP/actions/runs/30842097834/job/91781380948 (re-run made it succeed)

kind of a weird test to turn flaky 🤔

@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.

changes look good

@@ -526,7 +526,7 @@ def test_there_can_be_no_contributions(self):

def test_hidden_and_managers_only(self):

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.

test name should be updated

@@ -556,14 +559,14 @@ def test_hidden_and_managers_only(self):
self.assertEqual(expected, set(formset.forms[1].fields["questionnaires"].queryset))

# Suppose we had a hidden questionnaire already selected, that should be shown as well.

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.

comment out of date

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.

Hide archived questionnaires in assignment view

4 participants