Skip to content

Change the behaviour of the Comment Poll #233

Description

@viktorsmari

Problem:
All comments are polled every 3 seconds from the /api/.
They are always re-rendered, no matter what.

  • This is annoying if you are reading a comment that can be scrolled sideways.
  • This is annoying if you are trying to select / highlight text, in order to copy it.

Screenshot:
2019-09-02_09-13-35

Video:
https://imgur.com/a/5pAs3oK

How to reproduce:
Try reading the first comment and scroll it sideways. https://x.piratar.is/polity/1/issue/408/
Try highlighting any text in comment and wait 2-3 seconds.

Possible solutions:
Only re-render comments that have changed, or are new.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions