reddit-comment-highlights icon indicating copy to clipboard operation
reddit-comment-highlights copied to clipboard

When changing sort mode in a thread, highlights are lost

Open aesy opened this issue 7 years ago • 0 comments

Potential solutions:

  • Track last thread and don't update visit timestamp if current thread is the same as the last. Why good: Easy to implement. Why bad: Would make it so that refreshing a page to see new comments wouldn't work anymore. Could also track sorting mode to circumvent this.

  • Save multiple thread visit timestamps and let user pick which to use for highlights. Why good: Flexible. Why bad: Tedious to implement. Would require injecting UI components and reevaluating highlights.

aesy avatar Dec 31 '17 14:12 aesy