avo
avo copied to clipboard
Add proper list dropdown API for controls
Feature
We'd love to have an API where you can add a custom list dropdown to the show|edit|index_controls feature.
list do
link_to "google", "https://google.com", ...options
action ...options
end
### Tasks
- [x] Add the defaults controls to the list `delete_button`, etc.
See how the block is being "read" from this PR.
Current workarounds
Add an action that has a redirect response, add that action into an actions_list and and use no_confirmation = true.
It's a hack but it works.
Screenshots or screen recordings
This list. https://github.com/avo-hq/avo/issues/2775