Commit Graph
11986 Commits
Author SHA1 Message Date
DarkSky 350fec7b01 feat(desktop): add interactive workspace settings, properties tab, backup export, and template badge 2026-12-05 07:04:56 +09:00
DarkSky 39248d82a6 fix(desktop): export AVIF images with item data 2026-12-05 07:01:36 +09:00
DarkSky a71e273e4e ci(np): reuse desktop dependencies when building macos bs-harness
Pass `-p affine-desktop` and `--features playground/harness` to build `bs-harness` in the `macos-headless` job. This command reuses the crates from the earlier desktop test step. It stops Cargo from rebuilding shared dependencies with different features.

Also compare `artifacts/macos-run1.json` and `artifacts/macos-run2.json` with `cmp`. This check confirms that both renders write identical snapshot JSON bytes.
2026-12-05 06:53:12 +09:00
DarkSky f24d4291e7 feat(desktop): match the web explorer grid columns and trash select mode
The docs explorer grid shows the number of columns that the web masonry
calculates from the width of the pane. A card has the width of its
column and a height of 1.26 times that width. The last card of a row
keeps its column width.

Grid cards are 24 px apart. List rows are 12 px apart, and a group
header has 12 px above and below it. The side padding follows the width
of the pane, as on the web.

The explorer row cache no longer depends on the grid mode or the width.
A resize that changes the number of columns only splits the rows again.

In a window that is less than 280 px high, the explorer controls wrap
and become smaller, and the side padding is 12 px. Each control keeps
its full width, so you can click it.

The trash keeps its row keys until the document views change. The
"Select all" button shows only in the select mode, as on the web.
Escape or "Done" ends the select mode.

The trash has no "Empty Trash" button, as on the web. To delete all
trashed documents, use "Select all" and "Delete permanently".

After "Clear" empties the selection, the trash stays in the select
mode. Then the select bar disables "Restore" and "Delete permanently",
and a click on a document title selects the document.

The trash opens the read-only preview only outside the select mode.
2026-12-05 06:47:21 +09:00
DarkSky 7ebdec91c7 fix(desktop): preserve database backlink order and limits
Keep discovery order when database names compare equal. Count rows that
link to their own document before the search removes them.
2026-12-05 06:30:02 +09:00
DarkSky b4548df803 fix(mobile): use grapheme boundaries in field hit tests 2026-12-05 05:52:18 +09:00
DarkSky 720873989d fix(desktop,playground): constrain select pickers and table axis menus
Constrain database backlink select pickers inside viewport and
page-information bounds, place table column axis menus below the axis
pill or flip above without covering it in Page and Edgeless modes, and
add regression tests for tag pickers and separated database footer
controls.
2026-12-05 05:41:16 +09:00
DarkSky 9a628d707f feat(editor): add canvas eraser, mind map and link tools, and key shortcuts
Add the Eraser (E), Mind map, and Link (@) tools to the Edgeless creation toolbar. The toolbar
shows 13 tools in one row when they fit. Otherwise it uses the fewest rows (two or three) that
keep each button at full size. Below that width, it uses three rows of smaller buttons.

- Eraser: a drag erases the unlocked items that the pointer path crosses, in one undo step.
  Escape cancels the drag. Targets fade while the drag continues, and items above a target
  stay opaque.
- Mind map: select one of four styles, then click the canvas to put a root and three children
  there in one undo step.
- Link: select a document to insert a 364 x 390 vertical linked-doc card at the viewport center.
  The picker shows above the canvas controls. In a short canvas, its list scrolls, and the
  arrow keys keep the selected row in view.
- K and - turn the note slicer on or off for one selected unlocked note.
- Arrow keys move the selection 1 px, and Shift with an arrow key moves it 10 px, in one undo
  step. In a mind map, arrow keys select the parent, child, or sibling node, and the camera
  pans to show a node outside the view. A printable key on one selected mind map node, with or
  without Shift, starts to edit its label with that character.
- [ and ] send the selection backward or bring it forward by one layer, also on a mind map
  node. Other states pass the key through.
2026-12-05 05:33:33 +09:00
DarkSky a72da88ae3 fix(desktop): align quick search modal and sidebar footer layout
Quick Search now paints the modal scrim on its backdrop and uses the
popover shadow token without the large blur halo. Its result list adds
8px right padding to clear the scrollbar from row highlights and
timestamps.

The Import action moves out of the sidebar new document menu into the
Others section right below Trash. The scrollable sidebar tree adds 8px
bottom padding and separates from the fixed Settings footer with a 1px
top border and 4px vertical padding.
2026-12-05 05:26:16 +09:00
DarkSky 358a6ecf23 fix(editor): align headers, references, and web appearance 2026-12-05 04:59:02 +09:00
DarkSky 9492fb6880 fix(desktop): match property menu icons and refresh cached rows
Read property tables without waiting for the writer.
Retry the property read on the next frame when the writer holds the lock.
Reuse draft filter results and calculate empty preview offsets without a height array.
2026-12-05 04:50:25 +09:00
DarkSky f150cb5604 fix(mobile,hosts): fix keyboard insets, native selection UI, and lifecycle retries
The shell padded the bottom edge by the keyboard height, and the embedded
page editor lifted its keyboard toolbar by the same height again. In Page
mode the editor now owns the bottom edge. The shell gives the editor its
resolved keyboard height, so the toolbar sits directly on the keyboard.

- Hide the TabBar while the software keyboard is up, as 0.27.5 AppTabs
  does. The accessibility tree follows the same rule.
- Move the focus from the editor to the shell when an overlay sheet opens
  over a page, so the keyboard goes down. The drawer keeps its own focus.
- Add NativeSelectionUi to MobileShellView. The iOS shell lets
  UITextInteraction draw the handles, caret, and selection. The Android
  shell draws the handles natively and keeps the GPU caret.
- Scroll a long Search query or drawer filter only as far as necessary to
  keep the caret or the end of the composition in view. The renderer, the
  scroll, and the IME rects and touch offsets read one shaped layout of
  the line, and place it in the field with one transform. A line that fits
  sits at the start edge of the locale, and its glyphs always run left to
  right in text order, also in RTL locales.
- Retry the Android bootstrap from onResume and onNewIntent while the
  allowlist is empty or the shell has not mounted the workspace that
  bootstrap opened. Stop after three automatic retries.
- Send accessibility events only while an accessibility service runs.
  The system clears the focus after the last service stops, and the
  event send threw at that time.
2026-12-05 04:10:13 +09:00
DarkSky 053180699a fix(editor): restore page block shortcuts, horizontal format bar, and narrow More creation items
Restore page drag-handle clicks to select whole blocks with the standard
horizontal FormatToolbar, remove the custom vertical block menu and deprecated
Toggle List creation entry, dedent blocks on Mod+Backspace instead of deleting
them, add Mod+Shift+L/E/R text alignment and Mod+Alt/Shift+Up/Down block move
shortcuts using the document-order start block across forward and reverse
selections, and include Create Table and Create Linked Doc in the narrow
FormatToolbar More menu.
2026-12-05 04:01:00 +09:00
DarkSky 61644812f5 fix(desktop): preserve markdown block-prefix escapes, trailing breaks, and validate AVIF boxes
Escape literal dollar signs and break tags in Markdown text, encode trailing
block line breaks as explicit break tags for lossless roundtrips alongside
inline and block equations, and validate full ISO BMFF ftyp, meta, and mdat
boxes before embedding AVIF images in visual exports.
2026-12-05 03:53:42 +09:00
DarkSky 2e383e1127 ci(np): trim headless harness build and align desktop export and search
Build only bs-harness and touch_dispatch in the headless Linux render step.
Expand the WebAssembly Data snapshot prefix check from 226 to 248 prefixes.
Extract ExportIcon, ExportToHtmlIcon, ExportToPngIcon, ExportToMarkdownIcon, ImportIcon, and PrinterIcon from @blocksuite/icons.
Use the official export icons in the header export menu and hide Export to PDF by default.
Remove document count labels and modifier split routing from Quick Search tag and collection rows.
2026-12-05 03:23:04 +09:00
DarkSky 214e1b53b3 perf(desktop): cache database backlink rows and align the rows with Web
Keep the sorted database backlink rows of a document between frames.
Build them again only when the link graph, the document metadata, a linked source document, or the template flags change.
Read the cells of a row only when the row is open, once for each revision of its document.
Keep the local time zone of the date cells between frames.

Read the template flags with a lock attempt that does not wait.
When another thread holds the session directory, keep the previous rows of the same document.
Read the flags again on the next frame.
Read only the isTemplate field of each parent document.

Sort database and column names with a key that follows localeCompare for Latin text.
Make the parent document link a tab stop that Enter and Space open.
Give the name column of each cell the Web size: 160 px wide, 30 px high, with 4 px padding.
Show the collapse icon at 20 px with the Web primary and secondary icon colors.
2026-12-05 03:13:42 +09:00
DarkSky df91604a2e feat(editor,desktop): edit table text and reorder inspector items
Format text selections in table cells. Keep selections inside paired characters.
Reorder frames and headings in the inspector. Edit frame titles in place.
2026-12-05 03:07:12 +09:00
DarkSky 96709cab51 feat(desktop): add sidebar doc drops and linked doc rows
A doc row that you drag from any sidebar section onto an organize folder
adds a link to that doc in the folder. If the folder already has a link
to that doc, the drop moves the link. A drop on an organize row still
moves that row.

A doc row that you drop on a tag row adds the tag to the doc. The tag
change is idempotent and stays after the workspace opens again.

Escape, or a release outside the sidebar, cancels the drag and writes
nothing.

Doc rows that link to other docs now expand to show the linked docs.
Rows start collapsed. The expansion state uses the full row path, and a
doc that is already an ancestor in the path does not show again. "Add
linked doc" expands the parent row.

The "show linked docs in sidebar" setting is on by default and Web
Desktop keeps it in localStorage. When the setting is off, doc rows
show no arrow and no linked docs.
2026-12-05 02:36:07 +09:00
DarkSky cacab32acd fix(database): preserve clipboard cells and select labels
Write empty text to the Web clipboard. Quote empty cells in single-column TSV rows.

Match pasted select options by their labels. Add missing options and write cells in one undo step.
2026-12-05 02:19:08 +09:00
DarkSky 9afd009dea feat(desktop): add official property and visibility menu icons
Extract FileIcon, HistoryIcon, and ViewIcon from @blocksuite/icons into packages/ui/tokens.

Show the matching Web icon on each built-in property row in the inspector and page information dialog.
Align built-in and custom row icons with the 160px name column, 6px gap, and 16px secondary icon style.

Use ViewIcon and InvisibleIcon in the visibility menu, and show DoneIcon next to the active option.
Add parity assertions for built-in row icons and visibility menu icons.
2026-12-05 02:00:33 +09:00
DarkSky 7605b96e7b feat(hosts): mount MobileShellView in iOS and Android native runtimes
The iOS and Android hosts now start on the mobile product shell (Home,
Explorer, Journals, Search, Settings, and the Page route) instead of one
bare page editor.

- Add a runtime root that is a bare PlaygroundView or a MobileShellView.
  Editor calls go to the root editor, or to the shell's embedded page
  editor while the Page route shows with no sheet or drawer above it.
  Otherwise the focused shell input handler (Search or the drawer
  filter) takes UITextInput and InputConnection text.
- Send every shell touch to Rust outside the page editor, and ask for
  the software keyboard when a touch focuses a shell text field.
- Let the page editor close its overlay on back first, then run
  MobileBackCoordinator. A tab other than Home steps back to Home
  before the app exits.
- Mount the local workspace that bootstrap opened through
  SqliteWorkspaceStore and MobileWorkspaceBridge on every bootstrap
  path. The mount reads only the root document and db tables, and each
  page loads when the shell opens it. A failed load retries the next
  time the shell shows the page.
- Commit shell edits every second on the scheduler clock, and again
  when the app goes to the background. A commit without pending
  changes does no SQLite access.
- Drop text and composition edits while a sheet covers the shell,
  except in the drawer once its filter holds focus.
- Follow the system dark mode while the app runs, and publish the
  shell accessibility tree as Android virtual views with stable IDs
  and accessibility focus.
- Read the allowlist again on a retried Android bootstrap while no
  shell workspace is mounted.
- Keep the bare editor C ABI and JNI entry points for editor tests.
- Add Rust, Swift, and Kotlin tests for routes, IME, Search, sheets,
  back, lazy page loads, autosave, and a SQLite reopen.
2026-12-05 01:38:56 +09:00
DarkSky 4ed954fb1d feat(database): add title editing, view menus, and table commands 2026-12-05 01:20:23 +09:00
DarkSky f8e5ff6ea1 feat(mobile): unlock database editing, experimental flags, doc info, and journal strip
Gate Page and Database edits of the embedded editor only by the
Read-only toggle and trash. Gate Edgeless edits also by the
enable_mobile_edgeless_editing flag, which the Settings Experimental
sheet toggles.

Add the View Info sheet to the page menu. It shows the creation and
update times, toggles tags on the document through the workspace
bridge, and counts backlinks and outgoing links. A connected workspace
takes its tag list from the tag options of the workspace root, so the
sheet writes only tag IDs that the root defines.

Show a week strip below the header of a journal. A day with a journal
replaces the open page, and a day without one opens the Journals tab.
Today shows when the journal or the shown week is not today's, and
returns the strip to this week.

Make the drawer filter a text field. It shares the input handler and
the UTF-16 edit rules of the Search query: caret keys, Shift to extend
from a kept anchor,
select all, and a clear button. Both fields draw the caret at the active
end of the selection and highlight the selected text.

Replace the Sync & Offline, Storage, and Notifications switches that
had no backing service with read-only values. Remove the static sync
pill from the page header.
2026-12-05 01:20:23 +09:00
DarkSky 438c5cff16 feat(editor,hosts): add create-linked-doc conversion with subdoc persistence
Page FormatToolbar `Create Linked Doc` opens the `Create linked doc` title
dialog. The dialog shows the first block as the title when that block is a
heading. `Confirm` moves the whole blocks that the selection touches, with
their subtrees and all their properties, into a new linked page. Code
text, table and database cells, marks, and inline references stay intact.
It puts an `affine:embed-linked-doc` card in their place. A blank title
gives `Untitled`. `Cancel`, `Escape`, or a press outside the dialog write
nothing.

The Edgeless `More` menu adds `Turn into linked doc` for one unlocked
note. This puts an `affine:embed-synced-doc` card with the frame, index,
and connectors of the note in its place. The menu also adds `Create linked
doc` for other unlocked selections. This moves the items, selected notes
included, into a new Edgeless document in their paint order. Then it puts
a 364 x 390 `vertical` card at their center. Both actions use the same
title dialog. Each conversion is one undo step in the source document. The
open-document group of the menu comes before the clipboard group. A menu
that does not fit scrolls its rows with the wheel and does not cover the
toolbar or the creation toolbar. `PageDocSession::export_block_tree`
exports a block subtree with every property for these copies and for
Edgeless copy and clone.

`WorkspaceDocDirectory::seed_created_doc` gives the complete Yjs V1 state
of a new document to the host, so that the content persists. The desktop
host replaces the initial blocks of the store with the seed blocks through
`PageDocSession::replace_blocks_update_v1`. It queues the change for the
connected session. The desktop directory keeps the snapshot of each loaded
document, and of a seeded document that the store does not have yet, so
synced cards show the content after a refresh or a reopen. The client
directory queues the seed with the pending updates of the workspace
database (`enqueue_pending_update`). The mobile host keeps the seed as the
cached CRDT state. The mobile bridge adds a document that the shell
created to the workspace root before it merges the content. New mobile
document IDs come from the intent, or from a random value, for each
workspace. They never reuse the ID of a document in the trash.
2026-12-05 01:01:17 +09:00
DarkSky baac7c3456 feat(desktop): add document import and export 2026-12-05 00:50:59 +09:00
DarkSky ade3fe820a perf(desktop): cache collection editor lists and keep the dialog open
The collection editor matched the rules against every document and
copied the document list on each frame. Keep the two lists in the dialog
state until a value that they read changes:

- Rules: the workspace, the metadata revision, the revisions of the
  custom property tables, the local date, and the draft filters. A draft
  property filter that no saved collection has reads the tables on each
  build.

- Docs: the workspace, the metadata revision, and the search text.

The lists of fixed-height rows calculate the rows in view directly and
do not build a height for each row.

As in the web client, the dialog is persistent. Escape closes only an
open menu, and a click on the backdrop does nothing. Only Cancel and Save
close the dialog.

The footers of the two modes have the web padding of 20 px and 24 px.
2026-12-05 00:47:26 +09:00
DarkSky aed2556c4b perf(desktop): read sparse custom property rows
Scan each row for fields with a current property definition.
Keep a weak reference to the directory so it drops with the session.
2026-12-05 00:37:35 +09:00
DarkSky d74d7f2c3d fix(playground): resolve table drag targets from the current layout
Use the current table layout to draw the drop indicator and move the row or column on release.
Find the dragged row or column by ID on each lookup.
Cache the axis edges and preview geometry until the drag ends.
Borrow the layout key and cell IDs on cache hits.

Check the active mode before opening iframe URL and attachment name prompts.
2026-12-05 00:06:59 +09:00
DarkSky 741ba29652 perf(desktop): cache inspector property rows and backlinks by revision
The inspector read every custom property row and scanned every document
for backlinks on each frame. Keep both reads in the panel state until a
revision that they use changes:

- Rows: the workspace, the connected session, the metadata revision, and
  the revisions of the definition and value tables. A table write without
  a metadata change, such as a remote update, also rebuilds the rows.

- Backlinks: the workspace, the metadata revision, and the link index
  updates. The panel keeps the ordered document ids and reads only the
  documents of the visible rows.

Give built-in and custom property rows the Web name column: 160 px wide,
4 px gap and cell padding, and a value that wraps below a long name. Use
the Number and DateTime icons for the number and date property types.
2026-12-04 23:40:23 +09:00
DarkSky 84fa64fd2d feat(collection): match custom property filters
Saved collections and the rule preview now match workspace custom
properties of the text, number, checkbox, and date types. The rules are the
same as the property filters of the web client.

- An unknown or deleted property, a type without filters, or a method that
  does not apply to the type is an error, as in the web client.

- Compare numbers as JavaScript Number does. A document without a value is
  NaN, so no number comparison matches it.

- All filter scopes share one source of custom properties. A filter reads
  the property type and the value from it when it matches a document.

- The document views, the sidebar rows, the saved collections, and the
  preview read the property tables again when their revisions change. A
  change that no store command made also shows at once. Only a filter by a
  custom property causes a read of the property tables.

- Add YjsTableDoc::for_each_row. It reads only the fields that the caller
  asks for, so other fields of a row cause no copies.
2026-12-04 23:17:18 +09:00
DarkSky c453968923 fix(desktop): align explorer groups and reduce allocations
Remove the dot from the Untagged group header.
Check custom property visibility without allocating a key.
Use static labels and separate snapshot IDs for display options.
2026-12-04 21:58:21 +09:00
DarkSky 25a5e8f9ca test(frontend): check Explorer snapshot IDs and limit wheel diagnostics
Check Explorer snapshot IDs in the Wasm data section.
Limit wheel diagnostics to one second. Keep the original error if diagnostics fail.
2026-12-04 21:55:43 +09:00
DarkSky a7a094f7cc perf(mobile): reduce work in the table of contents
Mount the visible outline rows and cache headings by document revision.
Keep every heading available to screen readers.
Correct the scroll offset when the sheet shrinks.
Expand the mode switch targets and translate both labels.
Stop the journal scan after the second match.
2026-12-04 21:41:53 +09:00
DarkSky 5ab77c6e94 fix(desktop): preserve explorer prefs and align backlink controls 2026-12-04 21:27:45 +09:00
DarkSky 391ab796b1 refactor(editor): store the document menu in each overlay 2026-12-04 20:56:23 +09:00
DarkSky f32d18af76 feat(desktop): add database row backlink properties in doc inspector
Show the rows of databases in other documents that link to the
document, as the 0.27.5 DocDatabaseBacklinkInfo panel does, in the
inspector Properties tab and in the Page information dialog.

- Find the rows from the link graph: a row block of an affine:database
  whose text or embed references the document, also with a query or a
  fragment after the document ID. Skip trashed documents,
  template documents and rows that show no column. Sort the rows, then
  keep the first 100.
- Show one collapsible section for each row. The section lists the
  rich-text, number, checkbox, date, link, progress, select and
  multi-select cells, sorted by column name.
- Open the database block from the section header. A click opens it in
  the active pane, Cmd or Ctrl opens a new tab, and Shift opens a center
  peek. Each path opens Page mode and selects the database block.
- Read and write date cells in the local time zone. A date edit stores
  the local midnight of the day.
- Let the select and multi-select picker search the options, create an
  option from the search text, and rename, recolor or delete an option.
  The options scroll in a viewport up to 200 px tall under the search
  field. Down and Up in the search field go to the options, and Escape
  closes the picker before the dialog. The picker shows above the Page
  information dialog.
- Show a link cell as a link. A document link of the workspace origin
  opens in the app with its mode, and other http, https and mailto URLs
  open in the browser. Other schemes do not open. An edit button changes
  the URL in place.
- Write each cell edit to the parent document as one undo step. Close
  the open undo step of the parent document before a rich-text edit.
  Read-only workspaces show the values without controls.
- Show nothing when no database row links to the document.
2026-12-04 20:46:49 +09:00
DarkSky f3551424e8 fix(desktop): restore explorer filters and display preferences 2026-12-04 20:43:32 +09:00
DarkSky 969f0c690e fix(desktop): share the delete confirmation modal
Use one modal for the header, explorer, and Trash. Use the web panel
and button colors. Show a one-pixel focus ring around each control.
Keep the footer visible when the text scrolls.
2026-12-04 20:06:25 +09:00
DarkSky 8a1af9b5d8 fix(desktop): match frame panel clicks and empty state
Select a frame on a preview click. Fit the canvas to it on a double click.
Keep the selection when a click hits the title or number.
Scroll the empty panel to show its message in a short window.
2026-12-04 20:03:01 +09:00
DarkSky 853d67153b feat(editor,desktop): add surface-ref toolbar, peek target selection, and auxclick pairing
A click on a Page surface reference now selects the block, also on read-only
pages. The selected block shows a toolbar with the target title, an Open in
edgeless split button with its Open menu, Copy, Caption, and a More menu with
Copy original link and Delete. Each open path selects the frame or group in
Edgeless. A reference whose target is gone keeps Copy, Caption, and Delete.

Touch hosts show the docked toolbar for the selected block. On a desktop
pointer, a 500 ms hover shows the toolbar. The toolbar, its menus, and the
bridge to them keep it open. Typing hides it.

Center peek now keeps the blockIds and elementIds of the link. The peek editor
selects these blocks or canvas elements when it mounts the target.

A middle-button press on a reference or a linked-doc card now opens a new tab
only when the release is on the same reference. A release outside cancels it.

The Open menu fits a short editor viewport and scrolls its rows.
2026-12-04 19:53:21 +09:00
DarkSky 7460eabf34 perf(client): decode custom properties directly and add property icons
Decode DocCustomPropertyInfoRow records directly in custom_property_definitions with list_rows.
This change removes the intermediate serde_json::Value allocation while keeping per-row fault tolerance for invalid entries.
Also reuse a single scratch string buffer in custom_property_rows instead of allocating a key string per property.

Add NUMBER (NumberIcon) and DATE_TIME (DateTimeIcon) constants in packages/ui/tokens through extract-tokens.mjs.
2026-12-04 19:22:28 +09:00
DarkSky 575b2fdddf feat(editor): add canvas document opening, table conversion, and URL autolinks 2026-12-04 19:13:57 +09:00
DarkSky 1916183e6c fix(desktop): cancel tab drops outside the window
Clear the drop target when the pointer leaves the window.
Keep sticky tab targets inside the window.
Use the trailing spacer to move a tab to the end of its section.
Keep the spacer indicator inside the viewport.
2026-12-04 19:10:12 +09:00
DarkSky c7ba186a91 feat(desktop): add All Docs Display popover and pinned collections bar
Add Display menu grouping, custom property chips, Body toggle, quick actions, and route preferences for the desktop document explorer.

- Add DisplayPreference, RouteExplorerState, and ExplorerPrefsStore with workspace persistence through LocalDocStore and SQLite PinnedCollections sync.
- Default All Docs List mode to UpdatedAt grouping with document Body previews enabled, while explicit user overrides persist across cold reopens.
- Add the Display popover with live measurement anchoring below the Display button, viewport clamping, mouse wheel scrolling, and full keyboard wrap navigation.
- Add the Pinned Collections capsule bar to filter documents by pinned collection, pin or unpin collections, and clean deleted collection IDs.
- Keep the compact single-row explorer header and card layout visible inside 640x204 viewports.
2026-12-04 19:07:18 +09:00
DarkSky c16240473c fix(mobile): expose document description in delete confirm accessibility tree
Expose the localized confirmation body on `app.sheet.dialog`. Add static text child nodes before the cancel and confirm buttons. Attach layout bounds probes to the rendered title and body text. Screen readers now read the target document title and action details with matching bounds.
2026-12-04 19:04:02 +09:00
DarkSky c7a9f20774 fix(desktop): navigate active view in place and add sidebar link modifiers
Update open_doc_in_active_pane_with_mode to navigate the active pane in place and sync the active app tab instead of opening a new tab on plain clicks.

Record per-entry document view modes in pane navigation history so Back and Forward restore Page or Edgeless mode across in-place cross-mode visits.

Add Shift+Click Center Peek, >= 640px Alt+Click split opening, and Cmd/Ctrl+Click or middle-click auxclick background tab opening with immediate SavedTabs persistence to sidebar tree rows.
2026-12-04 19:02:23 +09:00
DarkSky 00d180cefe perf(collection): prepare filters before document scans
Reuse prepared rules for saved collections and compile preview filters before
the document loop. Cache creation dates by workspace root revision.
2026-12-04 18:59:35 +09:00
DarkSky 9cc00b0577 feat(playground): complete mobile keyboard tools and inline input 2026-12-04 18:59:02 +09:00
DarkSky 0df0a8568c ci(frontend): move desktop checks to the lint job on Rust-only pushes
Run the desktop library and harness checks in the lint job for desktop
Rust-only changes. Keep both desktop test commands and workspace Clippy.
Run the upstream Wasm checks for all other changes.
2026-12-04 18:49:51 +09:00
DarkSky 1b4ccaee59 perf(desktop): keep frame thumbnail layouts and paint canvas blocks
The frame panel keeps one canvas state for each document. An edit lays
out only the blocks that it changes. The panel starts a new canvas when
the document, theme, scale factor, layout direction, fonts, store
metadata or editor media revisions change.

The store metadata revision is the revision that the document directory
reads. A text edit in the pane editor does not change it, so the panel
keeps the canvas for that edit.

Thumbnails get page titles, decoded images, PDF previews and the
document directory from the pane editor through a read-only preview
entry. The preview does not use the editor selection, preedit, camera
or local folds.

Frame thumbnails paint image, bookmark, attachment and embed blocks
with the same painter as the canvas.

The Presentation button uses the white token as its background. The
inspector tabs use the web order: Properties, Journal, Outline, Frame.
2026-12-04 18:27:27 +09:00