Compare small sets of axis IDs directly and use hash sets for larger sets.
Check the row ID once for each row in the table layout.
Move the preview code into a table paint module.
Reuse the table bounds to classify both pointer positions.
Model GPT-6.2 Sol.
Tests used the Rust test harness.
Use a two-column settings dialog on desktop. Wrap the tabs at narrow
widths and scroll the settings content independently.
Show workspace storage and sync details. Remove draft diagnostics.
Show the shortcut labels for the host platform.
Store the default new document mode in the desktop app. Use modal
bounds to find the backdrop in the workbench tests.
Validate the hovered link before paint and before Open or Copy.
Fit and scroll the table axis menu in short panes.
Keep Group available in either mixed selection order.
Keep the top of a rotated shape in place as its label grows.
Show a scrollbar thumb under overflowing code.
Model: GPT-6.2
Tests: Rust unit tests and Linux headless input replay.
Link the iOS host and smoke test before the simulator starts.
Log link times and the first UIKit calls.
Reuse the Linux harness from the workspace test build.
Optimize preview Wasm workers while Cargo builds the next target.
Model: GPT-6.2.
Tests: Node test runner, shell fixtures, and frontend invariants.
Wait for more updates before an automatic replay if the last replay ran
out of space. Keep all pending updates in order. Replay at once after a
delete or an explicit retry.
Model: GPT-6.2 Sol
Tests: Node.js test runner and Chromium
The Edgeless note header pass walked the root tree on each frame. It
rebuilt two maps, copied the page title and formatted element ids.
- Keep a NoteHeaderIndexCache in EdgelessCanvasState. The document
epoch, the page id, the document revision and the snapshot
allocation key the index. A frame without header candidates returns
at once.
- Collect the Frame title pills only for an expanded Page Note header.
- Use static element id prefixes with a stable FNV-1a hash of the
block id.
- Format snapshot ids with format_args at each snapshot call. Release
builds then keep no snapshot id text. Remove the SNAPSHOT_IDS cfg!
constant.
- Split chrome/note_header.rs into mod.rs and paint.rs.
The fold reads the note lock and the lock of each parent Group from the
current snapshot when it writes. A lock change after the last paint now
applies. A visited set stops the walk on a Group cycle.
check-invariants.sh now also rejects cfg! macros and multi-line cfg
predicates that name the harness feature or test.
Read each workspace in one IndexedDB transaction. Load all non-empty
frames for documents with at least one positive timestamp. Release the
initial frames after mount.
Keep the shape rotation and use its ports when a quick-connect click
adds a linked shape. Edit the new label in place.
Show a hover outline and keep the group border clear of the title.
Write label background colors to shared text.
Keep dropdown snapshot IDs at the call sites so the production Wasm omits them.
Use the workspace origin for canvas cards. Route card and Bookmark links through the editor.
Keep the Callout picker in its own pane and cancel preedit before it closes.
Merge cells into the latest Table band when their row IDs and positions
match. Append bands in visual order and build the bucket index only
when a cell goes back. Use linked buckets for cells that arrive out of
order.
Use a hash set to find rows to delete. Prepare search once per view.
Share the groups used by table layout and row selection. Check whether
a popover is open without laying it out. Remove default view state.
Hide the toolbar during canvas pans. Keep More visible on narrow viewports and add Lock to its menu.
Show shared actions for mixed selections. Use the text color glyph for EdgelessText and show the standard color grid.
Correct database calculations and show hints over empty footers.
Keep code tools in the canvas when a note nears the top edge.
Preserve linked documents when the desktop directory replays a create request.
Use the shaped Quick Search line for pointer input and IME bounds.
Support copy and cut in Quick Search.
Close the narrow sidebar drawer after navigation from Quick Search.
Keep the full lane order, including the ungrouped lane.
Use the preview position when a peer reorders lanes during a drag.
Keep date values visible while the date picker owns edits.
Clear stale hover when the database search closes.
Remove harness snapshot ID literals from production Wasm Section 11 across 36 prefixes.
Extend `check-snapshot-prefixes.mjs` to lock those 36 prefixes and bare container IDs at zero.
- Clip table grow preview to visible viewport rows and columns in one pass.
- Defer page table cell focus label formatting behind lazy evaluation.
- Compare derived four-state table edge zone on pointer hover to skip center redraws.
- Reuse shared `toolbar_chrome` geometry constants and color tokens in edgeless chrome.
- Replace multi-pass selection scans and `rotate().transform_point()` math with single passes.
Use the workspace directory for mentions and persist documents created in the editor.
Share media bytes within each workspace so split panes and previews can display them.
Use the browser date for journals and link the Outline to heading blocks.
Release cached table axes when a block leaves the document.
Read label marks from the shared text delta.
Reuse pending toolbar timers and keep the final frame.
Convert pasted string labels to shared text.
Share the transaction code for compound edits.
Let a committed delete supersede earlier failed operations on the same document.
Retry failed operations on other documents and preserve later updates.
Build the Table row bands in one pass over the hits. Each row id links
its bands, so a cell finds its band in constant time.
Read the database data and the view state of a block by reference on
the hover, drag, key and click paths. These paths no longer copy the
whole database.
Delete many rows with one read of the block graph. Each run of adjacent
rows is removed with one array edit, in one undo step. Row selection
and the Kanban lane menu use this path.
Look up a fresh row id in the blocks map instead of a decoded page
snapshot.
Format and lay out the hidden fields of a record only while their
section is open.
Open record URLs through the shared editor URL handler. Build the
snapshot ids of record notes and Calendar resize handles lazily. Use
the accent foreground token for the today button.
Scale Page Note headers and their controls with the Note and camera.
Use the Note screen bounds to size the header.
Clip collapsed Notes to their stored canvas bounds and fit the
camera to those bounds.
Save the title fold and canvas height in one edit. Keep the stored
clip height on expand. Show the bottom clip control only on Notes
without a Page header.
Open linked documents from the header and route canvas navigation
through the desktop editor host.
Read and write each workspace through its IndexedDB v3 store.
Keep document edits and deletions in order across retries and reloads.
Seed empty workspaces under the startup lock and release it if a write
cannot start or the connection closes.
Wait for pending transactions and read the stored clocks before each
retry. Cancel queued retries when the connection closes. Compact a
document only when its snapshot and all source updates still match.
Map Page block controls, table editing, and block moves through
the Active Note camera. Share the database view state between
the Page flow and the Note paint pass.
Place database popovers within the editor pane. Use window
coordinates for paint, pointer hits, scrolling, and IME.
Position popover hitbox elements relative to the pane.
Support media and caption editing inside active notes. Capture
mouse moves and release during image resize as soon as the drag
starts. Keep database and media writes behind read-only gates.
Add font controls and a shape drag handle. Show the short shape color
palette, and keep toolbar dividers within their rows. Add frame, group,
and clipboard actions to the More menu.
Copy selection links with the workspace origin. Encode document blocks
and surface elements in their own query parameters.
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.