AP0.8: Operating Model Extension I (Attention, Blocker, Backlog, Milestone)
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 58s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 58s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Schema 007, regelbasierte Attention/NextAction im Data Layer, CRUD fuer Blocker/Backlog/Meilensteine, Workspace-Widget und Initiative-Detail-Sektionen. 25 Capabilities. Tests fuer Remote-Pytest auf Pi angepasst (conftest Session-Guard). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6dd9dd4f62
commit
fe3bc4f057
39 files changed
+4333
-22
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function getAttentionItems() {
|
||||
return apiFetch('/api/workspace/attention')
|
||||
}
|
||||
|
||||
export function getNextActionCandidates(limit = 10) {
|
||||
return apiFetch(`/api/workspace/next-actions?limit=${limit}`)
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeBacklog(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/backlog`)
|
||||
}
|
||||
|
||||
export function createInitiativeBacklogItem(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/backlog`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateBacklogItem(backlogItemId, body) {
|
||||
return apiFetch(`/api/backlog/${backlogItemId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteBacklogItem(backlogItemId) {
|
||||
return apiFetch(`/api/backlog/${backlogItemId}`, { method: 'DELETE' })
|
||||
}
|
||||
|
||||
export function convertBacklogToAction(backlogItemId, body = {}) {
|
||||
return apiFetch(`/api/backlog/${backlogItemId}/convert-to-action`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeBlockers(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/blockers`)
|
||||
}
|
||||
|
||||
export function createInitiativeBlocker(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/blockers`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateBlocker(blockerId, body) {
|
||||
return apiFetch(`/api/blockers/${blockerId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteBlocker(blockerId) {
|
||||
return apiFetch(`/api/blockers/${blockerId}`, { method: 'DELETE' })
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeMilestones(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/milestones`)
|
||||
}
|
||||
|
||||
export function createInitiativeMilestone(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/milestones`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateMilestone(milestoneId, body) {
|
||||
return apiFetch(`/api/milestones/${milestoneId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteMilestone(milestoneId) {
|
||||
return apiFetch(`/api/milestones/${milestoneId}`, { method: 'DELETE' })
|
||||
}
|
||||
Reference in new issue
Block a user