How would I create mass approval?

where a table is used to show the information which has an approval button in each row but we want to replace it with a checkbox so that not only one row is approved at a time but several
use a custom state for the checkbox to achieve its functions like: select, deselect, select all.
What I can’t do is create a button where I approve everything that the custom status has selected.

Make changes to a custom state’s List of Things (where the custom state is a list of items that are checked).

@georgecollier how do I do that? Do you know where I can find information about it?