bullet-train-pro / bullet_train-action_models

Other
5 stars 1 forks source link

Dropdown menu for `new_button_one` partials #41

Open petekeen-cf opened 1 year ago

petekeen-cf commented 1 year ago

When we have lots of actions for a model the row of buttons starts to look really cluttered:

Screen Shot 2023-02-01 at 11 27 23 AM

Could we get the option to have these buttons be in a dropdown menu on each row, rather than inlined into the row? I'm thinking basically the same dropdown as we show for bulk actions, except rendered on each row. In the dropdown context it would also be nice to have a way to disable an action for a given row based on permissions and other predicates, rather than just making it invisible.