-
Notifications
You must be signed in to change notification settings - Fork 211
/crate is no longer reachable without javascript #1103
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
Comments
Oops, sorry for the regression! I agree that it's best to revert and then roll-forward later with a fix. I'll send that PR. |
It seems like the new approach in #1096 could solve this too. Have the elements be links, but block them using JS, so without JS they act as normal links. |
That's possible! I have had a little trouble getting it to work right, but with a few more tries, I think it's pretty feasible. But, another thought: Can we simplify instead of adding complexity? It seems like each of these menus has a corresponding page that serves the same purpose as the menu, and on mobile, we're satisfied just sending people directly to that page. Why not make that the implementation on desktop as well? Would save some of the HTML used to render menus, and would result in less overall JS and CSS to maintain. |
Hmm, I'm a little nervous people will want the old functionality. Personally I think that would be a good change but one of the downsides of having a website is that people can't choose whether or not to update. |
This is a regression introduced by #1081 - since dropdowns open using javascript, and clicking on the dropdown itself no longer goes to a new page, there's no longer a way to go to /crate without javascript enabled (or typing the URL in manually).
Rather than reverting the PR, I think the fix should be to make dropdowns open using CSS instead. That may not be feasible - if so, I think I would prefer to revert the PR so the site is still usable without JS.
cc @jsha, do you have time to follow-up on this?
The text was updated successfully, but these errors were encountered: