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

Consider making the sidebar toggleable to *not* break down keywords by vocabulary #36

Open
Julian opened this issue Oct 23, 2023 · 2 comments

Comments

@Julian
Copy link

Julian commented Oct 23, 2023

I would love it if the sidebar was not broken down by vocabulary and simply listed all keywords in alphabetical order. That'd make it way easier to find a keyword when you know it exists. E.g. just now in ~<1 second I wanted to find both dependentSchemas and dependentRequired, and could not see why they weren't both there -- they were of course, but one was in one vocabulary and one in another, which took a few additional seconds to realize when simply scanning the page.

The counter to doing away entirely with vocabularies in the sidebar is that finding keywords by "relationship" to others -- which is kind of what vocabularies are trying to model -- then becomes harder.

Perhaps a meaningful way of solving both is to have the sidebar have 2 tabs -- one where keywords are broken down by vocabulary, and one where they're simply listed alphabetically. Or a radio slider which you could toggle from "by vocabulary" to "sorted" or whatever.

You may not be surprised on this opinion of mine :D -- feel free to close this of course if you think it's overboard!

@jviotti
Copy link
Member

jviotti commented Oct 23, 2023

Perhaps a meaningful way of solving both is to have the sidebar have 2 tabs -- one where keywords are broken down by vocabulary, and one where they're simply listed alphabetically. Or a radio slider which you could toggle from "by vocabulary" to "sorted" or whatever.

I like this tab idea. Adding it to my TODO list :)

@jviotti
Copy link
Member

jviotti commented Oct 23, 2023

Maybe some tab buttons at the top that say:

  • By vocabulary (what we have now)
  • By dialect (all at once like you suggested)

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