Admin interface for updating error categories (all workflows)
This came up in #138 (closed), I'm copying the relevant information here:
One other use case that came up as we prepared the JSON sample files with errors - and added categories ...
We will probably need an admin interface to update the categories and map them to error names etc. I don't think this can be static or completely hard coded, so we need some flexiblity in updating, etc. Right now we started that excercise - minimally - on the Wiki page. This may be somewhat like the metadata, that maybe we can upload a file, mabye Excel to update those mappings? I'm open to ideas, but the need came up in discussions, so want to make sure it is recorded.
- Each error category (as documented here) can have more than one 'notice name'. These notices need to map to categories so our system knows how to group them.
- The categories get updated a few times a year
- Until notice names have been categorised (somewhere in the Admin UI), the category would be blank (for the related errors displayed on the errors tab).
Example interface
Here is a screenshot of a list of different notices. Note that they have a notice name and a display name, they are also put into a category.
sometimes the Notice Name is ugly and you want it to be nicer, so we have the ability to chnage the Notice Name to a nice Display Name. This is different from the Category that the notice is grouped into. It is a way to allow the developers to use their short names with _ and the user to be able to see a nicer name that you can update without having to bug the developer.
Here is how you can edit the notice. You can update the Display name, add it to a category (or two), decide to change all notices of this name to be errors instead of warnings, or vice versa. Reassign the notice name (all occurrences of it currently in the system and any new ones) to be assigned to PMC or to Publisher and more.
It's been great to be able to do this when we've learned that really these notices are better handled internally vs. externally. We've used the functionality to reassign the assignee a good number of times.
Here is the notice category list. This is where you can add a new category. Then you go back to the notice names and reassign them to a new category, if you want. We've definitely added new categories and changed the names of some categories over the 2 years we've been using this system. It is great that they are all automatically updated to reflect the change instantly in the system.