Issue Details (XML | Word | Printable)

Key: MDL-16756
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Sam Marshall
Reporter: Sam Marshall
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Improved method for deleting multiple groups

Created: 01/Oct/08 08:57 PM   Updated: 29/Oct/08 07:49 AM
Return to search
Component/s: Groups
Affects Version/s: 1.9.2
Fix Version/s: 1.9.4

Participants: Petr Skoda and Sam Marshall
Security Level: None
QA Assignee: Petr Skoda
Resolved date: 24/Oct/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
We have an issue where admin staff frequently want to delete a whole grouping worth of groups at once. This is tedious at the moment because you can only delete groups one at a time.

I can see two possible ways to improve this:

OPTION 1: Allow multiple selection in the Groups list

The 'confirm delete' page would then show a list of all groups being deleted before the 'are you sure' buttons.

OPTION 2: When deleting a grouping, change the 'confirm delete y/n' screen so that it includes at the top a couple radio buttons. Default would be to just delete the grouping as present, but you can also choose to delete all groups in it.

=What to delete=

[ x ] Just delete the grouping
[ ] Also delete all groups in the grouping:
    Mary Jane's group
    Anne Other's group
    etc

=Confirm delete=

Are you sure? This cannot be undone.

[Delete grouping] [Cancel]

OPTION 3: Both of the above :)


Option 1 also provides benefit for people who don't use groupings and just might want to delete several groups at once, but has disadvantage that you have to manually select the groups. (Also need to mess about with JS to make sure you can't click the 'edit group' button when multiple are selected, but that shouldn't be hard.)

Option 2 is most convenient for people who use groupings.


Opinions welcomed please - if somebody is good with either or both of these options I will look into implementing it - for 2.0 and also for 1.9.x if you like, up to you (I'll be doing that for ours). I think one/both of these would be a good minor UI improvement.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
sam_marshall committed 5 files to 'Moodle CVS' - 24/Oct/08 09:31 PM
MDL-16756: Groups bugfixes and multiple select support for deletion
MODIFY group/clientlib.js   Rev. 1.3    (+32 -10 lines)
MODIFY group/group.php   Rev. 1.23    (+6 -0 lines)
MODIFY lang/en_utf8/group.php   Rev. 1.28    (+3 -0 lines)
MODIFY group/index.php   Rev. 1.48    (+60 -29 lines)
ADD group/delete.php   Rev. 1.1    (+0 -0 lines)
sam_marshall committed 5 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 24/Oct/08 09:34 PM
MDL-16756: Groups bugfixes and multiple select support for deletion
MODIFY group/index.php   Rev. 1.37.2.5    (+60 -28 lines)
MODIFY group/group.php   Rev. 1.15.2.4    (+6 -0 lines)
MODIFY lang/en_utf8/group.php   Rev. 1.22.2.6    (+3 -0 lines)
MODIFY group/delete.php   Rev. 1.1.2.2    (+74 -0 lines)
MODIFY group/clientlib.js   Rev. 1.1.2.2    (+32 -10 lines)
Mitsuhiro Yoshida committed 6 files to 'Lang CVS' - 25/Oct/08 02:08 AM
MDL-16991 Translated new strings for admin.
MDL-17003 Translated new strings for completion progress report.
MDL-16756 Translated new strings for group.
MDL-15352 Translated new strings for remote Moodle repository.
Brushed up a translated string for wiki.
MODIFY ja_utf8/admin.php   Rev. 1.311    (+2 -0 lines)
MODIFY ja_utf8/group.php   Rev. 1.33    (+35 -32 lines)
MODIFY ja_utf8/README   Rev. 1.849    (+1 -1 lines)
MODIFY ja_utf8/completion.php   Rev. 1.5    (+2 -1 lines)
MODIFY ja_utf8/wiki.php   Rev. 1.16    (+2 -2 lines)
MODIFY ja_utf8/repository_remotemoodle.php   Rev. 1.3    (+1 -0 lines)
martignoni committed 1 file to 'Lang CVS' - 02/Nov/08 01:02 AM
MDL-16756 strings added
MODIFY fr_utf8/group.php   Rev. 1.38    (+4 -1 lines)