Skip to content

0.7.0

Choose a tag to compare

@github-actions github-actions released this 14 Aug 09:40
· 13 commits to master since this release
v0.7.0
aadd913

Added

  • Notes holding markup can be rendered instead of read as characters, with a
    Text / HTML switch. gedcom.details.noteFormat sets the starting choice,
    default text; the switch lasts the session. Rendering copies the parsed tree
    through an allowlist of formatting tags — the only attribute kept anywhere is
    href, on http(s) only.
  • fixtures/notes/ — HTML in notes, split mid-URL by CONC in 5.5.1 and
    declared with MIME in 7.0. Both carry well-formed, unclosed and crossed
    markup, since no rule in either specification inspects any of it.

Fixed

  • The toolbar button did not open the tree panel (#5). The editor title bar
    passes the resource and its own {groupId, editorIndex} context; read as the
    code lens's (uri, line), that revealed the editor at a nonsense position and
    never opened the panel.
  • An inline note was reported as a broken pointer (#2). 5.5.1 defines
    NOTE, SOUR, OBJE and REPO as either a pointer or the content in place,
    and the registry models only the pointer form — so most exporters' notes were
    called malformed.

Changed

  • "Show Graph" is now Show Tree, the panel is Tree, and the code lens says
    see in the tree. Setting keys and command ids are unchanged.
  • Records are counted in English: 3,010 individuals · 1,422 families, not
    3,010 INDI · 1,422 FAM. Used by the lens, the header hover and the details
    panel alike.
  • Dates are said in words, in every calendar GEDCOM defines. ABT 3 NOV 1901
    reads "About 3 November 1901"; a French Republican or Hebrew date keeps its own
    month names and is labelled with its calendar. Gregorian carries no label.
  • The lens above a record leads with the name, then the sex in English and the
    years: Victoria Hanover · Female · 1819–1901 · 2 parents · 1 spouse.
  • Inlay hints read as captions: Died age 73, Male.

Testing

  • The integration tests assert the panel opens and follows the cursor,
    not merely that a command did not throw. They also fail on any unhandled
    rejection in the extension host, and run against Insiders as an advisory CI
    job — where #5 came from, and the one combination nothing covered.