mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Five more of the features other kanban apps call AI, done with plain code (docs/Features/General/Assistants/Assistants.md): - Board menu -> Summary: what each person did in the last day or week - done, moved, added, commented - and what they have overdue, from the activities and History; Copy as text gives Markdown with card links. - Board menu -> Since your last visit (N): what others changed since the visit before this one, by card. The visit is kept in profile.boardVisits, at most 500 boards. - At risk: a weighted score of overdue, due soon with little done, blocked, idle in a middle list and sent back; a triangle on the minicard and the reasons in the opened card. - Suggested members in the Members and Assignees popups, from who handles the same labels, list and swimlane. - Forecast done date: the 50th and 85th percentile of the board's cycle times, counting only the cards that took at least as long as this one has been open. The server sends the times once per board, numbers only. Summary and Since your last visit are features of Admin Panel / Settings / Visibility / Features; At risk, Suggested members and Forecast are rows of Board Settings / Card and of the Admin Panel's Card fields. Every server answer applies the board's read rules and the assigned-only role. Translated in every language. The guards of the earlier helpers are brought up to date as well: the date words of models/lib/titleDueDate.js are a reviewed RegExp site, server/methods/ruleSuggestions.js is a board-admin-only path, the Rules page's list branch carries the suggestions, and Tigre's new strings use its own word for a board. Thanks to xet7 !
49 lines
909 B
CSS
49 lines
909 B
CSS
/* Board menu -> Summary (sidebarSummary.jade). */
|
|
.board-summary-controls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.board-summary-controls button {
|
|
margin: 0;
|
|
padding: 4px 10px;
|
|
color: #333;
|
|
background: #fff;
|
|
border: 1px solid #bbb;
|
|
border-radius: 4px;
|
|
}
|
|
.board-summary-controls button.is-active {
|
|
color: #fff;
|
|
background: #01628c;
|
|
border-color: #01628c;
|
|
}
|
|
.board-summary-person {
|
|
margin-bottom: 14px;
|
|
}
|
|
.board-summary-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin: 0 0 4px;
|
|
font-size: 1em;
|
|
}
|
|
.board-summary-group {
|
|
margin: 2px 0 6px;
|
|
}
|
|
.board-summary-group-name {
|
|
font-weight: bold;
|
|
font-size: 0.9em;
|
|
}
|
|
.board-summary-overdue .board-summary-group-name {
|
|
color: #b00020;
|
|
}
|
|
.board-summary-cards {
|
|
list-style: none;
|
|
margin: 2px 0 0;
|
|
padding-inline-start: 12px;
|
|
}
|
|
.board-summary-cards li {
|
|
overflow-wrap: anywhere;
|
|
}
|