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

Dynamic Filter: Displaying Some Items on the Screen by Default #3579

Open
yuki-yogi opened this issue Jan 10, 2025 · 0 comments
Open

Dynamic Filter: Displaying Some Items on the Screen by Default #3579

yuki-yogi opened this issue Jan 10, 2025 · 0 comments
Labels
Enhancement Not necessarily a feature, but something has improved Stale exempt

Comments

@yuki-yogi
Copy link

yuki-yogi commented Jan 10, 2025

Feature

To make it easier for users to understand that they can filter data, I would like to display a few items in the Dynamic Filter by default on the screen.

I’d like to do something similar for associated resources as well.

Current workarounds

For regular controllers, I was able to achieve this by adding filter parameters in a before_action.

Screenshots or screen recordings

Image

Additional context

Here is an example of a search form that shows from the beginning what you can search for

  • ebay
    Image
  • Zillow
    Image
  • spotify
    Image
  • linkedin
    Image
  • google shopping
    Image
@Paul-Bob Paul-Bob added the Enhancement Not necessarily a feature, but something has improved label Jan 10, 2025
@Paul-Bob Paul-Bob moved this to To Do in Issues Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Not necessarily a feature, but something has improved Stale exempt
Projects
Status: To Do
Development

No branches or pull requests

3 participants