Hello,
It would be nice if there is a possibility for the handler logic to be variant dependent. Just like badge functionality, I would suggest adding a parameter @variant_id.
An example usecase is where we have 2 screens in our application. The first screen disables the default edit button when the row has a specific status. The second screen is a screen available for some type of admins, where they can make changes to the row. However, because of the handler logic, the edit button will always be disabled when it reaches the specific status in all variants of the subject.
As a workaround, we changed the handler logic to check if the user is an admin or not and disable the button based on that logic. However, I think it would be nice if we had access to a @variant_id parameter in the handler logic.