Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource filter_controls section #3332

Closed
pjmuller opened this issue Oct 11, 2024 · 2 comments
Closed

resource filter_controls section #3332

pjmuller opened this issue Oct 11, 2024 · 2 comments
Labels

Comments

@pjmuller
Copy link

Feature

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

  • list
  • link_to
  • action
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

  • there is a lot of unused whitespace anyway next to the filters button
Copy link
Contributor

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

@github-actions github-actions bot added the Stale label Oct 27, 2024
Copy link
Contributor

Closing this because there was no activity for the past 15 days. Feel free to reopen if new information pops up ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

1 participant