GitHub-userscripts
GitHub-userscripts copied to clipboard
Deals rather badly with cancelled comments
- create comment (with [+])
- hide all comments in file
- show comments
- cancel comment created at [1]
- hide comments again
Expected: no comment
Observed: a hidden comment mark with 0 next to it, seemingly impossible to get rid of without reloading the page entirely
Hi @xmo-odoo!
Same here... I didn't get around to troubleshooting & fixing the problem this weekend.
So when you hide all comments, this userscript is using the built-in setting to hide all comments, so that behavior hasn't changed. I'm not able to duplicate the mentioned problem anymore - maybe I'm missing something?
What I did fix was collapsed comments no longer collapse open editors.
Please let me know if you're still having this issue. If not, please close this issue. If it does still exist, please update the steps to reproduce the problem (if needed) and I'll take a look again soon.
@Mottie issue doesn't occur anymore, though possibly because the "hidden comments" marker is gone? I think when I tested originally if comments were hidden (actually hidden not collapsed) there would be a gutter icon with the number of hidden comments at that point, and when a comment was cancelled that gutter icon was left with a count of 0.
I should have taken a screenshot, sorry about that.