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

Show tags as a list of hyperlinks instead of using a drop-down menu? #30

Open
tripu opened this issue Mar 8, 2018 · 3 comments
Open
Labels
mock-up-1 About our first iteration (released ~ 20 Mar 2018) question More a doubt than an issue or suggestion

Comments

@tripu
Copy link
Member

tripu commented Mar 8, 2018

Advantage: you can see all tags at a glance, and you save clicking on the drop-down (and possibly scrolling on it), which may be tedious.

/cc @bert-github.

@tripu
Copy link
Member Author

tripu commented Mar 8, 2018

Some disadvantages I can think of:

  • Hyperlinks are actions (“take me to this other page”), but these tags are binary switches, options (“filter by this”, “now don't filter at all”, etc)
  • Hyperlinks aren't designed to hold a state, so information about which tag you're filtering by (if any) at any given moment would have to be conveyed somewhere else (eg, in a heading), or in the selected hyperlink itself (eg, with a different background colour), which is a bit of a hack, and not all that intuitive
  • In the progressively enhanced version (ie, with JS running), we'd have to capture the click events and defaultPrevent them, which is counter-intuitive, and ugly
  • To remove that filter, we either add a special hyperlink (“all tags”) and make it apparent (more difficult to understand), or force users to go back in history until they reach the initial, non-filtered version of the page (if that was their entry point, that is!); either solution looks bad to me
  • If/when the no. of tags increases, we'll need more real space on the page to show them all (the drop-down, on the other hand, has a fixed size no matter how many tags it holds)
  • A11y?

@tripu tripu added question More a doubt than an issue or suggestion mock-up-1 About our first iteration (released ~ 20 Mar 2018) labels Apr 12, 2018
@plehegar
Copy link
Member

plehegar commented Aug 6, 2018

Received this feedback today:
[[
The https://www.w3.org/TR/ page looks great now, but I noticed that
while many specs have useful tags attached to them, they're not
clickable - you have to manually go back to the search box at the top
of the screen and select the tag you want to filter for.

It's pretty standard to make clicking on a tag take you to whatever
page corresponds to filtering for that tag; could we get that done on
this page too?
]]

@tripu
Copy link
Member Author

tripu commented Aug 6, 2018

@plehegar, point your commenter to #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mock-up-1 About our first iteration (released ~ 20 Mar 2018) question More a doubt than an issue or suggestion
Projects
None yet
Development

No branches or pull requests

2 participants