-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
(GitHub table of contents) Resizable window #132
Comments
Done 😸 |
You are awesome!! Thanks so much ! |
This comment has been minimized.
This comment has been minimized.
Clicking on the arrows works for me in Chrome. What browser are you having an issue in? |
I hid my last comment: Below are example pages: (tested in my Chrome 88 everyday profile, with latest TM beta 4.12.6126) Where the collapse arrows don't work, having login to GitHub: (it's rather in all pages I tried) No generated TOC when not logged in to GitHub: There's the following error in Console in the last case group:
Also, when I test on a fresh Chrome profile with only latest Tampermonkey beta/Violentmonkey and the script (after login to GitHub): |
Update: |
I found that the collapse arrows event listener was being bound on every page refresh. I've updated the script just now. Please try it now. |
Thanks a lot! So, indeed the 1st issue is fixed! What now still remains is the other two: No generated TOC when not logged in to GitHub: There's the following error in Console:
No collapse arrows after login to GitHub: |
Ok, I've just updated the userscript to work on the logged out header... I can't reproduce the last issue with no arrows. I did change how the arrows are rendered, so maybe it's incompatible with other browsers? No idea. |
Thanks for the fix when logged out. The last issue occurs for me consistently. If I may assist in reproducing it, here is my STR in full details: In in a fresh Chrome profile of 88.0.4324.104 / Firefox 85 (win10 x64 20h2), I open https:/microsoft/vscode-docs/blob/vnext/release-notes/v1_52.md : Screenshots: logged out: logged in: |
Update: |
Oh, are they just invisible? |
Greetings @Mottie
It's a feature request I wanted to make for a long time now:
it's about your awesome script, "GitHub table of contents".
Would it be possible to make its window resizable?
i.e. to be able to drag its right corner(or its edges) and expand/reduce as I want?
The reason is that very often, many entries in the TOC don't fit in the window and are truncated,
and I have to mouseover each line to see it fully.
Example page:
https:/microsoft/vscode-docs/blob/vnext/release-notes/v1_52.md
Screenshot
Thank you
P.S. I know you are super busy in your life, just wanted to express my wish 🙂
The text was updated successfully, but these errors were encountered: