All checks were successful
CD / Build and push images (push) Successful in 3m2s
CI / Lint, typecheck, test (push) Successful in 2m15s
CI / Auth e2e pack (push) Successful in 2m42s
CI / Build container images (push) Has been skipped
CD / Deploy to Test (push) Successful in 8s
CD / Smoke tests against Test (push) Successful in 1m13s
CD / Promote to Int (push) Successful in 11s
Introduce Obsidian-style `[[page links]]` (ADR 0004).
- shared: reserved `wikilink` inline atom in the editor schema (attrs
`targetSlug`, optional `displayText`); markdown mapping `[[slug]]` /
`[[slug|text]]` via a markdown-it inline rule + serializer node; plain-text
and HTML derivation include the shown text. Round-trip + parse unit tests.
- web:
- `Wikilink` node extension with a React NodeView: shows the explicit
display text or the target's current title (so a rename updates the link),
renders a missing target as a dashed phantom with a tooltip, navigates on
click in read mode.
- `[[` autocomplete popup (`WikilinkAutocomplete`), dependency-free: filters
the pond's pages as you type with a create-new-page hint for misses,
Enter/click inserts the node and removes the typed `[[query`; ↑/↓/Enter/Esc
intercepted in the capture phase so ProseMirror does not act on them.
- `WikilinkContext` provides the pond's pages (slug→title) for live
resolution and the autocomplete, populated by the page editor.
- i18n `editor.wikilink.*` (de + en); wikilink + phantom + popup styles.
- e2e `wikilink.spec.ts` (new CI pack): type `[[`, autocomplete filters and
inserts a working link that resolves the target title and persists across a
reload. Phantom → live resolution on page creation is verified in #47.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PGdhRiwU1WRL4XxJfZYipY
136 lines
4.3 KiB
JSON
136 lines
4.3 KiB
JSON
{
|
|
"title": {
|
|
"placeholder": "Untitled page"
|
|
},
|
|
"mode": {
|
|
"edit": "Edit",
|
|
"view": "Read",
|
|
"toggleToEdit": "Switch to edit mode",
|
|
"toggleToView": "Switch to read mode"
|
|
},
|
|
"connection": {
|
|
"connecting": "Connecting …",
|
|
"connected": "Live",
|
|
"reconnecting": "Reconnecting …",
|
|
"offline": "Offline — your changes will sync when you reconnect"
|
|
},
|
|
"readOnly": {
|
|
"notice": "You have read-only access to this page, so you can't edit it."
|
|
},
|
|
"tooLarge": {
|
|
"notice": "This page has reached its maximum size, so your latest change wasn't saved. Please remove some content."
|
|
},
|
|
"presence": {
|
|
"label": "{{count}} people on this page",
|
|
"viewer": "{{name}} (read-only)"
|
|
},
|
|
"offline": {
|
|
"localOnly": "This page has changes saved only on this device. They'll sync automatically when you're back online."
|
|
},
|
|
"accessRevoked": {
|
|
"title": "Your edit permission was removed",
|
|
"description": "You can no longer edit this page. Your unsaved changes are still on this device — export them before you leave, as they won't be saved to the server.",
|
|
"copy": "Copy as Markdown",
|
|
"copied": "Copied!",
|
|
"copyFailed": "Copy failed",
|
|
"download": "Download as Markdown",
|
|
"discard": "Discard my changes",
|
|
"discardConfirm": "Discard the changes saved on this device? This cannot be undone."
|
|
},
|
|
"toolbar": {
|
|
"paragraph": "Paragraph",
|
|
"heading1": "Heading 1",
|
|
"heading2": "Heading 2",
|
|
"heading3": "Heading 3",
|
|
"heading4": "Heading 4",
|
|
"bold": "Bold",
|
|
"italic": "Italic",
|
|
"code": "Inline code",
|
|
"strikethrough": "Strikethrough",
|
|
"bulletList": "Bullet list",
|
|
"orderedList": "Numbered list",
|
|
"taskList": "Task list",
|
|
"blockquote": "Quote",
|
|
"codeBlock": "Code block",
|
|
"horizontalRule": "Horizontal rule",
|
|
"image": "Insert image",
|
|
"undo": "Undo",
|
|
"redo": "Redo",
|
|
"link": {
|
|
"add": "Add link",
|
|
"edit": "Edit URL",
|
|
"remove": "Remove link",
|
|
"openNewTab": "Open in new tab",
|
|
"urlLabel": "Link URL",
|
|
"apply": "Apply",
|
|
"cancel": "Cancel",
|
|
"invalidProtocol": "This link type is not allowed."
|
|
},
|
|
"table": {
|
|
"insert": "Insert table",
|
|
"addColumnBefore": "Add column before",
|
|
"addColumnAfter": "Add column after",
|
|
"deleteColumn": "Delete column",
|
|
"addRowBefore": "Add row before",
|
|
"addRowAfter": "Add row after",
|
|
"deleteRow": "Delete row",
|
|
"toggleHeaderRow": "Toggle header row",
|
|
"deleteTable": "Delete table"
|
|
}
|
|
},
|
|
"image": {
|
|
"uploading": "Uploading image …",
|
|
"uploadFailed": "Image upload failed",
|
|
"altLabel": "Alt text",
|
|
"widthLabel": "Image width",
|
|
"width": {
|
|
"small": "Small",
|
|
"medium": "Medium",
|
|
"full": "Full"
|
|
}
|
|
},
|
|
"history": {
|
|
"title": "Version history",
|
|
"open": "History",
|
|
"close": "Close",
|
|
"empty": "No versions yet.",
|
|
"error": "You can't view this page's history.",
|
|
"restore": "Restore this version",
|
|
"restored": "Restored",
|
|
"restoreConfirm": "Restore the page to this version? The current state is saved as a version first, so you can undo this.",
|
|
"diffTitle": "Changes from this version to now",
|
|
"viewTitle": "Preview",
|
|
"contributors_one": "{{count}} contributor",
|
|
"contributors_other": "{{count}} contributors",
|
|
"trigger": {
|
|
"auto": "Automatic snapshot",
|
|
"manual": "Named version",
|
|
"pre_restore": "Before a restore"
|
|
}
|
|
},
|
|
"page": {
|
|
"copyMarkdown": "Copy as Markdown",
|
|
"markdownCopied": "Copied!",
|
|
"markdownCopyFailed": "Copy failed",
|
|
"downloadMarkdown": "Download as Markdown",
|
|
"delete": "Move to trash",
|
|
"deleteConfirm": "Move this page to the trash? You can restore it from the pond's trash view."
|
|
},
|
|
"trash": {
|
|
"link": "Trash",
|
|
"title": "Trash — {{pond}}",
|
|
"empty": "The trash is empty.",
|
|
"deletedAt": "Deleted {{date}}",
|
|
"restore": "Restore",
|
|
"purge": "Delete forever",
|
|
"purgeConfirm": "Permanently delete this page and its files? This cannot be undone.",
|
|
"pageTrashedHint": "This page has been moved to the trash.",
|
|
"restoreLink": "View in trash"
|
|
},
|
|
"wikilink": {
|
|
"phantomTooltip": "This page does not exist yet",
|
|
"autocompleteLabel": "Link to a page",
|
|
"createHint": "Create page “{{title}}”"
|
|
}
|
|
}
|