avo-hq / avo

Build Ruby on Rails apps 10x faster
https://avohq.io
Other
1.52k stars 249 forks source link

resource filter_controls section #3332

Open pjmuller opened 3 weeks ago

pjmuller commented 3 weeks ago

Feature

similar to index_controls and show_controls we would love a form controls that at least has support for

class Avo::Resources::Foobar < Avo::BaseResource
  self.filter_controls = -> do
    list label: "Foo", title: "Actions" do
      link_to "Google", "https://google.com"
      action Avo::Actions::SendSms
    end
  end

Current workarounds

Moving elements via JS dom manipulation from index_controls to filter section

Screenshots or screen recordings

Image

Additional context

We want a set of actions around "saved" filter sets and would like to bring these closer to where filtering is happening

github-actions[bot] commented 5 days ago

This issue has been marked as stale because there was no activity for the past 15 days.