Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: retire unused client todo wrapper (#7739)

[._.]/ Adam Eivy006e0500a107
diff --git a/client/src/pages/Review.test.jsx b/client/src/pages/Review.test.jsx
index 841f2c1b11..5bb894314d 100644
--- a/client/src/pages/Review.test.jsx
+++ b/client/src/pages/Review.test.jsx
@@ -65,7 +65,6 @@ vi.mock('../services/api', () => ({
createThread: vi.fn(() => Promise.resolve({ id: 'thread-1', title: 'New action' })),
getThread: vi.fn(() => Promise.resolve({ id: 'thread-1', title: 'New action', status: 'open' })),
updateThread: vi.fn(() => Promise.resolve({ id: 'thread-1', title: 'Updated action', status: 'open' })),
- createReviewTodo: vi.fn(() => Promise.resolve({})),
completeReviewItem: vi.fn(() => Promise.resolve({})),
dismissReviewItem: vi.fn(() => Promise.resolve({})),
deleteReviewItem: vi.fn(() => Promise.resolve({})),
@@ -261,7 +260,6 @@ describe('Actions commitments workspace (#7739)', () => {
{ title: 'Track the example follow-up' },
{ silent: true },
));
- expect(api.createReviewTodo).not.toHaveBeenCalled();
});
it('opens a newly added thread in a view where an open commitment is visible', async () => {
diff --git a/client/src/services/apiReview.js b/client/src/services/apiReview.js
index ccf5bd0713..6848d97bcc 100644
--- a/client/src/services/apiReview.js
+++ b/client/src/services/apiReview.js
@@ -33,10 +33,6 @@ export const promoteAskReviewQueueItem = (id, target, { goalId, ...options } = {
body: JSON.stringify({ id, target, ...(goalId ? { goalId } : {}) }),
...options
});
-export const createReviewTodo = (data) => request('/review/todo', {
- method: 'POST',
- body: JSON.stringify(data)
-});
export const updateReviewItem = (id, data, options = {}) => request(`/review/items/${id}`, {
method: 'PATCH',
body: JSON.stringify(data),