Automatic completeness of articles before starting review #304
Labels
No labels
Component: User interface
Component: Wymeditor
Help wanted
Level: Difficult
Level: Easy
Level: Moderate
Pagetype: Festival
Pagetype: Mailinglist
Pagetype: Peer reviewed article
Pagetype: Text
Privacy GDPR AVG
status: has conflicts
Status: Needs changes
Status: Needs discussion
Status: Needs review
Status: Ready to merge
Status: Waiting for response
Type: Bug
Type: Enhancement
Type: Question
Usecase: De Stadsbron
Usecase: Koppelting
Usecase: MeetjeStad
Value: Coders
Value: Security
Value: Users
Value: Visitors
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
harmen/hypha#304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, excerpts in article are completely optional. It would be good if an excerpt is required to move the status from draft to ready for review.
I can imagine a few options:
This way you don't hide parts of the user interface. In my opinion it's nice to keep buttons where there are so you don't get "lost".
This was discussed today, disabling the "start review" button and showing a message right there seemed promising. One other thought was to maybe show a checklist of things that need to be done before starting review (e.g. the article must also not be empty, probably not the method either, maybe the sources can be allowed to be empty). @tammoterhark will have a look at this and make a mockup of how this could work.
Today in the Stadsbron meeting, one additional check came up: Check requirements on configured tags (this probably means at least one tag, maybe selected from a specific subset of tags). This is hard to hardcode (the Stadsbron requires this, other instances might not), so this might need to be configurable.
This might be something we should fix before auto-generating the Stadsbron homepage, to prevent incomplete articles (e.g. no excerpt or image) from showing up on the homepage.
I've implemented this now, PR coming up. I ended up hiding the button rather than disabling it, since that was easier to implement (setting disabled on the button requires some DOM trickery and additional CSS to show it as disabled, and might need a title tag or so for additional feedback, etc.).