Editor (<kweb-editor>)
Purpose
Create and edit nodes and links inside the app, without external tools.
Inputs
Events listened to
kweb:selection-changed (edit current node)
kweb:web-switch
- optional “open editor” UI events local to app shell
Data required
- current web model
- selected node/link
Outputs
Events emitted
kweb:node-create, kweb:node-update, kweb:node-delete
kweb:link-create, kweb:link-update, kweb:link-delete
UI and interactions
- Side panel editor is preferred.
- Edit title, kind, summary, body, time, location.
- Create connected node from current node.
- Create link between two nodes (pick target, type, label, description).
Validation
- Basic required fields, clear error states.
- Confirm destructive actions.
Definition of done
- [ ] Can create a node connected to selected node.
- [ ] Can edit summary/body and save.
- [ ] Can create and edit a link description.
- [ ] Changes appear immediately in graph and bio.
✒️
edit (requires access)