feat: definition of done per project
A project can ask that tickets reach a DONE status only with their checklist ticked (settings.checklistBeforeDone, off by default; absent when saving means unchanged). Members get a 422 telling how many steps are left; owners and admins may still close it. Settings has the switch and the ticket's checklist says when the project asks for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -268,6 +268,14 @@ const MAX_FILE_BYTES = 25 * 1024 * 1024;
|
||||
>
|
||||
}
|
||||
</h2>
|
||||
@if (
|
||||
project.workflow().settings.checklistBeforeDone &&
|
||||
facade.checklistProgress().done < facade.checklistProgress().total
|
||||
) {
|
||||
<p class="ts-checklist__rule">
|
||||
Este proyecto pide marcarla entera antes de darlo por hecho.
|
||||
</p>
|
||||
}
|
||||
@if (issue.checklist.length) {
|
||||
<ul class="ts-checklist">
|
||||
@for (item of issue.checklist; track item.id) {
|
||||
|
||||
Reference in New Issue
Block a user