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

Document search filters on index page #171

Closed
josegonzalez opened this issue Jun 26, 2017 · 3 comments
Closed

Document search filters on index page #171

josegonzalez opened this issue Jun 26, 2017 · 3 comments
Milestone

Comments

@josegonzalez
Copy link
Member

Refs #165

@josegonzalez
Copy link
Member Author

josegonzalez commented Jun 27, 2017

Currently, we automatically pull search filters from the SearchBehavior's default collection. I think we can make that functionality disabled by default, with the following behavior for modifying it:

  • scaffold.index_filters = null|false: default, disable filters
  • scaffold.index_filters = true: auto-import default search collection
  • scaffold.index_filters = 'crud': auto-import a specific search collection
  • scaffold.index_filters = []: specific array of filter settings

We should also make the position of the filters changeable. They can appear:

  • at the top of the page, above finder scopes but below the action header
  • on the left-hand side
  • on the right-hand side

For styling, I'm thinking something similar to ActiveAdmin:

https://activeadmin.info/images/features.png

Filters would need to persist the current finder scope, and clearing filters should not clear the current finder scope.

@josegonzalez
Copy link
Member Author

Not sure if I want to build out this sort of rad filtering just yet or not:

https://cl.ly/2s081q28271Q

@josegonzalez
Copy link
Member Author

I think this can be closed as we have a good alternative now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant