Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

if all comments are hidden, no comments (not even hidden ones) are visible

Open cathysarisky opened this issue 11 months ago • 2 comments

Issue Summary

If all comments have been hidden by a site admin, the hidden comments do not appear. Making a new visible comment restores access to the hidden comments.

Steps to Reproduce

Make some comments As a site admin, hide all the comments on a post. Reload. Observe that the hidden comments are not displayed to the admin user.

Ghost Version

5.110.2

Node.js Version

20

How did you install Ghost?

local dev

Database type

SQLite3

Browser & OS version

windows 11, chrome

Relevant log / error output


Code of Conduct

  • [x] I agree to be friendly and polite to people in this repository

cathysarisky avatar Mar 03 '25 16:03 cathysarisky

Ahha. We have here a chicken and egg problem. The auth frame doesn't load if there are no comments, which means we never check to see if there are admin comments, because we never realize we have an admin. But we can't check for hidden comments without having the auth frame loaded, so... my best thinking today is that the auth frame should just always try to load. Otherwise, hiding the last comment on a post makes it impossible to revert the hiding, unless you make a visible comment first...

cathysarisky avatar Mar 10 '25 12:03 cathysarisky

Hey 👋🏾

I've just created this PR that handles that problem. Please take a look when you have time :)

kaueburiti avatar Apr 16 '25 10:04 kaueburiti

Our bot has automatically marked this issue as stale because there has not been any activity here in some time.

The issue will be closed soon if there are no further updates, however we ask that you do not post comments to keep the issue open if you are not actively working on a PR.

We keep the issue list minimal so we can keep focus on the most pressing issues. Closed issues can always be reopened if a new contributor is found. Thank you for understanding 🙂

github-actions[bot] avatar Aug 08 '25 06:08 github-actions[bot]