Files
AFFiNE/packages/frontend
DarkSky aec71dfe29 perf(editor): keep math and link checks off the frame path
Carry the page math flag across a text edit of one block. Compare the math state of the block before and after the edit. Keep the flag when the block had no math before. Set it when the block gets math. Clear the flag when the block loses math, so that the next frame scans the page.

Skip the scan while an equation draft or a code preview is open. Share one block test between the page scan and the edit path.

Read table cell text only when a snapshot asks for it. Builds without snapshots no longer search the page for the table or copy cell text on each frame.

Keep the last hover target in the view. Read it again when the page, the loaded document, the page text, the page titles or the read-only state change. Each view keeps its own targets. A target never goes to another page, document or view. A move inside the same link, also across wrapped lines, reads the text one time.

A move to another line of the same link moves the anchor of the waiting popup to that line. The popup keeps its timer. Confirm an open hover popup against the text one time per text revision. A rename of the target page updates the title and view choices of an open reference popup. Build the overlay scene for a hover only while a link popup is open or fades out. Find the table and canvas ancestors of a reference in one walk.

Format the block scroll bar snapshot ID lazily. Add six toolbar and popup prefixes and the page scroll bar prefix to the production Wasm prefix check.
2026-12-02 05:06:49 +09:00
..
2026-09-20 13:01:49 +08:00
2026-09-20 13:01:49 +08:00