-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Sidebar behavior #16
Comments
At the moment, I want to hold off on major structural changes like this until we have gone through the beta phase (starting in April). The reason being is that this layout has had ~20 hours of accessibility testing put into it and a change like this to the navigation has unknown (to me) implications for accessibility of the lessons (e.g. carpentries/glosario#465 or is that going to be distracting for someone with low visibility or dyslexia). |
Totally understood, just wanted to log it here for posterity! |
I was looking a bit more into this and I think we can control this by using the You can see some fo the behavior here: https://fmichonneau.github.io/2017-useR-tutorial/proposal/ |
I would second that significant improvements are needed for the EPISODE side-pane. Currently I find it a hindrance more than a help when teaching. My main issue, is that if you collapse the pane, you cannot navigate to any other part of your current page, or Workshop without scrolling to the section of interest, or scrolling to the top of the page. This is a huge time waster and disorienting for students if you need to do it to emphasise relationships between ideas or content that you have covered. There are also some technical issues with the side-pane:
|
Sorry for the delay, I do want to acknowledge that I've seen this and I want to manage expectations: this is not an easy problem for us to solve due to reasons of deminished capacity and expertise. The good thing is that it will likely be solved exclusively on the {varnish} side, which means that this is purely an HTML/CSS/JS solution. The challenge is not in the solution itself, but it's choosing a solution that will allow us to retain accessibility and doesn't rely heavily on a series of JavaScript libraries that are delivered via CDN (at the moment, we load the mathjax library via CDN and then and the local minified bootstrap + feather icons + custom JS). The sites retain much of its functionality without a heavy amount of JavaScript and it would be good to minimize the amount of JavaScript we import, as it increases the weight. |
I think it would be nice to have a sticky navigation bar (stays pinned to the side as you scroll down the page) for a few reasons:
Sticky navigation bars pose their own issues, as a really long navigation bar will extend the whole length of the screen, and you can't scroll to the bottom of it without scrolling to the bottom of the whole document. However, I think given the auto-collapse of the episode sections, the navigation bar would probably stay small enough to fit on a reasonably sized-screen. It might even be possible to have the sticky behavior toggle based on page size.
If the tradeoffs with the sticky navigation bar don't make sense, I think two other things would solve the problem as well:
SSSSS LLLLLLLLLL
SSSSS LLLLLLLLLL
SSSSS LLLLLLLLLL
LLLLLLLLLLLLLLLL
LLLLLLLLLLLLLLLL
The text was updated successfully, but these errors were encountered: