WorkUnitEditor
The editor of one work unit in the spec workspace.
| Inherits | QWidget |
| Group | libtrove |
In the namespace octomy::trove::workspace. Declared in src/libs/libtrove/trove/workspace/WorkUnitEditor.hpp.
Detailed description
The detail pane of trove-spec-workspace §SW-3 when a work unit is selected. Only a work unit carries prose (§SW-4), so this is the one place where the workspace edits. It holds:
- The title.
- The instruction, in a
markdown::MarkdownEditorfed from the row and not from a file (§RES-6). Its save, Ctrl+S included, comes here. - The Definition of Done.
- The status, the holder of the claim, and the lane that Run this uses.
- The actions Save, Revert and Run this, as large icon-topped buttons in a FlowLayout (code-ui.md).
Each write goes through SpecWorkspaceActions, that is through the spec.* and trove.* tasks (§SW-5). The editor has no write path of its own. A refusal, for example of an empty Definition of Done, shows on the message line and the edits stay, so nothing typed is lost.
See also SpecWorkspace, SpecWorkspaceActions, markdown::MarkdownEditor.