Skip to content

chore: release 0.8.0 - #99

Merged
ttncode merged 3 commits into
mainfrom
pr/release-0.8.0
Nov 9, 2026
Merged

ttncode merged 3 commits into
mainfrom
pr/release-0.8.0

Conversation

@ttncode

@ttncode ttncode commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Editor fixes for selections, copy and paste, the global shortcut removed, and the version bump to 0.8.0.

Editor

  • Text style keys, Tab, indent and move line act on every selected line and keep the selection. Before, a triple-click or Shift+Down styled the next line, and a multi-line selection or Ctrl+A styled one line.
  • A heading and body selected together no longer become a list nested inside the heading.
  • Typing, Backspace, paste or cut on a triple-clicked line no longer pulls up the line after it.
  • Chrome's inline style spans (line merges, list changes, Ctrl+B in a heading) are removed after each edit.
  • Enter on a selection reaching the end of a heading replaces the selection.

Copy and paste

  • Copy leaves out the stray empty line or bullet and any inline styles.
  • Paste is cleaned before it enters the note: line breaks of a page's HTML source no longer show, each plain text line is its own line (including CRLF), Google Docs copies are no longer all bold, and Docs or Word list items no longer hold a paragraph. Lines pasted into a list become items.

Behaviour changes

  • Ctrl+Alt+N is gone; the tray icon brings the window back.
  • A link opens with Ctrl+click (a plain click in a read-only note still opens it), so a plain or double click can place the caret and select its text.
  • Punctuation after a typed URL stays out of the link.

Testing

  • npm test: 208 pass.
  • 85 cases with trusted keyboard and mouse input against the real notes.html in headless Chrome on Linux: all pass. That script is not in this repo.
  • Not run locally: the Rust build and the end-to-end tests, which this PR's CI covers. Nothing here has been tried by hand in WebView2.

Known limits

  • HTML paragraphs pasted into the middle of a list item join with a line break instead of becoming items.
  • Bold or italic set only through CSS on pasted text is dropped.
  • Undo restores the caret, not the selection.

Ctrl+Alt+N no longer registers with Windows. The tray icon and a second
launch still bring the window forward; a key saved for the old shortcut
is dropped when settings load.
Style keys acted on the selection's focus, so a triple-click or
Shift+Down styled the next line and a multi-line selection styled one
line. They now cover every selected line and keep the selection; Tab,
indent and move line do too.

Paste is cleaned before it enters the note: line breaks of a page's
HTML source no longer show, each plain text line is its own line, and
Google Docs copies are no longer all bold. Copies leave out the stray
empty line and inline styles. Typing over a triple-clicked line keeps
the next line, and Chrome's inline style spans are removed after edits.

A link now opens with Ctrl+click, so a plain or double click can place
the caret and select its text. Punctuation after a typed URL stays out
of the link.
@ttncode
ttncode merged commit 978c5e9 into main Nov 9, 2026
1 check passed
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.

2 participants