-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Resp view #1644
Conversation
@peff |
@adsingh14 Sorry it took so long for me to get back to this. The result looks pretty good to me! A few things I noted:
|
This comment has been minimized.
This comment has been minimized.
They seem identical to me in function, with the exception of the "X" to close in the javascript version. I do agree that fewer lines is nicer in general, but if we're carrying both anyway, that's more total lines (plus the seldom-used one will be subject to bitrot). |
This comment has been minimized.
This comment has been minimized.
I think that's my preference, but if you (or anybody) has a strong opinion, we could go the other way. As you noted, there are already parts of the site that don't work without javascript, so I'm not sure how common it is.
My main concern here is people who disable javascript with extensions like ublock. It doesn't run the javascript, but also doesn't use the I guess another alternative is to make the javascript more progressive: do the bits in |
removed <noscript> from sidebar
@peff I keep CSS sidebar option and removed extra lines from |
The previous commits stripped the trailing newline from several files. Let's restore them to their canonical form to prevent noise in later diffs.
These aren't hurting anything functional, but they may make future diffs more noisy. Let's clean them up now.
@adsingh14 I applied a few whitespace fixes up on top, but I think at this point we should merge and iterate further in new PRs if we turn up any problems. Thanks again for working on this! |
@peff Thank you for whitespace fixes. May I know how to fix this issue for in future changes ? I've used VS Code for all changes. |
I'm not sure how to prevent the "no newline at end of file" issues. Most editors I've seen include it by default; I'm not sure if there's some VS Code setting at work here (I don't use it myself). For trailing whitespace on lines, you can view your commits with
Yeah, there's a big Cloudflare cache in front of the Heroku deployment, so changes may take up to 4 hours to be seen via https://git-scm.com. You can visit https://git-scm.herokuapp.com directly to see the deploy in the meantime (and indeed, it looks great, including the search results!). |
If it seems worth doing, we could consider adding editorconfig files for the repo which I perceive to be a universal solution for formatting requirements (new line at end of file, trimming trailing whitespaces). You could find more information regarding Editorconfig in their site: https://editorconfig.org/ My understanding is that it works by relying on built-in support in editors and existence of plug-ins where built-in support is lacking. |
I used WSL Terminal for ruby based projects. To clean the CRLF mess, I cloned the repo, again, in WSL |
On Windows, WSL Terminal works best to avoid extra packages/plugins. Instead of using Windows drive, use of |
Changes
Issue: #1421
Context
Current website is not responsive and mobile-ready.
Footnotes
<noscript>
functionality ↩ ↩2