How to add Custom Bulk Action

I am trying to create my own custom bulk action to change status of the record. Of course there is documentation in Sylius/SyliusGridBundle/blob/master/docs/custom_bulk_action.md
but it is not completed. There is no any example of controller functionality.

How to deal with controller for this action ? I take a look at bulkDeleteAction but it looks a little bit over-complicated. Is there any more simple example of controller for custom bulk action ?

You will first need to create a form button similar to this https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/UiBundle/Resources/views/Macro/buttons.html.twig#L64

Then you will have to add javascript which will add to the form the ids that have been checked e.g. https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/UiBundle/Resources/private/js/sylius-bulk-action-require-confirmation.js#L29-L32

When you do it you will be able to download selected ids e.g. $request->get('ids', [])