In the recent score hiding thread, I was finding it harder and harder to discover new comments as the thread grew. To solve this I wrote a script which lets you jump directly to new comments. It...
In the recent score hiding thread, I was finding it harder and harder to discover new comments as the thread grew. To solve this I wrote a script which lets you jump directly to new comments.
It can be installed via Greasemonkey (Firefox) or Tampermonkey (Chrome). Though I expect any other userscript engine will work. Let me know if that's not true.
You can install just by loading the raw script file in a new tab. Navigation is by J/K hotkeys. It should work with any theme, but again let me know if something seems off.
This will require the setting "mark new comments" be enabled in your Tildes settings.
Yep, I discovered that earlier this week! But it's only effective when there's one new comment. When there's more than that, you need to search to find them.
Yep, I discovered that earlier this week! But it's only effective when there's one new comment. When there's more than that, you need to search to find them.
Do you have the "Collapse old comments when I return to a topic" setting disabled? That makes it so everything except the new comments and their parents are collapsed, so they're all easy to see.
Do you have the "Collapse old comments when I return to a topic" setting disabled? That makes it so everything except the new comments and their parents are collapsed, so they're all easy to see.
Hrmm, no I don't. It took me a while to actually find it on the settings page. I'm not sure yet if I'd like that feature to be always enabled, but I'll try it out and see.
Hrmm, no I don't. It took me a while to actually find it on the settings page.
I'm not sure yet if I'd like that feature to be always enabled, but I'll try it out and see.
Yeah, I like the "Collapse old comments" feature, but do find it a bit annoying sometimes. However, if you have it enabled and go back to a topic with new comments in it, but don't want to view...
I'm not sure yet if I'd like that feature to be always enabled
Yeah, I like the "Collapse old comments" feature, but do find it a bit annoying sometimes. However, if you have it enabled and go back to a topic with new comments in it, but don't want to view the collapsed state, you can thankfully just click the [Expand All] button at the top of the comment section. Easy peasy.
I wonder if a [Collapse Read] button makes sense. Sort of a compromise between the features. Probably invalidates the need for my script, but that's okay if it's built into the site.
I wonder if a [Collapse Read] button makes sense. Sort of a compromise between the features. Probably invalidates the need for my script, but that's okay if it's built into the site.
Hmmm, that's a neat idea and would be nice for people that don't want the feature enabled at all times. It might be hard to implement, and I don't even know if it's really possible, but I made a...
Hmmm, that's a neat idea and would be nice for people that don't want the feature enabled at all times. It might be hard to implement, and I don't even know if it's really possible, but I made a gitlab issue for it anyways: https://gitlab.com/tildes/tildes/issues/492
As long as Chad is okay with Javascript then it shouldn't be too difficult to implement. A server-side version already exists, so the logic just needs to be ported. It would probably look pretty...
As long as Chad is okay with Javascript then it shouldn't be too difficult to implement. A server-side version already exists, so the logic just needs to be ported. It would probably look pretty similar to my script's code. Make a list of all unread comments, and expand all parents by walking up the DOM tree from each.
If I get some time to play around with Vagrant I could probably implement it, if it's a desired feature.
I was more speaking to whether or not it would be ethically possible rather than technical, because of the Privacy by Design section of the Technical Goals in Tildes Docs: So even if technically...
I was more speaking to whether or not it would be ethically possible rather than technical, because of the Privacy by Design section of the Technical Goals in Tildes Docs:
2. Privacy as the default setting: If a feature has a significant privacy impact, it should always be opt-in. A brand new account shouldn't need to comb through their settings to improve their privacy—ideally a new account already has the best privacy possible.
So even if technically possible and trivial to implement, it might also have to be opt-in similar to the "Collapse old comments" feature, which would reduce its utility a bit.
Maybe it's something in my about:config settings, but Firefox isn't letting any userscript run on Tildes due to the strict CSP. Since it doesn't work for me, could you explain if there's any...
Maybe it's something in my about:config settings, but Firefox isn't letting any userscript run on Tildes due to the strict CSP. Since it doesn't work for me, could you explain if there's any difference from the Tildes Extended "jump to new comments" feature? I see your userscript has the vim-like hotkeys for jumping, but I quite like the Tildes Extended feature since it is a button that works on both desktop and mobile.
I tested with a fresh version of Firefox and had no issues. It may be an about:config issue as you suggested. I haven't used Tildes Extended so I can't comment on the differences, but it wouldn't...
I tested with a fresh version of Firefox and had no issues. It may be an about:config issue as you suggested.
I haven't used Tildes Extended so I can't comment on the differences, but it wouldn't be difficult to add a physical button instead. I'd also be happy to add support for mobile, but are there any mobile browsers that support Greasemonkey scripts?
Thanks for adding it!
In the recent score hiding thread, I was finding it harder and harder to discover new comments as the thread grew. To solve this I wrote a script which lets you jump directly to new comments.
It can be installed via Greasemonkey (Firefox) or Tampermonkey (Chrome). Though I expect any other userscript engine will work. Let me know if that's not true.
You can install just by loading the raw script file in a new tab. Navigation is by J/K hotkeys. It should work with any theme, but again let me know if something seems off.
This will require the setting "mark new comments" be enabled in your Tildes settings.
Licensed under MIT. Hope you enjoy!
The link in the sidebar that says "Last comment posted" will automatically take you to the most recent comment as well.
Yep, I discovered that earlier this week! But it's only effective when there's one new comment. When there's more than that, you need to search to find them.
Do you have the "Collapse old comments when I return to a topic" setting disabled? That makes it so everything except the new comments and their parents are collapsed, so they're all easy to see.
Hrmm, no I don't. It took me a while to actually find it on the settings page.
I'm not sure yet if I'd like that feature to be always enabled, but I'll try it out and see.
Yeah, I like the "Collapse old comments" feature, but do find it a bit annoying sometimes. However, if you have it enabled and go back to a topic with new comments in it, but don't want to view the collapsed state, you can thankfully just click the
[Expand All]
button at the top of the comment section. Easy peasy.I wonder if a
[Collapse Read]
button makes sense. Sort of a compromise between the features. Probably invalidates the need for my script, but that's okay if it's built into the site.Hmmm, that's a neat idea and would be nice for people that don't want the feature enabled at all times. It might be hard to implement, and I don't even know if it's really possible, but I made a gitlab issue for it anyways:
https://gitlab.com/tildes/tildes/issues/492
As long as Chad is okay with Javascript then it shouldn't be too difficult to implement. A server-side version already exists, so the logic just needs to be ported. It would probably look pretty similar to my script's code. Make a list of all unread comments, and expand all parents by walking up the DOM tree from each.
If I get some time to play around with Vagrant I could probably implement it, if it's a desired feature.
I was more speaking to whether or not it would be ethically possible rather than technical, because of the Privacy by Design section of the Technical Goals in Tildes Docs:
So even if technically possible and trivial to implement, it might also have to be opt-in similar to the "Collapse old comments" feature, which would reduce its utility a bit.
I think it would just inherit from the "marking new comments" toggle in settings already?
Yeah, that's true, it could just be tied to that already existing setting.
Maybe it's something in my
about:config
settings, but Firefox isn't letting any userscript run on Tildes due to the strict CSP. Since it doesn't work for me, could you explain if there's any difference from the Tildes Extended "jump to new comments" feature? I see your userscript has the vim-like hotkeys for jumping, but I quite like the Tildes Extended feature since it is a button that works on both desktop and mobile.I tested with a fresh version of Firefox and had no issues. It may be an about:config issue as you suggested.
I haven't used Tildes Extended so I can't comment on the differences, but it wouldn't be difficult to add a physical button instead. I'd also be happy to add support for mobile, but are there any mobile browsers that support Greasemonkey scripts?
Fennec (Firefox for Android) comes to mind.