Quick note appends to its page, in handwriting (Closes #92) #93
Loading…
Reference in a new issue
No description provided.
Delete branch "quick-note-92"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #92
Branch
quick-note-92(3 commits:54ef44bfeature,9501414review fixes,c5621ccJeremy's review) off main v1.8.1 (16bdb2e).What changes
modifedtime in.content, else the notebook's last change, as a local date viaTZ). Otherwise (an earlier day, no pages, typed text on the page, or the note doesn't fit in the rows left) it starts a new drawn page at the end (TypedPages.add_page(kind: :drawn)). No dedicated quick-note page, no new tables.PageInk.write/4. Long lines wrap; a note that doesn't fit isn't split.QuickNotes.author/0), not the device id whose layer OCR leaves out, and no text is recorded for the new version (PageInk.write(carry_text: false)), so the next sync reads the page like any page he wrote on: his writing and the notes together. A new page a note started keeps the note's text as drawn pages do.PageInk.write/4gains:authorandcarry_text: false.TypedPages.drawn_layout/1is public.QuickNotes.WriteWorker(newquick_notesqueue, snoozes while busy); the page says it waits and until about when, and updates when the worker writes it (PubSub).Tests
mix precommit: 1408 passed. test/rm_analyzer/quick_notes_test.exs: a last page changed today gets the note under its writing; one from another day gets a new page;same_day_page/2by local date (and the notebook's time when a page has none); typed-text last page gets a new page; second note the same day under the first (strokes kept, lower, drawn as the quick-note author, no text recorded); rollover when full; waits while busy + worker. test/rm_analyzer/quick_notes_ocr_test.exs: what OCR is given still has the note strokes, both under his unread handwriting and when he writes under a note.Known limits
Screenshots
appended-390.png
appended-desktop.png
form-390.png
form-desktop.png
waiting-390.png
waiting-desktop.png