Store compact row references in the sidebar tree index instead of full
row strings. Build full row data only for rows inside the visible
window, and hash structured keys into numeric element IDs.
Replace dynamic snapshot format strings in sidebar and outline rail
elements with fixed static literals via `ui::snap_id!`.
Use the hover overlay color for the sidebar row action buttons, as the
Web `IconButton` does. The hover test now checks the section add button.
Open trashed documents from Trash in a read-only pane, split view, or
tab. Exit presentation mode when the active document moves to the trash,
and render the Trash preview footer with 56x36 px restore and permanent
delete icon buttons and confirmation dialog.
Share the live Properties view and inline TagInput across the right
sidebar and the Page information dialog. Support UTF-16 IME filtering,
inline tag creation, scrollable candidate keyboard reveal, empty-query
tag chip selection and removal, and modifier-click navigation on
outgoing links and backlinks.
Add StartPointArrowIcon, EndPointArrowIcon, LayerIcon, StopAiIcon, and ExpandCloseIcon to the icon token generator. Replace all five inline SVG constants in the presentation toolbar with static IconDef paints.
Remove the hand-written fullscreen exit stroke path and adopt the official ExpandCloseIcon vector shape. Add static source and rasterized alpha-mask regression tests for the presentation toolbar icons.
Explorer row keys now read tag names from the shared document views
without a copy. Each frame of the docs explorer built a new string for
each tag of each document. With 1,024 documents and 4 tags each, one
frame now makes 4,182 fewer allocations (11,524 to 7,342).
Topbar and explorer icon buttons use the 4px radius and the hover
overlay of the web IconButton. The explorer row menu uses the vertical
"more" icon. The active app tab has a 1px innerBlackBorder ring outside
its bounds. A three-pane divider draws a 3px line in the primary button
color with a 15% soft glow (0 12px 21px 4px) on hover and while it
resizes.
Topbar, tab, menu and divider controls take numeric element IDs, and
their snapshot IDs build only in harness builds. An app tab keeps its
element ID by tab ID, so its state follows the tab when tabs before it
close.
Scroll the settings navigation and page panes when Tab, Shift+Tab, or control keys focus or activate an offscreen control.
Refresh the window inside FocusStop::reveal when the scroll offset changes, attach Enter and Space reveal handlers to selected switch options without writing unchanged preferences, and derive compact navigation from the optional scroll region.
Add short-window forward, reverse, and wheel-scrolled keyboard regression assertions across 700x480, 640x400, 390x640, and 800x260 viewports.
Keep the triangles of a path in an Arc with an identity. A change gives the triangles a new identity. The process never gives an identity twice.
Paint a path without a copy of its vertices. The scene path shares the triangles and keeps the scale factor and the paint transformation. The vertex shaders scale and transform the vertices in the order of operations of the CPU code. The Metal shader turns off fast-math contraction and reassociation for this.
A GPU can fuse a multiply and an add into one rounding. For a rotation or a skew, the renderer thus keeps screen positions that the CPU placed. The GPU still scales the vertices for the local clip.
Keep the triangles of each identity in a pool on the GPU. Append only the triangles that no earlier frame drew. Replace the pool when it is full or when the frame uses less than one eighth of it. Never write to a part of the pool that a frame can read. After a failed upload, forget the pool.
Draw each path with one 144-byte instance record. Use this design for storage buffers, the WebGL2 texture transport, and Metal. Write WebGL2 instance data and pool data in blocks of whole rows. Each array needs a maximum of four texture writes.
Remove the frame paths of wgpu and Metal that no caller can reach.
Composite the hover overlay color over the center peek button background
in both themes so dark mode shows a clear hover state.
Align the peek card and control rail breakpoints with the web modal rules
for compact (<= 640 px), medium (640..=1024 px), and wide (> 1024 px)
viewports.
Add focus-visible accent rings to Settings tabs, switch pills, the font-size slider, and the close button without layout shifts. Keep property radio groups unchanged. Test keyboard focus rings and mouse focus suppression with pixel checks in Light and Dark themes.
Apply the editor font settings to split panes and Center Peek.
Save the font settings on Web Desktop and load the serif font assets.
Give full screen presentations the desktop viewport.
Restore the workbench when the presentation or its document changes.
Show tag names in the workbench. Skip writes for an in-place folder drop.
Set a separate time limit for the first document request.
Use the same readiness deadline for the home and document routes.
Run each negative test in a separate context on one Chromium process.
Start both Swift links and Simulator boot after Cargo.
Stop the other tasks at the first failure and keep its exit code.
Record startup timings and give the smoke stack sample its own deadline.
Sign the Simulator smoke binary to allow host stack sampling.
Use a temporary storage directory for the smoke process.
Virtualize the right sidebar outline list inside one scroll container. Keep the 38 px row stride (28 px row and 10 px gap). Cache shared strings for heading rows. Align outline row hover to hoverOverlay. Align the inspector tab switcher to Web RadioGroup active, shadow, and hover tokens.
The Page width property used the Settings segmented control. Its dark
selected fill and track had almost the same color. Settings also changed
the shared palette with fixed colors.
Changes:
- Render the Page width property as the Web PropertyRadioGroup: a 194 px
track, 20 px options, regular text, and 4 px gap.
- Paint the Settings choices and the property group with the switch
theme tokens. A selected option uses the active color and shadow.
- An unselected option that you can change uses the switch hover color.
A read-only option does not change on hover.
- Keep a 24 px hit target for each option. The option pill stays in the
track padding.
- Remove the fixed Settings palette colors. Settings secondary text uses
the secondary text token.
- Use the layer hover overlay on the Settings close button and on the
inspector link rows.
Use the same editor features in Desktop and Playground.
Keep calendar and settings snapshot IDs in harness builds.
Check ten more snapshot prefixes in production Wasm.
Add a Table of Contents header with a button that opens the sidebar.
Use the BlockSuite icons in the document menu and the outline header.
Keep the last outline tick when the rail has room for it.
Clear the active outline entry when its block stops being a heading.
Each Page pane now marks its own active heading, as the Web 0.27.5
outline viewer does. The editor uses the layout and the scroll offset
of its own viewport. It selects the last laid-out heading whose center
is above the viewport center plus the heading height.
A click on an outline entry keeps that entry active until the page
scrolls again. A click on the title scrolls the page to the top.
The rail shows only on pages with at least one heading. A page with a
title lists the title first.
Inactive ticks are 20 x 2 px in black-10.
The active tick is 24 x 2 px in the primary text color. Ticks keep a
16 px pitch while they fit, then shrink to 2 px, and the rail clips the
rest.
Entries use weight 600, and the active entry uses the emphasis text
color. When the panel opens, the list centers the active entry. While
the panel stays open, only the wheel scrolls the list.
Tests: cargo test, cargo clippy, cargo fmt, check-invariants.sh,
check-l0-tier-a.mjs.
Extract 15 official BlockSuite shell icons into ui-tokens and regenerate icons.rs.
Replace the 13 inline SVG constants in packages/frontend/mobile with the generated icons.
Use FolderIcon for explorer folder rows and SidebarIcon for the workspace drawer button.
Keep RTL mirroring and light or dark tinting across mobile views.
Center peek:
- Remove the card shadow. The web card shows no shadow because a
parent of the same size clips it. The old shadow darkened the
backdrop outside the card.
- Use the overlay panel background for the card and keep the primary
background for the document body.
- Use `--affine-v2-centerPeek-buttonBackground` for the side controls.
Sidebar:
- Use `--affine-v2-layer-background-hoverOverlay` for the hover and
active state of the navigation rows and for the hover state of the
section headers.
- Use `--affine-hover-color` for the hover and active state of the
tree nodes.
Quick search:
- Use the secondary background for the selected row and the tertiary
background for the shortcut keycaps.
Remove the unused `danger_soft` and `success` palette fields.
Add light and dark tests for each color. A pixel test makes sure that
the peek view changes no pixel outside the card except for the
backdrop.
Virtualize the Backlinks section in Properties with `ui_kit::VirtualList::fixed` on the outer scroll container. Measure the Backlinks top offset and viewport height with lightweight canvases so only visible and overscan rows mount. Clamp scroll offsets when backlinks shrink or move to Trash.
Update the empty Outline message in the inspector to match Web 0.27.5 (`Use headings to create a table of contents.`). Move `resolve_tag_color` and `FALLBACK_TAG_RGB` into `views_extra/mod.rs` so the inspector and docs explorer share one color source.
Split `views_extra/right_sidebar.rs` into `right_sidebar/{mod,outline,properties,tests}.rs` and split `views_extra/tests.rs` into `tests/{mod,outline_rail,virtual_rows}.rs` to keep each file below the 800-line limit.
Move Desktop startup to a module and read fonts and workers from its manifest. Allow the HTML preview wheel bridge by hash on both hosts. Check the hash against the source and verify that Chromium returns wheel input to the canvas.
Check the strip width after layout. Keep manual scroll when the user moves the active tab out of view.
Show each focused tab as keyboard focus moves. Keep the close buttons in the tab order.
Keep the week picker mounted at narrow pane widths. Move Favorite and
View info to the journal menu. Show Today on journal documents when the
pane has at least 300 pixels.
The app tab strip built every tab in each frame. With 1,001 tabs, a hot
frame allocated 12.0 MB. The strip did not scroll, so the tabs at the
end were not available.
Scrolling:
- Each tab is 200 px wide with a 4 px gap.
- A wheel or a trackpad scrolls the strip sideways.
- The scroll position stays in the content range after tabs close.
- A change of the active tab scrolls that full tab into view.
Mounting:
- The strip mounts only the visible tabs and two tabs on each side.
- Each tab keeps its pane index in its element ID and close button.
- When the tabs fit, the layout is the same as before.
Tag chips:
- The All Docs list and grid now draw a tag without a color in #64748b.
- The document inspector uses the same color for such a tag.
Move the editable block reconciler of `mcp.rs` into the new module
`mcp/reconcile.rs` and remove redundant work from it:
- Return early when a sequence has no old blocks and no new blocks.
Leaf list items no longer allocate an empty nested reconcile state.
- Use one `visited` set for all exact-index extractions.
- The flavour phase now calls `apply_block_update_in_place` directly.
An old block that the exact phase did not take cannot be equal to an
unassigned new block, so the second extraction is unnecessary.
The image update in `mutate_doc_body_delta` keeps the equality check.
Add test-only work counters. A unit test rewrites 500 and 2,000 list
items and makes sure that each old block is extracted once, that one
sequence runs, that all block IDs stay the same, and that the work is
linear.
The 2,000-item integration test no longer measures wall-clock time.
It now makes sure that the 2,000 list block IDs stay the same, that all
items are in order, and that the size guard rejects a body above 1 MiB.
Remove the sidebar toggle from Appearance settings.
Move Display language from a separate tab into the Theme section under Color Scheme.
Remove the static export placeholder from Storage settings and update its subtitle.
Use shared shadow tokens for menus, Quick Search, and dialogs.
Use the Web V2 scrim for shell dialogs and keep the Settings scrim.
Resolve All Docs tag colors from workspace definitions and the active theme.
Model: GPT-6.2 Sol.
Checks: Cargo tests, Clippy, rustfmt, frontend invariants, and L0 Tier A.
Pass the effective mode to tab and split navigation.
Focus the target pane when a document tab restores its split.
Keep the document mode from an inline reference or Center Peek.
Clear the active Edgeless tool or selection on the first Escape.
Close Center Peek and restore source focus on the next Escape.
Compare the full set of document IDs after the Desktop reload.
Run the test with the optimized Wasm bundle and save its screenshots.
Model: GPT-6.2 Sol.
Checks: Yarn lint, Cargo tests, Python YAML, and Node.js gates.
Find the last queued delete for each document. Discard failed updates
before that delete and keep updates that follow it.
Model used: GPT-6.2 Sol.
Tests: Node.js and Chromium.