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

How to specify hierarchical filters #41

Open
amyisard opened this issue Oct 10, 2024 · 8 comments
Open

How to specify hierarchical filters #41

amyisard opened this issue Oct 10, 2024 · 8 comments

Comments

@amyisard
Copy link
Contributor

Hi,

I see from some previous Issues that it's possible to have hierarchical filters for the keywords, but I haven't found information on how to specify them - is it possible using the main branch code?

Thanks,

Amy

@cpietsch
Copy link
Owner

Hey, I am merging currently some features into main. Did you resolve the filters yourself ?

@amyisard
Copy link
Contributor Author

Hi, I think I originally meant something different by hierarchical filters from what I had seen in the previous issues - we were thinknig of having for example a filter "langage" and when you click on that you see filters "german, english, hebrew, spanish" but we then realised it wasn't clear how that would interact with the other filter behaviour and decided we were happy with the way things were anyway! And on rereading the other issues I thought they were probably referring to the fact that when you select one keyword, the others only remain visible if they are relevant in the context of the one which has been selected.

@cpietsch
Copy link
Owner

cpietsch commented Nov 18, 2024

Is this similar to your expectations: https://vikus.kunst-im-oeffentlichen-raum-pankow.de/ ?

The other route would be to have custom filters like this: https://cpietsch.github.io/kunsthaus-viewer/

@cpietsch cpietsch reopened this Nov 18, 2024
@amyisard
Copy link
Contributor Author

Oh yes, the first one is exactly what I was thinking of - is that already possible?

@cpietsch
Copy link
Owner

Yes, that should already work. You can try to pull the changes from here: master...hierarchical-keywords

Your keywords in data.csv need this format then: level1:level2:level3,level1:level2,....

@cpietsch
Copy link
Owner

If this does not work, let me know

@amyisard
Copy link
Contributor Author

Thanks - I'm going to be away for a couple of weeks but I will try this out when I get back. Are you planning to merge the hierarchical filters into the main branch?

@cpietsch
Copy link
Owner

I left certain features as branches so that the main Viewer does not get overloaded with options. I wanted to keep some flexibility. But I see more and more that those features should be integrated modular into the codebase.

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