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

Multiple entries: Disallowing setting entries as "Finished" if they got validation warnings #1833

Open
andreoda opened this issue Nov 10, 2024 · 4 comments
Labels
adding/editing entries Adding/Editing entries (artists, songs, albums, tags, song lists, events) complexity: unknown Unknown days of work content: albums Album entries content: events Event entries content: songs Song entries content: tags Tag entries content: users Users (account/profile), user settings feature request feedback-wanted Feedback and further discussion needed (open questions) moderation Moderator or trusted user actions/tasks permissions User permissions priority: low Issues/Tasks that are not so important warnings/pop-ups Validation warnings and other info pop-ups

Comments

@andreoda
Copy link
Member

Users can set entries as "Finished" even if they have entry warnings.

For example:
https://vocadb.net/S/677428
Warning: This entry is missing the following information: Derived songs need to have an original version specified, if it's in the database, or the original needs to be mentioned in notes.

To reduce problems like these, the entries should only be closing as "Draft" status automatically (appear as the only option).

This feature/rule should only set in if the user is a "Regular". "Trusted" users and above should still be able to set entries as "Finished" due to exceptions, for example cover unifier entries.

@andreoda andreoda added priority: low Issues/Tasks that are not so important content: tags Tag entries moderation Moderator or trusted user actions/tasks content: events Event entries content: songs Song entries content: users Users (account/profile), user settings content: albums Album entries permissions User permissions adding/editing entries Adding/Editing entries (artists, songs, albums, tags, song lists, events) complexity: unknown Unknown days of work warnings/pop-ups Validation warnings and other info pop-ups feature request labels Nov 10, 2024
@Susko3
Copy link
Collaborator

Susko3 commented Nov 11, 2024

What should happen if a regular user tries to edit and save a "Finished" song that has entry warnings?

@andreoda
Copy link
Member Author

andreoda commented Nov 11, 2024

@Susko3
As of now, nothing happens and everyone can save entries as "Finished" so if this feature gets added, the only options for regular users will be to save as "Draft", the other options will not be available for them as long as entry warnings are still active/appearing.
Trusted, mods and admins will be excluded from this rule.

Entries that are set as "Finished" and still have entry warnings are rare. Usually only trusted+ should edit those anyway.

The rule can of course ignore specific entry/validation warnings or entries with specific tags. I have not yet thought about which ones but we can discuss those here.

@andreoda andreoda added the feedback-wanted Feedback and further discussion needed (open questions) label Nov 11, 2024
@Susko3
Copy link
Collaborator

Susko3 commented Nov 11, 2024

So if a regular user tries to edit a forced "Finished" song (set as such by a trusted user), let's say they are fixing a typo in a cover unifier. The entry will "automatically" get downgraded to "Draft". That doesn't seem right to me.

If a trusted user has force-marked a song as finished, regular user edits shouldn't automatically downgrade the entry to draft status.

I think it makes more sense to allow the song to be kept as finished if it already is in such a state.

@andreoda
Copy link
Member Author

andreoda commented Nov 11, 2024

@Susko3
There is also the option to introduce a rule that all entries with the cover unifier tag do not get the specific entry/validation warnings.
For example they would not receive the warning for missing artists if they have the tag "out of scope (cover unifier)".

@andreoda andreoda changed the title Disallowing setting entries as "Finished" if they got entry warnings Multiple entries: Disallowing setting entries as "Finished" if they got validation warnings Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adding/editing entries Adding/Editing entries (artists, songs, albums, tags, song lists, events) complexity: unknown Unknown days of work content: albums Album entries content: events Event entries content: songs Song entries content: tags Tag entries content: users Users (account/profile), user settings feature request feedback-wanted Feedback and further discussion needed (open questions) moderation Moderator or trusted user actions/tasks permissions User permissions priority: low Issues/Tasks that are not so important warnings/pop-ups Validation warnings and other info pop-ups
Projects
Development

No branches or pull requests

2 participants