guardian / typerighter

Even if you’re the right typer, couldn’t hurt to use Typerighter!
Apache License 2.0
276 stars 12 forks source link

Add checkboxes to select multiple rules #341

Closed aracho1 closed 1 year ago

aracho1 commented 1 year ago

What does this change?

Add checkboxes to the rules table to enable users to select multiple rows in preparation for the batch editing feature to come.

Clicking the header checkbox will select all the rows in the current page. Selecting one or multiple rows will bring up the edit form. If multiple rules are selected, the details of the first selected rule will show up. The form does not do anything in relation to batch editing for now but we'll bring the relevant changes in subsequent PRs.

image

How to test

Run this locally or on CODE and check that one more more rules can be selected. The edit form should show up upon selecting one or more rows.