1.5 KiB
1.5 KiB
id, title, status, wave, depends_on, plan
| id | title | status | wave | depends_on | plan |
|---|---|---|---|---|---|
| app-status-bar-01 | Stable plugin status slots | done | 1 | docs/plans/app-status-bar/plan.md |
Stable plugin status slots
Inputs
Spec: plugin slots; frozen API; existing chat-input typed wrapper.
Files
apps/web/lib/plugins/types.tsapps/web/lib/plugins/registry.tsapps/web/components/plugins/plugin-slot.tsxapps/web/components/plugins/plugin-slot.test.tsxapps/web/components/app-status-bar/app-status-bar-plugin-slots.tsxapps/web/components/app-status-bar/app-status-bar-plugin-slots.test.tsx
Acceptance
- Export exact
AppStatusBarSlotProps; left/right wrappers forward current context, presentation, density, and placement to their matching slots. - Registry exposes stable owned registrations (
registrationId,pluginId,Component) while oldgetSlotComponentscallers remain compatible. - Error boundaries use stable registration identity and owner/slot context; removing a failed first plugin cannot poison a healthy following plugin.
Verification
cd apps && pnpm --filter @kandev/web test -- components/plugins/plugin-slot.test.tsx components/app-status-bar/app-status-bar-plugin-slots.test.tsx
Output contract
Report changed files, red/green commands, compatibility result, and blockers. Mark task frontmatter and plan row done only after tests pass.