This is rather simply tricks.
On your source table, add the number of virtual column with text type. Add the app formula with the strings as you want. Like action name or so.
Then migrate the action button location to inline position, and pick up field (vc) name where you want to associate each action.
Make a two slice.
(Slice 1) First one is without those VC.
(Slice 2) Another one only WITH those VC.
Create action to move the detail view of Slice 2, with linktorow() deeplink expression. - This is displayed in detail view made out of slice 1
Create another action to move back to detail view of slice 1 likewise wiht linktorow expression - This is displayed in detail view made out of slice 2.
This trick will be able to clear up the top of the detail view, wihch is sometimes over-attractive due to the number of action icons.