Skip to content

v0.0.13 — this section, real bold, live cabinet

Choose a tag to compare

@aturzone aturzone released this 06 Sep 09:47
· 8 commits to main since this release

Install: download chevalet_note-0.0.13.xpi below, open about:addons, click the gear →
Install Add-on From File. Signed by Mozilla. Installing over an older version keeps every
note.


"This section" — the fourth place a note can show

A note's settings now offer This page, This section, This whole site and Every
page
. The section is every page whose address starts the same way, and it is worked out from
the page you are on — so the option names it: This section (/blog/).

That label matters. "This section" means /blog/ when you are reading an article and the whole
host when you are at the top of a site, so the picker shows which one it will use rather than
leaving you to guess. The note's panel and the extension's core compute it with the same
function, so the label cannot promise one thing while the click does another.

This was the last reachable scope kind: Scope has had five since the first release and four
of them could not be created at all.

Bold is really bold

**bold** in a note set in Handwriting or Grotesk was the browser smearing the regular
letters. Both families ship a drawn bold, so both are bundled now — as the two Persian faces
already were.

Bangers and Permanent Marker are drawn at one weight and have no bold to bundle, so synthesised
bold stays there. A test reads the font packages and enforces both directions, so a family that
gains a bold upstream shows up as a failing test rather than as a smear nobody notices.

An edit in a tab reaches an open cabinet

The cabinet could already reach a tab — rename, restore a version, edit the text. Now the other
direction works too: type in a note and an open cabinet updates. It will not redraw while a
dialog is open or while you are typing in the search box.

Under the hood

  • cs/renderer.ts has tests — 17 of them. It is the module both of the bugs reported
    against 0.0.10 lived in, and it had none. Put the single-page-app fix back out and three of
    them fail.
  • A third language is now cheap. English is the source and every other language is optional
    per string, with a fallback per key — so a language can arrive half-finished and be useful
    from the first string. Persian is complete and a test keeps it that way.
  • Fixed: the background re-broadcast the settings to every tab on any local storage write.
    Harmless before; with a live-update counter it would have fired twice a second while typing.

736 tests · 31 checks against the real extension in a real Firefox, each with a control ·
content script 36.5 kB gz of a 38.0 budget · web-ext lint 0/0/0.