Commit Graph

15611 Commits

Author SHA1 Message Date
Ammar Ahmed
2fa7a6ae8a editor: cleanup 2026-08-29 12:55:00 +05:00
Ammar Ahmed
240220277e editor: window long containers however deeply they are nested 2026-08-29 12:37:26 +05:00
Ammar Ahmed
123709b0a5 editor: keep the running height totals per editor, not per module 2026-08-29 12:13:05 +05:00
Ammar Ahmed
3699606e4e editor: time each plugin and record heap use in the profiler 2026-08-29 11:55:34 +05:00
Ammar Ahmed
19524c1a8a editor: build column resize handles only for the rows on screen 2026-08-29 11:55:34 +05:00
Ammar Ahmed
e639c77e1f editor: skip the table repair when the table's shape has not moved 2026-08-29 11:55:33 +05:00
Ammar Ahmed
be10af7d4f editor: let list items with their own views be left out of a window 2026-08-29 11:55:33 +05:00
Ammar Ahmed
ab1a88edec editor: render only the container children that are on screen 2026-08-29 11:55:26 +05:00
Ammar Ahmed
4daeb33fa2 editor: keep the scroll steady with the pin alone 2026-08-27 14:16:43 +05:00
Ammar Ahmed
0236b9e4fe web: restore the scroll position once and let the viewport keep it 2026-08-27 14:13:03 +05:00
Ammar Ahmed
537231a901 editor: size the note without rendering pages it will scroll past 2026-08-27 14:05:47 +05:00
Ammar Ahmed
297ea7bc16 editor: size the note before scrolling to the saved position 2026-08-27 14:01:08 +05:00
Ammar Ahmed
5220a1704e editor: stop focus dragging the view back to the caret on load 2026-08-27 13:58:31 +05:00
Ammar Ahmed
b2856374a3 web: add a scroll tracer to the editor profiler 2026-08-27 13:10:08 +05:00
Ammar Ahmed
e0aa4f6661 web: stop the caret being moved twice while a note opens 2026-08-27 12:45:54 +05:00
Ammar Ahmed
420722c686 web: have the note open at the saved position instead of jumping to it 2026-08-27 12:39:46 +05:00
Ammar Ahmed
29087ec91f editor: detect printing in browsers that only report it as a media query 2026-08-27 11:45:05 +05:00
Ammar Ahmed
81f2231d5a editor: render the whole note when the browser prints 2026-08-27 11:40:00 +05:00
Ammar Ahmed
a15f029e43 editor: strip pages from copied and dragged content 2026-08-27 11:08:28 +05:00
Ammar Ahmed
bad8c2c216 editor: simplify paging internals and drop dead code 2026-08-27 09:27:54 +05:00
Ammar Ahmed
532d609b61 editor: use plainer names and wording throughout paging 2026-08-27 09:03:35 +05:00
Ammar Ahmed
6ac09c5478 editor: drop block virtualization and fold paging into one extension 2026-08-27 08:47:53 +05:00
Ammar Ahmed
ac5b749299 mobile: choose between off, blocks and pages in editor settings 2026-08-26 19:51:51 +05:00
Ammar Ahmed
af2369c4ae editor: re-measure the viewport when the editor is re-laid out 2026-08-26 14:30:14 +05:00
Ammar Ahmed
ca7907a627 web: fetch note content eagerly when saving 2026-08-26 14:03:13 +05:00
Ammar Ahmed
5e5f18c94b editor: default pages to 50 blocks and let callers set the size 2026-08-26 13:20:35 +05:00
Ammar Ahmed
b8ea866177 editor: estimate text from the layout it will wrap into 2026-08-26 13:05:15 +05:00
Ammar Ahmed
df82a0466f editor: size placeholders from each block type's own structure 2026-08-26 13:03:32 +05:00
Ammar Ahmed
c3a62c486f editor: estimate placeholder heights from the content they stand in for 2026-08-26 12:47:44 +05:00
Ammar Ahmed
0fab302d8c editor: hold the reader's position steady while pages render 2026-08-25 23:26:16 +05:00
Ammar Ahmed
09ba20e009 web: mark a note unsaved only once an edit is dropped 2026-08-25 23:04:22 +05:00
Ammar Ahmed
5959364de5 editor: anchor the scroll position even on pages that have not rendered 2026-08-25 22:51:19 +05:00
Ammar Ahmed
78cdc390b3 web: stop the pixel scroll fallback fighting the block anchor 2026-08-25 22:44:19 +05:00
Ammar Ahmed
6f6b93af31 web: restore the scroll position before the editor is painted 2026-08-25 22:35:52 +05:00
Ammar Ahmed
872987de0b editor: restore scroll position by block instead of pixel offset 2026-08-25 22:30:19 +05:00
Ammar Ahmed
1af46dff79 editor: serialize only the pages that changed 2026-08-25 22:22:54 +05:00
Ammar Ahmed
63b42550a7 web: skip serialization entirely when auto-save is off 2026-08-25 22:22:43 +05:00
Ammar Ahmed
af1687c366 editor: render block ids on page elements so the viewport can track them 2026-08-25 22:13:17 +05:00
Ammar Ahmed
131583097c web: store editor selections in page-independent positions 2026-08-25 20:35:08 +05:00
Ammar Ahmed
f41c231e69 editor: page the document while parsing instead of after the first render 2026-08-25 20:35:07 +05:00
Ammar Ahmed
f4ffa44a69 editor: virtualize pages with the same machinery as blocks 2026-08-25 19:16:39 +05:00
Ammar Ahmed
18e836d987 editor: keep block ids and the table of contents working inside pages 2026-08-25 19:16:38 +05:00
Ammar Ahmed
33074112fb editor: choose virtualization mode between blocks and pages 2026-08-25 18:53:17 +05:00
Ammar Ahmed
6a9bdce999 editor: add page grouping that is stripped on serialization 2026-08-25 18:53:16 +05:00
Ammar Ahmed
21606dc43e editor: disable the profiler by default 2026-08-25 18:37:12 +05:00
Ammar Ahmed
2d3a4f544d editor: make virtualization work proportional to the viewport 2026-08-25 18:35:41 +05:00
Ammar Ahmed
0c039bb1cd editor: index top-level positions instead of resolving every block 2026-08-25 18:35:41 +05:00
Ammar Ahmed
b086251f00 editor: render the document once per mount 2026-08-25 18:35:40 +05:00
Ammar Ahmed
2a2b53d3ae web: serialize note content only after edits settle 2026-08-25 18:35:40 +05:00
Ammar Ahmed
d39bdf35d1 web: expose the editor profiler and its benchmarks 2026-08-25 18:35:40 +05:00