Skip to content

Conversation

@drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Jan 8, 2026

When editing sets in the sets manager, there are now some new inputs and such above the set list table. There is a select to choose which set date to change (the open date, reduced scoring date, close date, or answer date), and which date to set that to for all selected sets. Obviously the reduced scoring date is not shown if not enabled for the course. Then there is an "Apply to Selected Sets" button which if clicked will set the selected date type to the chosen date for all selected sets.

There now needs to be the set check boxes on the edit page (these were not shown in edit mode before). Internally those checks have a different input name so that they don't conflict with the behavior of the usual checks and since they are for a different purpose.

There is validation, and if the button is used when the inputs haven't been set or if no sets are selected, then messages are displayed informing the user of what is needed.

Note that the usual ordering of dates applies. So if a set date is out of order then the other dates are adjusted just as if that date were edited directly for the particular set.

This is how I envision what was requested in https://forums.openwebwork.org/mod/forum/discuss.php?d=8795#p22520. I don't see the suggested way of this working in that forum post as actually being feasible or even really making sense. The suggestion was to add a button that would copy a date to all sets below it, but the order of sets in the list is not a reasonable way of managing this since that order could depend on the set dates to begin with.

…ts in the sets manager.

When editing sets in the sets manager, there are now some new inputs and
such above the set list table.  There is a select to choose which set
date to change (the open date, reduced scoring date, close date, or
answer date), and which date to set that to for all selected sets.
Obviously the reduced scoring date is not shown if not enabled for the
course.  Then there is an "Apply to Selected Sets" button which if
clicked will set the selected date type to the chosen date for all
selected sets.

There now needs to be the set check boxes on the edit page (these were
not shown in edit mode before).  Internally those checks have a
different input name so that they don't conflict with the behavior of
the usual checks and since they are for a different purpose.

There is validation, and if the button is used when the inputs haven't
been set or if no sets are selected, then messages are displayed
informing the user of what is needed.

Note that the usual ordering of dates applies.  So if a set date is out
of order then the other dates are adjusted just as if that date were
edited directly for the particular set.

This is how I envision what was requested in
https://forums.openwebwork.org/mod/forum/discuss.php?d=8795#p22520. I
don't see the suggested way of this working in that forum post as
actually being feasible or even really making sense.  The suggestion was
to add a button that would copy a date to all sets below it, but the
order of sets in the list is not a reasonable way of managing this since
that order could depend on the set dates to begin with.
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.

1 participant