-
-
Notifications
You must be signed in to change notification settings - Fork 109
Hide icon when printing #175
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
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/enix/gitako/831Zkq9gpu3SYeFAwVLjqvZnjyfg |
|
Thank you! But I need to ask few questions before merging it.
Overall, temporarily disabling Gitako makes more sense to me. Hope to learn about your thoughts behind it. |
On Chromium-based browsers you can use print to save a page as PDF. Gitako switch doesn't make sense on the saved PDF file. GitHub itself also have some
No, because hiding the toggle is enough.
No, because they won't look out of place like the toggle.
I don't think there is a reason to.
Sure but this is just meaninglessly avoiding the problem when it can be solved via a single line of CSS. "you can just turn if off" here saves neither developers nor users' time. |
|
Thank you! It does not matter whether it can get solved by one line of CSS or more. My point is that the changes should make sense to me and not look like a temporary hack for unusual usages. I do not print web pages much. Could you share some scenarios where you'd do that? So that I can understand the purpose better and know how to help if necessary. |
"Unusual usages" sure, not a lot people know the trick. "Temporary hack" definitely not, this is the standard way and as mentioned above GitHub itself also does similar things.
It is really just making use of the portability of PDF. Saving web page as HTML is uncertain and requires decent browser and often working Internet. While I agree it's less frequent to print a GitHub page compared to a receipt, I use it for archiving purposes when I want to save content beyond just code (for example comments). I can understand this is not something you, as the author, may need but rejecting such a trivial improvement does not make much sense either. I submitted a similar change to another project (machsix/Super-preloader#652) and they don't even bother to doubt it. |
|
I see. I know it might make you frustrated by getting blocked on contributing such a minor change. Doubting because I did not understand the motivation quite well and wanted to know if there is more need to be considered than the switch. For example,
I need to see your thoughts on them to make me more convinced. I really appreciate your patience. :) Please give me some time on thinking about the above questions before merging. Thanks. |
Before:
After: