AP0.10b: Steering UI Minimum — Next Actions, Heute, Snapshot v2
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 1m13s
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 15s
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 1m13s
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 15s
Workspace beantwortet die Leitfrage mit prominenten Next-Action- und Heute-Widgets sowie erweitertem Steuerungszustand pro Vorhaben. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6ea663b4c4
commit
451d62ed46
20 files changed
+892
-21
No files matched your search
@@ -11,6 +11,8 @@ describe('widgetRegistry', () => {
|
||||
expect(keys).toContain('kairo.blocked_actions')
|
||||
expect(keys).toContain('kairo.tenant_context')
|
||||
expect(keys).toContain('kairo.workspace_summary')
|
||||
expect(keys).toContain('kairo.next_actions')
|
||||
expect(keys).toContain('kairo.workspace_today')
|
||||
expect(keys).toContain('kairo.attention')
|
||||
})
|
||||
|
||||
@@ -20,7 +22,7 @@ describe('widgetRegistry', () => {
|
||||
'kairo.initiative.read',
|
||||
'kairo.workspace.read',
|
||||
])
|
||||
expect(all.length).toBe(6)
|
||||
expect(all.length).toBe(8)
|
||||
|
||||
const readOnly = getWidgetsForArea('workspace', ['kairo.initiative.read'])
|
||||
expect(readOnly.some((w) => w.key === 'kairo.my_open_actions')).toBe(false)
|
||||
|
||||
@@ -4,6 +4,8 @@ import { BlockedActionsWidget } from '../widgets/BlockedActionsWidget.jsx'
|
||||
import { TenantContextWidget } from '../widgets/TenantContextWidget.jsx'
|
||||
import { WorkspaceSummaryWidget } from '../widgets/WorkspaceSummaryWidget.jsx'
|
||||
import { AttentionWidget } from '../widgets/AttentionWidget.jsx'
|
||||
import { NextActionWidget } from '../widgets/NextActionWidget.jsx'
|
||||
import { WorkspaceTodayWidget } from '../widgets/WorkspaceTodayWidget.jsx'
|
||||
|
||||
/** @typedef {import('react').ComponentType<any>} WidgetComponent */
|
||||
|
||||
@@ -28,6 +30,24 @@ export const WIDGETS = [
|
||||
defaultOrder: 0,
|
||||
component: TenantContextWidget,
|
||||
},
|
||||
{
|
||||
key: 'kairo.next_actions',
|
||||
title: 'Nächste Schritte',
|
||||
description: 'Regelbasierte NextAction-Empfehlungen',
|
||||
area: 'workspace',
|
||||
requiredCapability: 'kairo.workspace.read',
|
||||
defaultOrder: 2,
|
||||
component: NextActionWidget,
|
||||
},
|
||||
{
|
||||
key: 'kairo.workspace_today',
|
||||
title: 'Heute',
|
||||
description: 'Meine Maßnahmen — überfällig zuerst',
|
||||
area: 'workspace',
|
||||
requiredCapability: 'kairo.workspace.read',
|
||||
defaultOrder: 4,
|
||||
component: WorkspaceTodayWidget,
|
||||
},
|
||||
{
|
||||
key: 'kairo.workspace_summary',
|
||||
title: 'Überblick',
|
||||
@@ -52,7 +72,7 @@ export const WIDGETS = [
|
||||
description: 'Offene Maßnahmen, die mir zugewiesen sind',
|
||||
area: 'workspace',
|
||||
requiredCapability: 'kairo.action.read',
|
||||
defaultOrder: 10,
|
||||
defaultOrder: 25,
|
||||
component: MyOpenActionsWidget,
|
||||
},
|
||||
{
|
||||
@@ -61,7 +81,7 @@ export const WIDGETS = [
|
||||
description: 'Mir zugewiesene blockierte Maßnahmen',
|
||||
area: 'workspace',
|
||||
requiredCapability: 'kairo.action.read',
|
||||
defaultOrder: 20,
|
||||
defaultOrder: 35,
|
||||
component: BlockedActionsWidget,
|
||||
},
|
||||
{
|
||||
@@ -70,7 +90,7 @@ export const WIDGETS = [
|
||||
description: 'Aktive und pausierte Vorhaben im Tenant',
|
||||
area: 'workspace',
|
||||
requiredCapability: 'kairo.initiative.read',
|
||||
defaultOrder: 30,
|
||||
defaultOrder: 40,
|
||||
component: InitiativesWidget,
|
||||
},
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user