This patch add the ability to filter report by type, as suggested in T68448
the code was mostly here but commented out, I may have missed something, I don't know.
Here what it's look like:
Differential D6926
Info Editor: Add ability to filter reports by type Authored by Valentin (Poulpator) on Feb 24 2020, 10:36 PM.
Details This patch add the ability to filter report by type, as suggested in T68448 the code was mostly here but commented out, I may have missed something, I don't know. Here what it's look like:
Diff Detail
Event TimelineComment Actions Okay, that is pretty sweet! Can we think of any better way to do the UI filter selecting? The header buttons seem a bit terse. Ideally it would be nice to have something that connected the icon with the text description ("Warnings", "Errors", etc) since the main list does not include that. So the filter could then act a bit as an index or legend. It would also help a bit in case we ever decide to give more granularity to the filtering. For example we are now using the one icon for all reports of type "Error" but there are actually four subtypes of error. So if we used a menu, popover, or something else then we could filter out just RPT_ERROR_OUT_OF_MEMORY while still showing RPT_ERROR_INVALID_INPUT (if we ever want to do that) while still only ever using the one icon for all of that type of report. I don't think menus would work for this. Although we can have checkboxes for each type, we can't also have the icons too. An enum list on a popover? Not sure. But again, this is a nice improvement. It would just be nice to have something that showed both ⚠ and "Warnings" together somehow.
Comment Actions
Comment Actions
Popover would work nicely here, for example in the image included above. the popover is not implement in this diff but can be found in P1320
Currently user can at least know the name of the filter type with the tooltip, but I agree it's not ideal. Comment Actions
Personally I would go for this style: Comment Actions I would like to make following changes (which are already made on branch) soc-2020-info-editor, but it is time consuming to separate them:
| ||||||||||||