feat(lists): drag tasks and list entries onto another list; remember open list and view; live pill in lists
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m3s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m3s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6abcfa655b
commit
25bb787a8e
13 files changed
+298
-52
No files matched your search
@@ -994,6 +994,13 @@ export const api = {
|
||||
await request(`/api/v1/lists/${listId}/items/${itemId}`, { method: 'DELETE' });
|
||||
},
|
||||
|
||||
async moveListItem(listId: string, itemId: string, targetListId: string): Promise<ListItem> {
|
||||
return request<ListItem>(`/api/v1/lists/${listId}/items/${itemId}/move`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ targetListId }),
|
||||
});
|
||||
},
|
||||
|
||||
async clearCompletedItems(listId: string): Promise<{ removed: number }> {
|
||||
return request<{ removed: number }>(`/api/v1/lists/${listId}/clear-completed`, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in new issue
Block a user