republik-frontend icon indicating copy to clipboard operation
republik-frontend copied to clipboard

Profile comment totals are off

Open pae-blue opened this issue 4 years ago • 0 comments

Bug Report

Comment totals on (very few) profile page seem off.

This is likely because unpublished comments are ommitted.

Bildschirmfoto 2021-06-29 um 16 37 48

Possible Solutions

Can't think of a soley frontend solution, but in combination with a dedicated API flag – onlyPublished – this might work.

There are 4 scenarios for a profile page comment section I can think of: a) Member should see all its own comments, even unpublished ones, on his profile page b) Member with special roles (support, admin) should see all comments, too c) Regular users should see only published comments d) User, not signed in, should just see count of published comments only

pae-blue avatar Jun 29 '21 14:06 pae-blue