Repository navigation
v0.0.10 — every shortcut, on every keyboard layout
Install: download chevalet_note-0.0.10.xpi below, open about:addons, click the gear →
Install Add-on From File. It is signed by Mozilla, so it stays installed after you close
Firefox.
One line was breaking every shortcut on a non-Latin keyboard
Three separate reports — S did not open a note's settings, Ctrl+Z did nothing, and the
Ctrl+B family did not exist — were one cause. Every letter shortcut was compared against
KeyboardEvent.key, which is the character the active keyboard layout produces. On a
Persian, Arabic, Cyrillic or Greek layout the physical S key does not report s, so S,
C, D, L, M, P, E, Ctrl+Z and Ctrl+Y all silently did nothing — while Backspace,
Delete, Escape and the arrows kept working, because their values do not depend on the layout.
That lopsided pattern was the whole clue. Shortcuts now match on the physical key, with a
Latin layout still winning where it has an opinion, so Dvorak behaves the way a Dvorak user
expects. Measured in a real Firefox: 45 checks, control first, with a layout matrix across
Persian, Arabic, Cyrillic and Greek plus a Dvorak counter-case.
New
- Formatting while you type — bold, italic, strikethrough, code, links, quotes, bullet /
numbered / task lists, headings, insert-date, clear-formatting. Each is one undo step. There
is deliberately noCtrl+U: markdown has no underline. - A settings button in every note's header.
Sused to be the only way in, which was no
way in at all on a non-Latin keyboard. - A dark theme for the cabinet, the popup and the options page — follow the browser, or
force dark or light. The switch is at the foot of the cabinet. - A keyboard reference that reads the browser's own bindings, so it cannot disagree with
what you set inabout:addons.
Fixed
- The settings pane in the cabinet was a trap: clicking anything else did not leave it.
- Drawings were lost on reload. They were sent, and dropped one line short of the screen.
- The Movement setting was read by nothing at all. It is now a ceiling on every note's physics.
- Cabinet settings never reached tabs that were already open.
- Two sliders showed the wrong numbers and could write values a note could not use.
- Undo put the caret at the end of the text, always —
ShadowRoot.getSelection()does not
exist in Firefox. - Three controls that changed nothing are gone, and the trash-retention sweep they implied
is now real. Every remaining control is traceable to code that reads it. - A ghost button was acid yellow on cream paper wherever it sat on the page.
- The popup printed the same sentence twice.
490 tests · content script 31.9 kB gz of a 34.0 budget · web-ext lint 0 errors, 0 warnings,
0 notices.