tr-pages icon indicating copy to clipboard operation
tr-pages copied to clipboard

Move filters to sidebar?

Open tripu opened this issue 7 years ago • 7 comments

Instead of having them at the top of the main content area.

/cc @bert-github.

tripu avatar Mar 08 '18 11:03 tripu

-1, because:

  • Sidebars tend to be too narrow to fit several filters in a usable manner
  • Sidebars are supposed to be used for “side” content, notes, useful links, etc — while filters are an important part of the content of the page (thus, it makes sense they're shown on the main area)
  • Common use of the regular w3.org sidebar isn't consistent with this, I think

tripu avatar Mar 08 '18 11:03 tripu

The jumping of the filter bar as you scroll down the page is distracting.

wseltzer avatar Mar 14 '18 09:03 wseltzer

@wseltzer, is that a little jump just once, once you scroll past the filters? Or something worse?

There should be just that small jitter, and only once as you scroll all the way to the bottom (or to the top)… If it “jumps” in any other way, that's a bug I should look into!

tripu avatar Mar 14 '18 15:03 tripu

Just the "small jitter," but it bothered me several times until I found what was causing it. I prefer pages where the location of text changes only in response to scrolling/movement, not in response to other elements shifting around.

wseltzer avatar Mar 15 '18 18:03 wseltzer

see also #41

Agree that having a bar that sits on top is a frustrating feature of the modern web I would prefer not to adopt.

I understand that sidebars can get too big (often the case currently in /TR specs) or not fit well to provide enough information (also the case currently).

Giving the sidebar more space on focus might help - or not, and it's more work...

chaals avatar Mar 18 '18 10:03 chaals

:open_mouth:

I think that sticky overlays are of great help sometimes, and can make navigation or filtering much faster. (Like so many other features, used sensibly :)

I want to hear from others about this. I think at least @tanyeah, @bert-github and @deniak were in favour — or neutral at worst (#17, #21).

tripu avatar Mar 26 '18 12:03 tripu

I find them useful especially when there's a large list like we have on /TR. It sucks to have to go to the top of the page when after scrolling down, you can't find what you are looking for. That being said, part of the stickiness is based on JavaScript and I wonder if having a solution 100% CSS will prevent the small jump and make the scrolling more fluid.

deniak avatar Mar 26 '18 15:03 deniak