Adds settings to control the visibility of comment and invited comment features#4365
Conversation
|
cda4866 to
cf80a8b
Compare
There was a problem hiding this comment.
I'm getting conflicting migrations:
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0045_historicalrepository_display_public_metrics_and_more, 0045_historicalrepository_enable_comments_and_more in repository).
cf80a8b to
1d6af40
Compare
|
Picking up on this @ajrbyers, it has a migration graph error:
But we can now rebase it on master and the migrations should run. I'll then test it and approve it. |
joemull
left a comment
There was a problem hiding this comment.
See comment above on migration graph error; should be possible to fix with rebase.
1d6af40 to
1789cea
Compare
|
Change required - when comments are disabled, invited comments also do not show. When comments are enabled both comments and invited comments both show. Currently So the logic of the filters needs to change. if comments -> show comments they need to be independent. |
There was a problem hiding this comment.
| Comments | Invited comments | Test Results |
|---|---|---|
| 0 | 0 | ✅ |
| 1 | 0 | ✅ |
| 1 | 1 | ✅ |
| 0 | 1 | ❌ |
Text Box to add non-invited comments appears when only invited comments are switched on. On entering a comment, then a toast appears stating the comment feature is disabled. But only after writing it and clicking to add it.

When both sets of comments are off, the comment box does not show at all, and I think that should be the same for all times when non-invited comments are off.
😄 |
This PR closes #3097
repository_preprintview to block comments when the feature is disabledComments block removed:

Manage Reviewers Removed:

Comments Controls Removed:
