davbeek / gitinspectorgui

0 stars 0 forks source link

Add button Hide Excluded to top row of html output #21

Closed davbeek closed 1 month ago

davbeek commented 1 month ago

For the blame output tabs in html, the table rows of excluded items have ID = 0 and white color. It would be nice to hide these excluded rows, so that only the coloured rows remain in the blame tabs.

To achieve this, we could add a "Hide Excluded" button right after the last blame tab that toggles this effect on all blame tabs.

Note that we have option --blame-omit-exclusions for this, but having this functionality also while checking the output would be very convenient. This is because often several output files are generated at the same time, e.g. html output for submissions of all student groups. Then when the groups are graded, you want to be able to switch the output using the "Hide Excluded" button.

Also note that we should use the same name for the current GUI option --blame-omit-exclusions and the new "Hide Excluded" button.

davbeek commented 1 month ago

The buttons are added in the Code header in each blame table.

davbeek commented 1 month ago

Done, closing.