Page MenuHomePhabricator

Add option to multiple delete or enable/disable (sub)rules in advanced mode
Open, MediumPublic

Description

Sometimes users need to have multiple regexes in advanced mode. When done, the user who wants to clear the list must disable or delete each rule (and subrule) individually, which is very tiring and time-consuming.

My idea is to add the ability to select rules (including subrules) so that the context menu (right-click) then has the option to delete/disable them. This would greatly facilitate and speed up work. In normal mode, this option exists, but in the advanced mode, it doesn't.

Event Timeline

Srdjan added a subscriber: Srdjan.
Acamicamacaraca triaged this task as Medium priority.Jan 27 2020, 4:56 PM

My idea is to add the ability to select rules (including subrules) so that the context menu (right-click) then has the option to delete/disable them. This would greatly facilitate and speed up work. In normal mode, this option exists, but in the advanced mode, it doesn't.

The delete exists on right click?

There is an option to delete an individual rule, but it would be useful to create a function to delete/disable multiple of them which I mentioned in the task description.

Reedy added a comment.Jan 28 2020, 5:47 PM

The tree view control doesn't have a "multi select", so this is hard to do.

You should be able to delete the subrules by deleting the parent

Srdjan added a comment.Feb 2 2020, 3:32 PM

It's pretty easy to delete all the rules and subrules by mashing the Delete key, but it would be useful to be have the option to multi select several and disable/enable them in one go.

Reedy added a comment.Feb 2 2020, 6:54 PM

As above, the .NET control doesn’t support that