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

Collection filtering #6

Open
aazuspan opened this issue Apr 24, 2022 · 3 comments
Open

Collection filtering #6

aazuspan opened this issue Apr 24, 2022 · 3 comments

Comments

@aazuspan
Copy link

Hey @darrenwiens, what do you think about having a text box in the Common tab that filters collections by ID, to help navigate big STACs? Whenever the filter text is changed, the collection list would update to only include matching collections.

I threw together a quick working demo below, mostly to make sure it was possible with ipywidgets before I suggested it.

If you like the idea I'm happy to make a PR. If not, no worries!

stacnb_filter

@darrenwiens
Copy link
Owner

darrenwiens commented Oct 22, 2022

Sorry for the delay, I like the idea for this added functionality!

The other inputs (Collection(s), Limit, and ID(s)) all act on the query, but the new filter acts on Collection(s). Is there a way to group Collection(s) together with Filter to make it more clear from a UX perspective?

@aazuspan
Copy link
Author

Good point, I played around with some changes to try and make it clearer that the filter doesn't affect the query.

  1. Changed Filter to 🔍 so it feels less like a query input.
  2. Added # selected so you can tell the filter input doesn't select anything.
  3. Divided into Collections and Items sections.

demo with headers

# 3 might be overkill, but I figured I'd throw some options your way.

@darrenwiens
Copy link
Owner

That looks awesome! Happy to review a PR.

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

No branches or pull requests

2 participants