-
Notifications
You must be signed in to change notification settings - Fork 23
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
Multiselect on categories #21
Comments
we would definitely be open to a PR on this, thanks! |
@Wattenberger would you be able to give me permissions to make PRs 🙏? |
@nikodraca do you mind forking the repo and creating a PR from there? Similar to this PR: |
@Wattenberger revisiting this now that I have a better understanding of the codebase - I think the first item of work is multiselect on The second item of work, which I think requires a larger discussion, is about filtering on
Excited to contribute 😄 |
I bet we'll be able to add multiselect in a way that doesn't detract from the single-select use case. If so, I bet a lot of people would find it useful!
I think these questions are related. We're differentiating between columns where the contents are usually one item in an array ( Let me know if any of that didn't make sense! |
So if I understand correctly the idea was that Follow up q: couldn't we consolidate |
hmm, potentially. They wouldn't automatically be categories, but could be passed further down and treated the same as columns of strings: https://github.com/githubocto/flat-ui/blob/main/src/store.ts#L688 I'm a bit hesitant to do more "magic" handling of data, though! The farther we get from the raw data, the less reliable the table view gets. There is the possibility to treat items within array values are rendered as pills, similar to category values, which is perhaps what you're getting at. In that case, I think the path forward would be to have a multiselect filter, and to change the render component for arrays. |
Ok cool, thanks for answering all my questions 😄 |
Hey @Wattenberger 👋 wanted to share some progress and get some feedback: What's New:
Questions:
|
Hey @Wattenberger 😄 just wanted to check in on this, really eager to get the ball rolling! |
Hey @Wattenberger sorry to bother again, I'd love to get some eyes on this! Is there someone on the team you could put me in touch with? |
hey Niko! sorry about the delay! I was moving cross-country and now the team is heads-down on a launch. I'll try to get to this within the next week! |
No worries at all! Hope the move went well 😄 |
okay! this is looks great, thanks for the progress! A few tiny suggestions:
great progress so far! |
I got a new MacBook this week and didn't push changes before I wiped it 🙃 looks like I'll be starting from scratch, but thank you for the comments! Talk soon |
Ah super frustrating! Good luck re-building those changes! |
It would be great if you could multiselect values on category fields. Currently you can only select one category to filter on.
Any interest in this? I don't mind taking a crack at it.
The text was updated successfully, but these errors were encountered: