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
@@ -11,14 +11,17 @@ describe('widgetRegistry', () => {
|
||||
expect(keys).toContain('kairo.blocked_actions')
|
||||
expect(keys).toContain('kairo.tenant_context')
|
||||
expect(keys).toContain('kairo.workspace_summary')
|
||||
expect(keys).toContain('kairo.attention')
|
||||
})
|
||||
|
||||
it('filters widgets by capability', () => {
|
||||
const all = getWidgetsForArea('workspace', [
|
||||
'kairo.action.read',
|
||||
'kairo.initiative.read',
|
||||
'kairo.workspace.read',
|
||||
'kairo.attention.read',
|
||||
])
|
||||
expect(all.length).toBe(4)
|
||||
expect(all.length).toBe(6)
|
||||
|
||||
const readOnly = getWidgetsForArea('workspace', ['kairo.initiative.read'])
|
||||
expect(readOnly.some((w) => w.key === 'kairo.my_open_actions')).toBe(false)
|
||||
|
||||
@@ -3,6 +3,7 @@ import { InitiativesWidget } from '../widgets/InitiativesWidget.jsx'
|
||||
import { BlockedActionsWidget } from '../widgets/BlockedActionsWidget.jsx'
|
||||
import { TenantContextWidget } from '../widgets/TenantContextWidget.jsx'
|
||||
import { WorkspaceSummaryWidget } from '../widgets/WorkspaceSummaryWidget.jsx'
|
||||
import { AttentionWidget } from '../widgets/AttentionWidget.jsx'
|
||||
|
||||
/** @typedef {import('react').ComponentType<any>} WidgetComponent */
|
||||
|
||||
@@ -36,6 +37,15 @@ export const WIDGETS = [
|
||||
defaultOrder: 5,
|
||||
component: WorkspaceSummaryWidget,
|
||||
},
|
||||
{
|
||||
key: 'kairo.attention',
|
||||
title: 'Aufmerksamkeit',
|
||||
description: 'Regelbasierte Attention-Items',
|
||||
area: 'workspace',
|
||||
requiredCapability: 'kairo.attention.read',
|
||||
defaultOrder: 8,
|
||||
component: AttentionWidget,
|
||||
},
|
||||
{
|
||||
key: 'kairo.my_open_actions',
|
||||
title: 'Meine offenen Maßnahmen',
|
||||
|
||||
Reference in new issue
Block a user