mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
The last three of the features other kanban apps call AI, done with plain
code (docs/Features/General/Assistants/Assistants.md):
- Checklists -> From description: the list lines of a card's description
("- ", "* ", "1. ", task boxes; never inside code blocks) previewed, then
made into a checklist - ticked where the line was [x] - or into subtasks
through addSubtaskCard.
- Create cards from action items, on a comment and in the card menu for its
description: "TODO: ...", "- [ ] ..." and "@user ..." lines become cards
at the top of the card's list, linking back to it, with the mentioned
user as member when they are an active board member.
- Global search understands plain phrases in the reader's language - "my
overdue cards", "due this week", "unassigned cards" and seven more - and
runs them as its operators, saying which; a query with an operator in it
is never rewritten.
Checklist from description and Action items are Show on Card rows of Board
Settings / Card and of the Admin Panel's Card fields; Search phrases is an
Admin Panel / Settings / Visibility / Features tick. Translated in every
language.
Thanks to xet7 !
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
//- Checklist or subtasks from a card's description
|
|
//- (docs/Features/Cards/Checklist-From-Description.md), and cards from the
|
|
//- action items of a comment or a description (docs/Features/Cards/Action-Items.md).
|
|
//- Both show what they found first; nothing is made until a button is pressed.
|
|
template(name="checklistFromDescriptionPopup")
|
|
if items.length
|
|
ul.from-text-list
|
|
each items
|
|
li
|
|
if checked
|
|
i.fa.fa-check-square-o
|
|
else
|
|
i.fa.fa-square-o
|
|
span.from-text-title= title
|
|
.from-text-buttons
|
|
button.primary.js-make-description-checklist(type="button") {{_ 'make-checklist'}}
|
|
if currentBoard.allowsSubtasks
|
|
button.js-make-description-subtasks(type="button") {{_ 'make-subtasks'}}
|
|
else
|
|
p.quiet {{_ 'no-results'}}
|
|
|
|
template(name="actionItemsPopup")
|
|
if items.length
|
|
ul.from-text-list
|
|
each items
|
|
li
|
|
label.from-text-choice
|
|
input.js-action-item(type="checkbox" checked="checked" data-index=index)
|
|
span.from-text-title= title
|
|
if username
|
|
span.from-text-member.quiet @{{username}}
|
|
.from-text-buttons
|
|
button.primary.js-create-action-items(type="button") {{_ 'create'}}
|
|
else
|
|
p.quiet {{_ 'no-results'}}
|