Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds settings to control the visibility of comment and invited comment features #4359

Closed
wants to merge 6 commits into from

Conversation

ajrbyers
Copy link
Member

This PR closes #3097

  • Adds two new settings to control visibility of comment and invited comment features
  • Adds a new decorator (with tests) that can check if a repository setting is enabled
  • Adds logic to the repository_preprint view to block comments when the feature is disabled

Comments block removed:
image

Manage Reviewers Removed:
image

Comments Controls Removed:
Screenshot 2024-08-13 at 15 27 24

@ajrbyers ajrbyers requested a review from mauromsl August 13, 2024 14:27
@mauromsl mauromsl requested review from joemull and removed request for mauromsl August 15, 2024 08:34
@joemull joemull assigned joemull and unassigned mauromsl Aug 15, 2024
@joemull joemull closed this Aug 16, 2024
@joemull joemull deleted the 3097 branch August 16, 2024 10:19
@joemull
Copy link
Member

joemull commented Aug 16, 2024

@ajrbyers GitHub closed this PR when I renamed the branch. Would you mind re-opening a new PR and handling the conflicts in the template? There are also potentially conflicts in migrations as you said there would be.

@ajrbyers
Copy link
Member Author

@ajrbyers GitHub closed this PR when I renamed the branch. Would you mind re-opening a new PR and handling the conflicts in the template? There are also potentially conflicts in migrations as you said there would be.

Its over here now: #4365

Dealing with conflicts now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preprints: Add toggle setting for Comments, Invited Comments, and Registered Reviewers
3 participants