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
This commit is contained in:
dong.nguyen committed 2026-10-23 10:55:29 +07:00
1 parent dad5f3edd7
commit 939260e4fb
69 files changed
+1816 -1596

No files matched your search

+105
View File
@@ -0,0 +1,105 @@
{
"editField": "Edit this field",
"copyPath": "Copy JSON path",
"pathCopied": "Copied",
"emptyRequired": "Required fields cannot be empty",
"settings": "Record settings",
"closeSettings": "Close settings",
"moveUp": "Move up",
"moveDown": "Move down",
"remove": "Remove",
"removeConfirm": "Remove this item?",
"newTag": "new",
"emphasis": "Emphasis",
"featured": "Featured on the home page",
"sections": "Sections",
"sectionType": "Section type",
"sectionTypes": {
"text": "prose",
"diagram": "diagram",
"metrics": "metrics",
"code": "code"
},
"conflictFields": "Show conflicting fields",
"yours": "mine:",
"theirs": "theirs:",
"keepMine": "Keep mine",
"keepTheirs": "Keep theirs",
"variant": "Timeline variant",
"variantNone": "normal",
"variantCurrent": "current role",
"variantGap": "career break",
"addTaglineSegment": "Add tagline segment",
"addKeyword": "Add keyword",
"addInterest": "Add interest",
"addSkill": "Add skill",
"addTechnology": "Add technology",
"addMetric": "Add metric",
"addResponsibility": "Add responsibility",
"addQuoteDetail": "Add quote paragraph",
"addQuote": "Add quote",
"addProject": "Add project",
"addSection": "Add section",
"addExperience": "Add experience",
"addSkillGroup": "Add skill group",
"addPhilosophy": "Add philosophy point",
"title": "Edit mode",
"changes": "Unsaved changes",
"noChanges": "No unsaved changes",
"save": "Save",
"saving": "Saving…",
"resume": "Resume save",
"exit": "Exit",
"exitConfirm": "Discard unsaved changes?",
"changesTitle": "Changes",
"discardDoc": "Discard document",
"revert": "Revert",
"conflicts": "Conflicts",
"conflictDetail": "changed externally after this draft was taken",
"rebase": "Rebase",
"takeTheirs": "Take theirs",
"written": "written",
"conflictStatus": "conflict",
"failed": "failed",
"deployQueued": "deploy queued — the change goes live after the pipeline finishes",
"branchLabel": "target branch",
"mergeHint": "written to the branch — merge into master to deploy",
"offline": "offline — showing bundled content, save disabled",
"draftRestored": "draft restored from this session",
"unionNote": "new ids are also appended to src/types/index.ts",
"unionFailed": "could not update src/types/index.ts — finish that edit in Gitea",
"appearsHome": "home",
"appearsResume": "resume PDF",
"appearsOn": "appears on",
"fields": {
"title": "title",
"summary": "summary",
"bio": "bio",
"subtitle": "about subtitle",
"tldr": "career TL;DR",
"tagline": "tagline segment",
"groupTitle": "skill group title",
"expTitle": "role title",
"responsibility": "responsibility",
"sectionTitle": "section title",
"sectionContent": "section content",
"pointTitle": "philosophy title",
"pointDescription": "philosophy description",
"quoteTitle": "quote title",
"quoteDetail": "quote paragraph",
"company": "company",
"duration": "duration",
"projectRole": "project role",
"interests": "interest",
"skill": "skill",
"technology": "technology",
"metric": "metric",
"pointKeywords": "philosophy keyword",
"location": "location",
"logo": "logo",
"email": "email address",
"githubHandle": "GitHub handle",
"linkedinHandle": "LinkedIn handle",
"telegramHandle": "Telegram handle"
}
}