diff options
| author | soryu <soryu@soryu.co> | 2026-04-30 17:06:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-30 17:06:31 +0100 |
| commit | 36f65f294ce33325a9eea9b7a8629706a4def721 (patch) | |
| tree | 37c3c47351c1c7e7b8e0ce26d1d5575b4ccbddba /makima/src/server/mod.rs | |
| parent | 2dafe938f41edbb8ceb7c6a3655c9533bb50e47d (diff) | |
| download | soryu-36f65f294ce33325a9eea9b7a8629706a4def721.tar.gz soryu-36f65f294ce33325a9eea9b7a8629706a4def721.zip | |
feat(doc-mode): rename surfaced label "Directive" → "Contract" (#109)
Stage 2: cosmetic UI rename only. Database tables, API paths, hook names,
and CLI commands all stay as 'directive' for now — we'll phase out the
existing standalone /contracts table later.
Surface changes:
- Sidebar header "Documents" → "Contracts"; root folder "directives/" →
"contracts/"; empty state "No directives yet" → "No contracts yet".
- Editor placeholders, breadcrumb header, "back to document" → "back to
contract", right-click menu header.
- NavStrip: when documentModeEnabled is on, the "Directives" link renders
as "Contracts" (href stays /directives so links don't break).
- Save bar message "saving will replan the directive" → "the contract".
No backend changes — directive.goal etc. all still work the same.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'makima/src/server/mod.rs')
0 files changed, 0 insertions, 0 deletions
