Skip to content

BUG: Reply reaction counts are not real time #248

Description

@b-rad-c

Reaction counts for replies are mostly real time with some exceptions, if the reply did not return a reaction count for that reaction and the user adds it it will not be counted.

Reproduce

  • load a thread page with at least 1 reply that does not contain a reaction
  • add any reaction to that reply
  • the unreact button will show but the counts will not adjust

Solution
look at main post counts implementation, we need to have a variable containing all the counts. On server load, adjust each one. On react/unreact we should add/sub from the corresponding reaction counts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions