dong.nguyen
939260e4fb
feat(i18n): per-entity content, per-group UI, page manifests (spec-v4-data-organization)
...
- split content.json -> content/{profile,skills,experience,projects}.json and
ui.json -> 14 feature-group files (vi+en); index.ts merges both trees and
asserts the merge against the group lists; merged CONTENT verified
byte-identical against pre-split baseline dumps
- src/data/pages/*.json: 8 per-route manifests + pages.ts loader +
PageId/PageManifestClaim/PageManifest types; validate.ts rules 1-4 (unknown
entity, unknown ui group, unresolvable field path, orphan text field,
missing manifest) - all five rejects verified by a throwaway harness
- draft.ts: data-driven registry of the 12 writable documents (4 structure +
8 text); describeField() names the per-entity file; smoke-draft fixtures
follow the new registry (8/8)
- EditBar: 'appears on' page annotations computed from the manifests
- remove JsonPanel.tsx + panel labels (inline-editing task 8); docs: AGENTS.md
Data Layer / Live Edit Mode / Component Structure, v4 spec progress tables
2026-10-23 10:55:29 +07:00
dong.nguyen
0a72cd9b58
feat(edit): inline editing controls on every record surface (spec-v4-inline-editing §5 steps 1-7)
...
- EditableText: wrapper zone + pencil trigger (E6), inline validation errors,
provenance tooltip + copy-chip (E7)
- TagListEditor: per-chip edit/delete/move + ghost add over all six tag
arrays, tagline emphasis toggle
- RecordControls + AddGhost on About, AboutPage, Expertise, Experience,
ExperiencePage, Projects, ProjectsListPage, ProjectDetailPage (incl.
sections), PhilosophyPage; RecordSettings popover (featured, section list
with type picker, variant, location, logo)
- id-slug rename on committed record titles (E3); per-field conflict UI in
EditBar; chrome CSS in App.css; labels in both ui.json
- JsonPanel kept until the inline surface is verified in a real browser
(spec progress row 8); acceptance §6 partial — build, validate:content,
lint, smoke-draft pass 2026-10-23
2026-10-23 09:36:59 +07:00
dong.nguyen
6482c993e8
feat(edit): live edit mode with draft store, inline editing, JSON panel, save bar, branch targeting
...
?edit entry with Basic-auth probe; DraftStore copy-on-write over live
branch documents (?ref GET / branch PUT, last_commit_sha optimistic
concurrency, three-way rebase on 412); EditableText inline editors;
JsonPanel with templates and orphan-free delete; EditBar sequential-PUT
save with conflict actions and merge hint on non-master branches.
scripts/smoke-draft.ts regression check.
2026-10-22 09:55:24 +07:00