fix(xref): follow-ups to the xref attach parity merge

- `XREF <args>` runs whole: probing the bare verb first now opens the
  External References palette, which refreshed every entry and toggled
  the palette before `XREF Reload A` / `XREF ?` ran.
- Update the two tests that encoded the old behaviour: `-XREF ?` prints
  the reference table, and attaching a missing file is rejected.
- Drop the duplicate "Specify On-screen" catalog entry that shadowed the
  translated common key, with its unused ftl keys.
- Move `remove_pipe_symbols`' doc comment back above its function.
- Note in `document_for_save` that resolved xref content stays out.
- Gate the desktop-only preview cap and tab index for wasm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-09-24 15:37:00 +03:00
1 parent 1988424638
commit 163763c42a
27 files changed
+27 -35

No files matched your search

-1
View File
@@ -268,7 +268,6 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Attach External Reference" => Some(("insert", "xref-attach-dialog-title")),
"Browse..." => Some(("insert", "xref-attach-browse")),
"Reference Type" => Some(("insert", "xref-attach-reference-type")),
"Specify On-screen" => Some(("insert", "xref-attach-specify-on-screen")),
"Uniform Scale" => Some(("insert", "xref-attach-uniform-scale")),
"Insertion point" => Some(("insert", "xref-attach-insertion-point")),
"Angle:" => Some(("insert", "xref-attach-angle")),