Skip to content

feat: return to citation origin - #63

Merged
tenglvjun merged 4 commits into
mainfrom
codex/citation-return-navigation
Aug 15, 2026
Merged

feat: return to citation origin#63
tenglvjun merged 4 commits into
mainfrom
codex/citation-return-navigation

Conversation

@tenglvjun

@tenglvjun tenglvjun commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Preserve the reader position when opening a citation reference.
  • Add a toolbar back button plus Alt+Left and macOS Command+[ navigation shortcuts.
  • Clear stale return points when documents are replaced, reparsed, or destroyed.
  • Support grouped citation popovers and add English/Simplified Chinese localization.
  • Preserve interactive citations, citation superscripts, figure/table references, and target labels during AI translation.
  • Translate surrounding prose and embedded figure descriptions while restoring protected academic labels exactly.
  • Invalidate translation caches created before the reference-protection protocol (v7).

Validation

  • npm run check
  • npm test (1133 tests passed)
  • npm run build
  • git diff --check

Notes

The Markdown viewer remains read-only; the return point is scoped to the active document view. Translation protection is structural and analyzer-backed; prompt instructions are an additional safeguard.

@tenglvjun
tenglvjun merged commit ed005b8 into main Aug 15, 2026
3 checks passed
@tenglvjun
tenglvjun deleted the codex/citation-return-navigation branch August 15, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant