Open a month picker for date cells and stretch one-day calendar events.
Select visible table rows and delete them in one undo step.
Move table focus with the keyboard.
Add named Kanban groups from the board.
Filter each view with Search and save footer statistics per column.
Place the search caret at the clicked character. Keep the picker and toolbar menus mutually exclusive.
Keep one full emoji row above the phone keyboard.
Show tooltips on creation, shape, brush, and zoom controls. Select
static shortcut labels for Apple platforms and other hosts.
Give pressed backgrounds priority over hover backgrounds. Clear pressed
feedback when the panel closes or the brush mode changes.
Animate transitions between Pen and Highlighter. Show the width for
the active drawing tool and use a crosshair for creation tools.
Resolve row and column descriptors by their stored IDs. Reserve descriptor
and cell keys before insertion. Scan the current table during open
transactions because the revision changes only on commit.
Remove empty trailing axes together. Match column previews to the final cell
layout. Hide canvas controls when their selection leaves the viewport.
Use static ChromeIcon::Download and ChromeIcon::Edit in
attachment_toolbar.rs instead of missing ui-tokens icon names.
Hide the download action when prop:style equals citation or
prop:footnoteIdentifier holds a value to match BlockSuite 0.27.5.
Add unit tests for attachment toolbar icon SVGs and action sets.
1. Warm Chromium before the browser tests in the js-room-coop and
preview-wasm-workers jobs. Use a temporary profile and a 20-second
timeout. If Chromium fails to start, continue to the tests.
2. Run the ios-device-check job in parallel with the ios-host job on
macos-15. Check both ui and affine-ios-host for aarch64-apple-ios.
Use standard Rust cache keys and keep only aarch64-apple-ios-sim in
ios-host.
3. When the iOS smoke test fails, show the last two minutes of WebKit
logs from the simulator. A 15-second alarm stops the log command.
Exit with the status code from the smoke test.
4. Show the monotonic time and the step duration in milliseconds on each
smoke test line. Flush stdout after each line.
5. In requireS3 and the unhandled error handler in
IosHostS3SmokeTest.swift, call smokeLog and flush stderr before
_exit(1). Keep the original stderr messages.
Read canvas block flags when the scene collects them.
Read the text block and its children on blur.
Check live mindmap membership before a drag changes node positions.
Check group locks across all surfaces on the page.
Stop the drag at a locked branch.
Format block snapshot IDs only when the harness records them.
Check live link destinations before popup actions and allow IME offset shifts for read-only actions.
Reuse Cargo dependencies between tests and the harness build.
Use the iOS main run loop for the smoke tests.
Disable the GPU for the IndexedDB save test.
Record Chromium startup errors before cleanup.
Keep each audit case on its own session. Replay earlier frames at the same
window size before a selected gallery shot. Test the slash menu audit
with two threads.
On the Web, read block links with the browser URL parser. Other targets
keep the url crate. Both targets share the path, query and encoding
rules, so the playground crate drops percent-encoding.
The Wasm bundle drops url, IDNA and Unicode normalization tables.
Block links keep the same WHATWG origin, path and query rules.
Send read-only link taps on Page and Edgeless through the block link
host. Format Markdown from the current text when the user clicks Copy
as Markdown. Cancel a pending copy if the active document changes.
Clamp a stored toolbar scroll offset when its row gets narrower. Clear
toolbar measurements, block toolbar submenus and the table axis menu
scroll when the document changes.
Skip the redraw if the table axis menu scroll stays in place.
Track HTML embeds by pane. Hide the embeds in a pane while its overlays are open.
Clear desktop pane and peek embeds on routes without documents.
Keep code preview requests pending until SVG decode completes.
Settle pending requests when their worker stops. Release Blob URLs when decode or worker startup fails.
The mobile Home tab caches favorites and non-trashed documents in a revision-keyed model. Warm frames reuse this cache without cloning document records.
The Home document list mounts only visible rows plus overscan with exact spacers. Fixed row heights and line clamping keep list coordinates deterministic across deep scrolls and long previews.
Home geometry includes the empty favorites section header height across all viewport sizes. The Home view clamps scroll offsets before rendering, and workspace switches reset Home and Search scroll offsets to zero.
The accessibility tree reads the cached Home model and visible window without mutating scroll state. Scale tests verify fixed row geometry, bottom reachability without favorites, and bounded row counts.
Save shell commands through the active workspace session. Seed its clock
at connection time and update folder rows after the session accepts them.
Cache document views and mount the visible sidebar rows. Clamp scroll
after the tree shrinks and reset it when the workspace changes.
Reuse the SQLite read connection for each backing and close it when
the last handle drops.
SQLite is now the only clock writer for document updates. Each row takes
the event time or 1 ms after the document clock, whichever is later. The
session no longer keeps its own copy of the clock and gives SQLite the
event time of each update.
Each committed row reports its slot: the document clock before the write
and the row time. A row that the server holds moves pushed_clock when
the row took the slot right after the current pushed_clock.
A row from the server holds this proof when SQLite writes it. A local
row holds it when the server acknowledged its push and every earlier
push of the document.
The session keeps the slots of the other committed rows until the server
holds them. The flush checks only peer_clocks and clocks in its write
transaction, and it reads no row data.
Thus a remote update on a pushed document that the session never opened
moves pushed_clock in the same transaction. The next start no longer
loads and pushes that document again.
A row of another writer between two own rows stops pushed_clock. When
the server holds the whole in-memory state of that document, a content
check runs after the commit in one deferred transaction.
The same transaction reads the rows and writes pushed_clock. If another
connection writes first, SQLite returns SQLITE_BUSY_SNAPSHOT, the
transaction rolls back, and the next flush tries again.
A SQLite-backed session drops the staged broadcasts of the oldest
unknown document above the 64 document or 1 MiB limit. It now keeps the
ID of that document in a queue of up to 1024 IDs. The next flush looks
up these IDs in SQLite in one query.
A document that another writer added becomes a disk document that the
session loads and reconciles with the server, so the dropped changes
come back. The flush drops the other IDs.
On a page with 10,000 blocks, the flush after 20 acknowledged edits
takes 7.5 ms instead of 432 ms. The flush after 50 remote updates takes
12.3 ms instead of 1,024 ms.
The mobile shell now removes a document when the document leaves the root document in the workspace session. Another session can trash and delete a document permanently. The shell then drops it from the list, the CRDT cache, the history, and the open page. Drafts that exist only in the shell stay. Documents with the same ID in other workspaces stay.
Workspace documents and CRDT caches change only through accessors. Each change gets a revision stamp that is unique in the process. These stamps key the caches for search hits, drawer sections, Explorer rows, breadcrumb snapshots, and the editor directory. A frame without changes rebuilds none of them.
A document lookup by ID now takes constant time. Explorer lists and folder lists mount only the rows inside the viewport plus a small overscan. The lists use ui_kit::VirtualList, and spacers keep the content height. The accessibility tree reads the same rows and the same window.
The bridge syncs the shell to the session by CRDT revision and by changed document IDs. When nothing changed, it reads no cached bytes. The sync timer repaints the shell only when the projection changed what the shell shows. The timer also checks that the bridge that ran the tick is still bound.
The editor directory keys its snapshot by workspace ID, docs revision, bulk revision, and locale. It refreshes in place only when all keys except the docs revision match. A workspace switch, a bulk change, or a locale change rebuilds it. The directory never lists or previews a trashed document.
The page editor reads the trash state directly. It encodes a state vector only when the document revision advances. The Explorer shows the empty trash text only for the trash target. A pending delete confirmation closes only for a document of the active workspace.
The views share one row_dir helper. The palette reads typed theme fields, and pure white uses ui::white(). The mobile-harness scale-probe command reports frame costs and work counts with 10, 100, and 1,000 documents. The invariants script checks mobile views for test branches. It links the ui-tokens test executable for the linker flag check.
Write one log record per draft edit. Fold the shared log into the
snapshot under a file lock to preserve changes from all writers.
Index child folders by parent to reduce repeated scans during traversal
and deletion.
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.
Rotate quick-connect handles with their shapes. Use pointer hits for card
actions and keep document share parameters on pasted cards.
Move the selected mindmap subtree and keep positions that peers set on
other branches. Remove an empty text frame with its local deletions so
one undo restores its paragraphs.
Add SqliteDocStorage::has_active_blob to check blob existence without
reading blob payload overflow pages during ingestion.
Remove the redundant pre-check loop for generated media block IDs and
retry only when PageDocSession::insert_block reports a duplicate key.
Store SpaceSyncEngine outbound items in a VecDeque, peek before send in
WorkspaceSession, disconnect immediately on send failure, and clear
stale frames on disconnect.
Drop passive remote broadcasts for unknown documents without local
baselines or active loads in an in-memory session, bound in-flight load
staging with a reload flag, and clear load leases on failure,
disconnect, or deletion.
Another writer of the same SQLite file can add a document after a
session opens. Thus a SQLite-backed session stages passive broadcasts
for unknown documents, up to 64 documents and 1 MiB.
The next flush persists the broadcasts for documents that SQLite has
and drops the others. Above the limits, the oldest document loses its
staged broadcasts and needs a reload.
Split share receipt persistence into a sibling module and reject shares
targeting tombstoned documents before any write.
Keep only the written sidecar keys and their previous entries for
rollback. When COMMIT fails, take a new write lock and read the
sidecar again.
Restore only the keys that still hold this attempt without a committed
import. Thus receipts that another writer committed after SQLite
released the lock stay.
Migrate a legacy receipt of a permanently deleted document without a
witness, so the migration does not recreate its doc properties row,
and count that receipt as committed while the document stays deleted.
Reclaim oldest complete quarantine groups in ShareDiskInbox when old
quarantine files block valid batches under the 128 MiB cap.
A caption keystroke read the whole page again from the document. On a
page with 10,000 blocks, each key took about 300 ms.
The caption editor now writes the committed caption into the page
snapshot. It changes the typed caption and the raw `prop:caption` of
the block. If the block is not in the snapshot, or its stored caption
is not a plain string, the editor refreshes the whole document.
`mark_caption_dirty` replaced a pending full layout pass with a pass
over the caption block only. A remote update that arrived in the same
frame as a caption event then kept its old layout. The function now
keeps a pending full pass.
Check block IDs in the document map. Use one sequence per table for
row and column IDs. Reject duplicate axes before changing cells.
Keep database menus on the selected row or lane. Correct calendar
editing, daylight saving time conversions, scrollbars, and canvas
toolbar placement. Commit active captions before toolbar actions.
Retain failed PDF tombstones in `refresh_pdf_previews` only while a card or the viewer shows that source. This stops retry loops while shown and drops byte references once removed.
Track each active native PDF open by monotonic `open_id` and payload bytes in `DocTable`. Each `(scope_id, source_id)` targets at most one payload at a time. Switching to different bytes clears stale results and waits before cache lookups, cancelling unstarted opens with no remaining waiters. Two live scopes with colliding keys never evict each other. Notify `cv_idle` whenever job pruning or scope cleanup leaves the queue idle.
Harden `WasmPdfState` without changing its interface or keeping PDF byte buffers. Skip `counts` writes for out-of-range sizes. Clear `in_flight` on session close or open cancel. Close idle zero-page and first-open failures while keeping known counts on reopen failure. Verify `doc_id` ownership in `answer` and `admit`.
Track queued `waiters` per entry in `pdf-client.js` so concurrent opens over 64 documents never evict waiting entries. Trim idle known entries back to 64 as requests close or settle. Wake and reject waiters at once when bytes change or the client disposes. Keep transient worker fetch errors retryable with no negative error cache.
Pass lazy snapshot identifiers directly into `Div::snapshot` from the four `ToolbarChrome` helpers. Non-harness builds now drop the formatting work and static snapshot strings.
Switch dynamic toolbar snapshot IDs across the eight floating overlay toolbars to `format_args!`. Borrow displayed text for `snapshot_text`. Keep all interactive element IDs and layout geometry unchanged.
Store static string slices in `ToolbarTooltip` and read `palette.link` directly in `chrome_link_color`. Replace scratch `group_widths` vectors with stack accumulators. Compute link popup label width and flags once per frame without cloning `LinkPopupTarget`.
Stream `Debug` layout fingerprints directly into `DefaultHasher` with a
trailing `0xff` terminator byte in `block_flow/{layout,surface_ref}.rs`
instead of allocating temporary `String` buffers, and add a unit test that
verifies bit-exact hash equality across block content variants.
Defer snapshot ID formatting with `format_args!` across
`overlays/code_lang_picker/render.rs`, `overlays/keyboard_toolbar/render.rs`,
and `overlays/paint_page/{mod,controls,media_controls}.rs`, borrow recent
code languages after the picker open check, reuse `palette.focus_ring` for
the picker focus border, and add `overlay.code_more_menu.` and
`overlay.code_lang_picker.item.` to `check-snapshot-prefixes.mjs`.
Remove unnecessary allocations, scans, and repeated SQLite queries across document sync, media ingestion, and workspace table storage:
- Replace the full-page snapshot read and ID set scan in `next_available_media_block_id` with bounded O(1) read-only lookups against the root `blocks` map, keeping explicit block IDs in `ingest_media_into_doc_session` strict.
- Avoid cloning broadcast update payloads when a document is not in `LoadingRemote`, isolate per-update apply errors across live broadcasts and staged `DocLoaded` replays while triggering a single reconciliation and holding `remote_ts` on failure, skip unmanaged entries during timestamp sync, remove the unused `observed_remote_ts` state, and unify root, table, and page reconciliation dispatch in `doc_sync`.
- Encode `YjsTableDoc` state vectors and diffs directly via `y_octo::Doc::get_state_vector` and `encode_state_as_update_v1` instead of round-tripping full V1 updates.
- Cache per-document tombstone checks and monotonic clock watermarks within a single `BEGIN IMMEDIATE` write transaction in `sqlite/doc.rs`.
- Replace the two-query in-memory `HashMap` join in `list_unpushed_doc_clocks` with a single SQLite `LEFT JOIN` query while preserving `NaiveDateTime` comparison semantics.
Extract shared ToolbarChrome, Tooltip, and HoverController (500ms enter / 250ms leave with hover bridge) under blocksuite-editor overlays.
Align FormatToolbar (Turn into current-block icon and selected row, Align dropdown, score-ordered inline actions, dual-section vertical Highlight list, Create Table, More), Image inner top-right hover/selected toolbar with all four corner resize handles, Bookmark/LinkedDoc/SyncedDoc/ExternalEmbed/Callout toolbars (single-click select, double-click open), Link/Reference hover popup above inline anchor with bridge and dropdowns, and desktop Simple Table hover add-bars (a press counts as a drag only after 4 px of travel along the bar's axis, a forward drag adds at least one row or column, and a drag back to the press point or away from the table adds nothing), three-dot axis pills, and 5px column resize handles.
Unify Page and canvas media downloads onto ImageStore's single set_on_blob_download host channel (with Web anchor fallback), and show the canvas Image and Attachment Download button only when ImageStore::can_deliver_downloads() is true and non-empty blob bytes are cached for that source_id.
Compute document math presence once per page and document revision (snapshot_has_math, memoized on BlockFlow) instead of walking the whole page on every layout, and include database titles, row titles, and rich-text cells in both the math check and the per-block preview fingerprint.
Route /pdf through the media slash path so that a host without a file picker keeps the typed /pdf text, the same as /attachment.
The preview workers now use a linear-memory ABI with four exports:
`memory`, `prepare(len)`, `invoke()` and `output_ptr()`. The host writes
each request into worker memory in one copy and copies each response out in
one copy. The old ABI called an export for every 4 bytes in each direction.
Rust gives out only the addresses of its own buffers, so the crate keeps
`forbid(unsafe_code)`. Buffers larger than 1 MiB go back to the allocator
after each request.
The PDF worker keeps each parsed document under a `docId` that the host
assigns. The frames are `PDF_OPEN`, `PDF_RENDER` and `PDF_CLOSE`.
The bytes of a document go to the worker once per open, not once per page.
Page pixels come back as a compact RGBA buffer that the worker transfers.
The playground bridge has one session table in `wasm_pdf_state.rs`. It
opens at most 8 documents or 256 MiB of source bytes.
To make room, the table closes least recently used idle documents, but only
when that makes the new document fit. Empty documents and documents larger
than 256 MiB never go to the worker.
The table closes a document when the view clears the last scope that used
it, also when no page request claimed it yet. A reopen that fails after a
worker restart keeps the known page count.
The table restarts the worker before the IDs run out.
The bridge no longer keeps 16 copies of PDF bytes.
Each worker event listener ignores events from a replaced worker, so a late
error of an old worker cannot stop the new one. A crash answers each sent
request once, so the count of unanswered requests stays exact.
`pdf-client.js` uses the same protocol and keeps its public methods. It
keeps the same open budget and waits for room before it sends an open.
New bytes for a known `docKey` now open a new document and drop the old
page count and pages. Before, the client returned the old page count.
Four snapshot IDs of the PDF viewer and the attachment toolbar use
`format_args!`, so the production bundle has no copy of their prefixes. The
prefix gate now checks 14 prefixes.
The desktop code toolbar, its More menu and the touch code toolbar now give
`format_args!` directly to the snapshot call. Release builds format no
snapshot ids for these controls. Harness builds record the same ids as before.
The interactive element ids do not change.
`filter_code_languages_ordered` keeps its signature and its order. It gives
each catalog entry the dense order of its first entry in the history. Then it
sorts one integer key for each match on the stack.
The label match compares ASCII bytes without case, so a query makes no
lowercase copy of each label.
A table test compares the new order with the previous sort for all query
prefixes, cases, aliases, duplicates and a history of 65,538 entries.
`Palette` now has `error`, `error_background` and `focus_ring` from the theme
tokens. The More menu and the touch toolbar read these fields. The colors do
not change.
Wheel and touch fling scrolls lend the collapsed block set to the overlay
scene and do not clone it. This change also
removes `ScrollAxis::set_max` and `ScrollAxis::snapped`, which had no
production callers.
Unify Table, Kanban, and Calendar hover state into a paint-only overlay in playground without triggering document relayout or text-cache rebuilds, map all database hit targets and popovers to standard cursor styles with full modal, overlay, and side-panel hover isolation, and invalidate cached hover on document revision changes. A pressed title cell hides the OPEN and more buttons of its row in the same frame, and an open database popover or record peek hides the page block hover under it.
Add a centered desktop Record Peek modal with checkbox fields and an editable title that splices each keystroke into the live row title, like a title cell: peer edits merge, Enter, Escape, an outside click, or closing the peek only end the edit and write nothing, and one undo removes the local typing. A double click on a Calendar event edits its title in place only when its first click opened the peek. Also add 24x24 icon row/card and Kanban lane context menus with the CenterPeek icon, single-transaction atomic Undo row CRUD primitives (insert at slot with group inheritance and immediate title editing in the same undo step, lossless rich-text and reference duplication, and deletion cleaning prop:cells), dual-date-column Calendar resize that keeps the local time of day of the dragged edge across DST changes and the exact timestamp of the other edge, readonly Link cell click pass-through, and Escape/outside-click dismissal for all database popovers.
Embedded PDF cards that show the same page now share one bitmap.
Twelve cards of one page keep 1 image instead of 12.
A card with a current preview now stops at a pointer check.
The refresh does not hash bytes, touch the document table or call the provider.
The native provider parses each document on a background thread.
Views that open the same content share one parse through a weak table.
Render jobs share the parse without a lock.
This change removes the second parsed copy, the provider cache and the byte copies.
The parse also renders the first page, so one wakeup brings the document and its first page.
The view keeps one LRU table of open documents.
It never evicts what the open viewer shows or what a card waits on.
A card that waits for a free slot opens in a later pass or when the viewer closes.
An open that no card or viewer wants any more frees its slot.
Content identity uses the shared allocation, then a full byte compare.
The sampled hash is only a map key, so new bytes with the same name and length render again.
Run the real-browser web host test files sequentially in CI so two cold Chromium and SwiftShader startups do not compete for disk reads and four runner CPUs at time zero.
Replace detached caption prompts with direct in-place caption editing across all captioned block flavours, unify the desktop hover code toolbar with 28x28 icon buttons and More menu, and dock a horizontally scrollable >=44pt touch code toolbar on Phone and Tablet viewports.
- Add touch docked code toolbar via place_touch_docked_toolbar with language picker, conditional preview toggle, copy, caption, wrap, line number, collapse, duplicate, and pinned delete controls
- Reserve touch code toolbar height in Page viewport scroll/caret reveal and touch selection visible-band calculations so typing in a focused code block never falls behind the docked bottom toolbars
- Map in-place caption pointer hit-testing, drag selection, and IME selection bounds through Edgeless Note camera/scale transforms alongside Page coordinates
- Report wants_software_keyboard() while the in-place caption editor is active on Page and Edgeless modes, and enforce edgeless_readonly alongside page_readonly
- Preserve non-collapsed selection text when splitting a caption on Enter in Page mode, commit and exit cleanly on Enter in Edgeless mode, and only clear focus when the structural commit succeeds
- Support clipboard paste with newline normalization, word-granularity navigation/deletion, mouse drag selection, and standard line-height placeholder carets in the in-place caption editor
- Update AGENTS.md invariants, headless harness states, and deterministic unit tests
Replace the interactive control check in the dual-shell verifier with a legacy workspace readiness check for @affine/mobile 0.27.5.
The verifier requires a valid workspace document route and a visible editor container with a mounted editor host.
It also requires the legacy shell cookie and no synthetic legacy shell object.
One page check covers these conditions, and it uses the same route parser as Node.
The verifier runs this page check again after each IndexedDB read and before it returns.
A shell that leaves the document route or unmounts the editor before it stores data fails.
The verifier loads yjs on demand so Node tests run without installed packages.
It reads only target document records from local IndexedDB and verifies root catalog and page block state.
Rows must agree with the nbstore schema, and the updates store must have its docId index.
When a fresh profile stops at the workspace home route, it reads one document ID from the catalog.
It then locks that workspace and document and navigates once to the document route.
A redirect to a different document fails the check.
The legacy CLI path now reopens the mounted document in a new tab of the same Chromium profile.
That tab blocks the welcome template, so the shell must load the workspace from IndexedDB.
The local workspace database count must stay the same.
A server that cannot serve the document route directly fails the check.
Limit Chromium browser test file concurrency to two in CI so three browser suites do not overload four runner CPUs during SwiftShader startup.
Add a zero-dependency Node script that scans WebAssembly Section 11 data segments for eleven harness snapshot ID prefixes.
The script also scans Rust sources under blocksuite/crates to confirm that every watched prefix stays active.
The source scan ignores test modules and their child modules.
Wire the source check into packages/frontend/scripts/check-invariants.sh.
Wire the binary check into .github/workflows/native-playground.yml after wasm-opt.
Unify Page, code/table/database horizontal containers, popover lists,
and touch scroll gestures on a shared unrounded subpixel ScrollAxis and
single-source AxisLatch, snapping strictly to device pixels at paint
time. Add full-height 24px hover and thumb drag support for wide table
and database horizontal scrollbars, keep world-anchored input popovers
from scrolling off-screen on page wheel or touch drags, pin the Create
row at the bottom of the 400px Database Select popover with scroll
reset on filter edits, and split CodeLangPicker with Plain Text pinning
and a centered empty state.
The set_blob function bound the payload by reference. The sqlx encoder
then copied the full payload into a new buffer.
The function now moves the owned key, data and mime values into the
query arguments. The SQL, the upsert behavior and the public signature
do not change.
A new single-test binary counts Rust heap requests with a global
allocator. It also checks insert, overwrite, soft delete and revive.
For an 8 MiB payload, the old code requested 8,393,257 bytes in one
set_blob call, with one block at or above 1 MiB. The new code stays
below 64 KiB and makes no block at or above 1 MiB.
Save the page and its catalog in one IndexedDB transaction.
Use the Chromium harness in four browser checks.
Use one 45-second DevTools handshake for the SwiftShader smoke tests.
Open each new page with one DevTools request.
Stop the process group if the browser exits before the handshake.
Use a short temporary directory if the socket path exceeds the limit.
Check the legacy control on two consecutive frames.
Report startup errors for --legacy-dir.
Wait for the OAuth configuration and provider render on /sign-in.
Run the browser regression tests in CI.
Keep database view state and table focus out of the environment revision that each block hashes.
Before this change, a pointer move to another Calendar day or Kanban lane laid out the whole page again.
`DatabaseFlowState` records each block whose view state changed.
Its state map is private. Each change of one block goes through a method that marks that block dirty.
A tab strip scroll that only stops the reveal of the active tab also marks its block dirty.
`update_pointer_hover` sets the Calendar day hover and the Kanban lane hover in one call.
It replaces `set_calendar_hovered_day` and `set_kanban_hovered_lane`.
The call adds no empty state for a block that the pointer is not on.
`LayoutKey` is a struct with named fields in `layout_cache.rs`.
It holds the database revision, a hash of the focused table, and the inputs that every block reads.
A layout pass adds the changed database blocks and the two tables of a focus change to its changed blocks.
The pass reuses each other block.
Remove the environment revision increments from the entry points that change one database block.
These are view switches, Calendar month steps, tab strip scrolls, cell input, key input, drag moves, and commits.
A sideways scroll of a database, a table row drag, and a table column drag change no layout state.
They start no layout pass.
`set_database_mobile_readonly` keeps its increment because it changes each database block.
Find the outermost Callout of an indented block in one pass from the page root.
The pass only enters blocks with children.
Before this change, each pointer move did one whole-tree parent lookup for each ancestor level of the block.
Add tests on a page with 10,000 paragraphs, one database, and one table.
One test uses a touch swipe on the view tabs of a right-to-left phone page.
Add a test of the drag handle rect of each block in nested Callouts and in deep lists.
Hold the preview provider test lock in `editing_one_block_lays_out_only_that_block_again`.
A preview revision that a parallel test changed started a second layout pass in that test.
The comment on the lock tells which tests must hold it.
Move the text selection geometry into overlays/paint_page/geometry.rs as one function for Page and Edgeless inline editing.
A style value sets the optional 2 px minimum width and the marker of empty blocks.
Delete the Edgeless copy of that function.
Store the UTF-16 length of the plain text with the laid-out text of a block.
A selection reads that length for each block before its last one and scans no text.
Cache the world-space selection rectangles and their bounds by document revision, layout instance, and selection.
Selection painting finds the rectangles in the viewport with a binary search.
It applies the code scroll to those rectangles only.
The formatting toolbar reads the cached bounds as its anchor.
The start of each frame releases the rectangles and the format that the caches hold for a selection that ended.
This release covers text selections and block selections, also when the host draws the selection.
Rank manual Kanban card order, group keys, and group properties with hash maps instead of linear scans.
Reuse one cell key for all rows of a grouping pass.
Paint a sideways-scrolled block in two passes over its primitives without temporary vectors.
Keep code preview revisions in one table per kind and one eviction order.
A table and the order share the text of a source.
A lookup of a revision borrows the source text and allocates nothing.
Make bs-harness bench report the path when it cannot read the size of its binary.
Count the allocations of one thread in bs-harness only while a benchmark asks for them.
Assert that steady selection frames add no geometry work and that revision lookups allocate nothing.
Count the CRDT text reads of link hit-testing.
Assert that a hover over text without a link under the pointer reads no text.