Skip to content

Conversation

@patillacode
Copy link
Contributor

@patillacode patillacode commented Jan 8, 2019

Fixes #2

As commented on issue #2 this would have a better behaviour out of the box.

By default:

  • submitters would have comment mode enabled
  • reviewers would have respond mode enabled
  • users would have view mode enabled

Settings variables to modify default behaviour have been enabled:

  • WAGTAIL_REVIEW_DEFAULT_SUBMITTER_MODE
  • WAGTAIL_REVIEW_DEFAULT_REVIEWER_MODE
  • WAGTAIL_REVIEW_DEFAULT_USER_MODE

The README has been edited to explain this better.
I felt this was one of the issues I had when I first looked at the code and I thought the README changes could help better understand the functionality.

@tomdyson
Copy link
Contributor

What do you think of this, @gasman?

@patillacode
Copy link
Contributor Author

Hi again!

Just for clarification, I have to say that when accessing the review via the sent link to someone to review, the expected behaviour is there (nice modal appears by default), so it is not that the plugin doesn't work.

My PR just makes it a bit more customizable via settings variables and expands the nice behaviour by default to more cases, not only when accessing via the sent link.

@patillacode
Copy link
Contributor Author

PR reopened from the correct branch in my fork.
#6

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.

2 participants