feat: allow automatic setting of 'done' status#7702
Conversation
|
🐢 Performance warning. |
|
🐢 Performance warning. |
|
🐢 Performance warning. |
|
@miaulalala Could you please squash your commits? Thank you for your contribution. |
f76aadf to
df1c0aa
Compare
|
🐢 Performance warning. |
|
@miaulalala Thanks, could you also update the query count in |
|
🐢 Performance warning. |
Fixes #5485 - Marking a column to set cards as done when added to it Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
7a0fd7e to
93073a7
Compare
|
@grnd-alt I switched the new endpoints to the OCS controller |
| 'deck' => [ | ||
| 'version' => $this->appManager->getAppVersion('deck'), | ||
| 'canCreateBoards' => $this->permissionService->canCreate(), | ||
| 'supportsDoneColumn' => true, |
There was a problem hiding this comment.
these capabilities are only returned for logged in users. For API requests (and federated requests) only the public capabilities will be returned. As federation is not yet published, there are no instances that have federation but no supportsDoneColumn, so we can drop this check.
| public function setsTheCurrentStackAsDoneColumn() { | ||
| $this->requestContext->sendJSONrequest( | ||
| 'PUT', | ||
| '/index.php/apps/deck/stacks/' . $this->stack['id'] . '/done', |
There was a problem hiding this comment.
this is still the non-ocs endpoint
Fixes #5485
Summary
Allow defining a column as "done" column
Video:
Screencast.from.2026-03-02.19-51-05.webm
TODO
Checklist