Commit Graph

4046 Commits

Author SHA1 Message Date
Ammar Ahmed
3c528464f7 editor: remove the standalone paging test harness 2026-08-31 10:56:23 +05:00
Ammar Ahmed
db13e11cb1 editor: move the profiler console commands out of the web app 2026-08-31 10:56:09 +05:00
Ammar Ahmed
23495a33fe editor: let go of the element's link back to the editor on teardown 2026-08-31 10:56:09 +05:00
Ammar Ahmed
aad063f2f4 intl: cleanup locale files 2026-08-31 10:45:39 +05:00
Ammar Ahmed
ef8fe7a2c5 editor: report whether editors and views are actually freed 2026-08-29 13:31:30 +05:00
Ammar Ahmed
c2341a2c92 editor: drop the debug logging that pinned every editor in the console 2026-08-29 13:31:29 +05:00
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
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
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
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
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
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
af1687c366 editor: render block ids on page elements so the viewport can track them 2026-08-25 22:13:17 +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
82614b4ce3 editor: instrument block ids, table of contents and height map 2026-08-25 18:35:39 +05:00
Ammar Ahmed
53553d859e editor: add a profiler for measuring editor performance 2026-08-25 18:35:39 +05:00
Ammar Ahmed
fee2285795 editor: cleanup comments 2026-08-25 11:47:19 +05:00
Ammar Ahmed
b88a5bdac8 mobile: add editor virtualization toggle in settings 2026-08-25 11:39:20 +05:00