avo-hq / avo

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

adding index view scopes #1317

Closed holden closed 2 years ago

holden commented 2 years ago

Forgive me if for some reason I overlooked this feature but it would be great to have scoped filters as buttons on the index view.

ActiveAdmin calls these index scopes https://activeadmin.info/3-index-pages.html, and it just makes it easier when you have an index with a lot of information on it to tab between "all, completed, upcoming, etc." I know you can accomplish this with filters on the right but it's not as pleasant a UI experience as being able to show them as tabs or buttons with maybe even the feature to show the size of the scope.

Hope that makes sense.

Stripe example

CleanShot 2022-10-17 at 12 05 52@2x

ActiveAdmin example

CleanShot 2022-10-17 at 12 06 13@2x

adrianthedev commented 2 years ago

Hey @holden. That's definitely a useful feature. Thank you for writing.

I added it to the roadmap. I don't yet have a more exact time when we'll release this. We're already designing Avo v3.0, and we might add it then.

adrianthedev commented 2 years ago

Closing in favor of https://github.com/avo-hq/avo/issues/1318