Commit Graph
7618 Commits
Author SHA1 Message Date
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 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
DarkSky cbd18698ad feat(mobile): add detail mode switch, toc sheet, readonly toggle, and journal conflicts
Match the 0.27.5 mobile detail page:

- Open each document in its primary mode. The DocActions sheet starts
  with the Page | Edgeless view switch and adds Default to Edgeless mode
  and Default to Page mode, which write primaryMode to db$docProperties.
- Show the Read only / Editing toggle in the header of an editable page
  in Page mode. The toggle gates Page edits in the embedded editor.
- Add View table of contents. The sheet lists the title and the H1-H6
  headings, marks the heading at the reading position, and scrolls the
  editor to the tapped entry.
- When a date has more than one journal, add the journal conflict list
  to the page menu and to the Journals tab. A tap opens a journal. Its
  operations remove the journal mark or move the journal to trash after
  the Delete doc? confirmation.
- Scroll each sheet over its measured content height instead of a fixed
  360 px range, so a long outline reaches its last heading.
2026-12-04 17:47:47 +09:00
DarkSky a5e7ec4549 ci(frontend): check 215 snapshot prefixes in production Wasm
Add 38 snapshot prefixes for the collection editor, properties, header
dialogs, overlays, and block controls to ZERO_IN_PRODUCTION after the
existing 177 prefixes. Check that production playground and desktop Wasm
files have zero matches, and add Section 11 unit tests.
2026-12-04 17:33:09 +09:00
DarkSky 9312cb424b feat(desktop): add horizontal drag reordering to app tabs
Users can drag app tabs horizontally with the left mouse button after a 6px threshold.
Pressing the close button, middle clicking, right clicking, and sub-threshold clicks keep their existing behavior.
Pinned tabs stay within the pinned section and unpinned tabs stay within the unpinned section.

A 2px accent vertical drop indicator marks the target slot while the dragged tab fades to 0.6 opacity.
Leaving the vertical tab strip band keeps a sticky tab target without horizontal updates in the body.
Leaving the trailing spacer clears the target.
Releasing drops the tab in place, keeps the active tab and split panes intact, and saves SavedTabs.
Pressing Escape cancels an active drag without changing tab order.
2026-12-04 17:11:27 +09:00
DarkSky fd4e513b7f fix(desktop): match the web header delete confirmation 2026-12-04 16:42:43 +09:00
DarkSky 5f544c7871 feat(editor,desktop): add Open dropdown menu and desktop open modifiers for references and embeds
- Add Open dropdown trigger and menu panel (Open this doc, Open in new tab, Open in split view, Open in center peek) to `@reference` popup and `EmbedLinkedDoc` / Page `EmbedSyncedDoc` toolbars.
- Disable `Open this doc` on self-references without cross-mode switching, clamp menus in narrow/short viewports, close dropdowns on Escape/outside click, and hide desktop-only items on compact/mobile/unregistered hosts.
- Add `OpenDocRequest` / `ReferenceOpenMode` routing in `PlaygroundView` and `DesktopShellView`, handling active pane, browser/app new tab, split view (`>= 640px`), center peek focus/promotion, and block reveal params.
- Align `@reference` direct click handling in Page and Edgeless Active Note with `Shift+Click` (peek), `Cmd/Ctrl+Click` and middle-click (new tab), and `Alt+Click` (split view when `>= 640px`).
- Add overlay and desktop UI tests covering dropdown dispatch, self-reference gating, compact fallback, peek promotion, and pointer modifiers.
2026-12-04 16:39:48 +09:00
DarkSky 83b01c45e7 feat(desktop): add custom document properties 2026-12-04 16:34:31 +09:00
DarkSky 5384a7074e feat(desktop): add collection editor with docs and rules modes
Add the `Pages | Rules` collection editor modal, rule filters (including
local calendar day `Created`/`Updated` evaluation via `LocalZone`,
viewport-clamped scrollable filter menus with full keyboard navigation,
and `Reset` input state synchronization), and `NavigationEdit::UpdateCollection`
CRDT persistence.
2026-12-04 16:33:29 +09:00
DarkSky c75ba322af fix(desktop): align QuickSearch modifiers, split boot reload, and tab middle-click
- Remove active doc row shortcut pills in QuickSearch and route plain Click/Enter and narrow (<640px) Alt in place on the active view while preserving the current tab ID across Native and Web Desktop (`Shift` -> CenterPeek, `Cmd/Ctrl` -> New Tab, `Alt` >=640px -> Split View).
- Key tab-strip middle-button press/release tracking by `(tab_id, view)` on each view button so cross-view release cancels instead of closing the tab.
- Keep `?split=1` and explicit `?mode=page|edgeless&split=1` URLs idempotent across initial boot and reload (`focus_pane(0)`) and restore saved tabs on direct `bind_local_workspaces` mount before the first save.
2026-12-04 15:19:35 +09:00
DarkSky 67369ef84c ci(frontend): expand snapshot coverage in production Wasm 2026-12-04 14:15:53 +09:00
DarkSky 948c45e5f2 feat(desktop): match the web tab strip, tab menu, and header commands
Tab strip:
- Show a 16 px route icon and the title of each view of a tab. A click on
  a view selects the tab and focuses that pane.
- Show the close button of an inactive tab only under the pointer.
- Close a tab when the middle button goes down and up on that tab.
- Move Shift+Tab back through the views and the close button of each tab,
  then to the last control of the tab before it.
- Add the tab context menu: pin or unpin, duplicate, open in split view
  or separate the views, close, and close other tabs. Escape and a click
  outside close the menu.
- Show pinned tabs first as compact icon cards with a divider after them.
- Keep the tabs of each workspace in the local store (route, view mode,
  pin state, split views, and selection) and open them again on the next
  start, before the route and the split view of the URL and before the
  first write. A route that the store does not know opens All Docs, and a
  tab without a document that opens closes.

Header and Quick Search:
- Add "View all frames" to the more menu of an Edgeless view.
- Remove "Full width" and "Open in center peek" from the more menu.
- Add the command that sets the width of the open page.
- Replace the theme toggle with the three color mode commands and remove
  the command that splits one document into Page and Edgeless views.

Routes and fixes:
- Remove the Favorites and Folder routes. Home, search, settings, and
  folder history entries show All Docs.
- List the documents of one journal day oldest first.
- Keep the highlighted tag candidate when Backspace removes the last tag.
- Open a document, tag, or collection from the URL only in the workspace
  that the URL names.
2026-12-04 13:35:49 +09:00
DarkSky 538785ef88 feat(editor): add frame and group slash items and tooltip parity
Add `Frame: <title>` and `Group: <title>` rows to the `Edgeless
Element` slash group. Each row inserts an `affine:surface-ref` block
that points to the frame or the group, in one undo step. Like the
`Frame` and `Mind Map` commands, the new reference becomes the only
selected block. The command removes an empty paragraph or list item
that it runs on, and a numbered run after the reference starts again
at 1.

Show the local date as the subtitle of the `Date` rows, and use the
BlockSuite date, mind map, and move icons.

Replace the slash preview card with the BlockSuite item tooltip: the
item's figure above a caption, 6 px past the row, only on rows that
have a tooltip. The figures are data tables of rectangles, circles,
lines, path outlines, and text runs from the BlockSuite tooltip
figures, 68, 89, or 106 px tall. Embedded screenshots show as plain
areas.

Paint the note shadows and borders in frame thumbnails, so a white
note shows on a white background.

Read Web Desktop `/desktop/?workspace=&doc=` links like workspace links
when they are pasted on the canvas, and keep their `mode`, `blockIds`,
and `elementIds` parameters on the linked document card.

Add tests for numbered list renumbering across drag reorders and for
one undo of each reorder.
2026-12-04 13:24:10 +09:00
DarkSky ed6406b0e0 perf(edgeless): cache selected note order badge layouts
Reuse selected note order badge layouts across canvas frames.
Include the text system and font generation in the cache key.
2026-12-04 13:08:36 +09:00
DarkSky dd0c99b94b perf(desktop): share explorer row keys by view revision
Cache the document order and row keys for each explorer view revision.
Keep the Trash row key vector when the scroll view takes ownership.
Take the new shared row keys when their contents match the current layout.
2026-12-04 12:34:18 +09:00
DarkSky 5847596825 fix(desktop): align explorer trash confirmation with confirm modal
The explorer Delete doc? confirmation uses the confirm modal layout
of the Trash confirmation. The card is 440 px wide. The body scrolls
in short windows. The actions align right and show a focus ring.

The confirmation opens with the focus on Delete.
In a read-only workspace, it opens with the focus on Cancel.
Tab and Shift+Tab move between the two buttons.
Enter and Space press the focused button once.
Escape cancels and gives the focus back to the opener.
2026-12-04 11:51:30 +09:00
DarkSky 581bc4c4c3 fix(desktop): match the web share button and the storage and about settings pages
The top bar share button now uses the geometry of the web primary button:
an 8px radius, 12px medium text and a 16px icon. Icon buttons keep their
4px radius.

The storage page no longer shows a document count. It shows one storage
panel for the active workspace. The panel states what saves the changes of
that workspace:

- A read-only SQLite backup saves nothing.
- A connected session saves the changes on this device and syncs them
  with its server.
- A local session writer, such as the IndexedDB store of Web Desktop, saves
  the changes on this device only.
- Without a session writer, the changes stay in memory.

For a connected session, the panel does not say that a sync completed and
does not name the server.

The workspace kind and sync flag of the showcase data do not change the
panel, because they do not tell what saves the workspace.

The about page shows the app version and the editor version in separate
rows, as the web page does. The desktop build version stays as a
diagnostic row.
2026-12-04 11:06:27 +09:00
DarkSky c37995eb37 perf(client,mobile): borrow link graph keys and reuse drawer filter buffer
Borrow string slices in LinkGraph::backlinks dedup sets so repeat edges avoid cloning Strings.
Skip repeat reverse-bucket scans in LinkGraph::remove_outbound_only for consecutive identical targets.
Reuse one scratch buffer in build_drawer_sections for ASCII case-insensitive matching.
Isolate live_doc_clocks build counts from breadcrumb_builds in DerivedCache and WorkStats.

Tests: cargo test --locked -p affine-client -p affine-mobile, check-invariants.sh, check-l0-tier-a.mjs
2026-12-04 10:46:08 +09:00
DarkSky 49f4e53cac feat(desktop): add sidebar section menus, empty states, and new-tab routing
Align AppSidebar section headers, row menus, and Web new-tab navigation
with AFFiNE 0.27.5:

- Add Favorites, Organize, Tags, Collections, and Others empty-state
  prompts and inline creation actions, plus right-click and three-dot
  menus across non-active document, tag, collection, and folder rows.
- Open document, tag, and collection "Open in new tab" actions as real
  browser tabs on Web Desktop (/desktop/?workspace=...&doc|tag|collection=...)
  and persist tag/collection view routes across reloads via SavedView
  and start.js URL sync.
2026-12-04 10:26:10 +09:00
DarkSky 6f2778bafa feat(desktop): add tag picker toggle and collapsible link sections
Align the document Properties sidebar and the Page information dialog
with AFFiNE 0.27.5:

- Keep all workspace tags visible in the tag picker with checkmarks on
  selected tags, click or Enter toggling, and explicit selection index
  restoration across search filter edits.
- Add collapsible Outgoing links and Backlinks section headers with
  bidirectional Tab and Shift+Tab focus traversal shared cleanly across
  the workbench and modal scopes.
2026-12-04 10:03:27 +09:00
DarkSky 0223894d82 perf(client): score search fields before building hits
Search now scores documents without allocations and builds highlights
only for the documents it returns.

- `PreparedQuery` lowercases each field into a reusable `QueryScratch`
  buffer. ASCII text uses ASCII lowercase and skips UTF-16 tables.
  Other text uses `str::to_lowercase()`, and maps lowercase bytes to
  source UTF-16 ranges only when the field contains the query.

- `score_with_scratch` returns the field score without highlight spans.
  `match_utf16_with_scratch` returns the same result as `match_utf16`.

- With a limit, `WeightedSearchEngine::search_refs` keeps the best
  documents in a bounded heap. Then it builds hits for those documents
  only. Ties resolve as in a stable full sort.

- With no limit, search matches each document once and sorts the hits.

On 4,096 documents with 2,048-byte bodies and a limit of 20, a query
that matches every document allocates 0.04 MB instead of 188 MB.
2026-12-04 09:43:21 +09:00
DarkSky d18b6bbc2c feat(desktop): add right-sidebar frame panel and live thumbnails
Align the Edgeless right-sidebar Frame slide panel with AFFiNE 0.27.5:

- Add the Frame inspector tab with All frames count, Presentation stage
  trigger, empty-state guidance, ordered slide cards, live canvas
  selection sync, and click-to-center navigation.
- Render live frame thumbnails directly from `PreparedEdgelessScene` in
  unified scene paint order across notes, surface elements, and text,
  and fit the active slide on the first fullscreen presentation frame.
2026-12-04 09:30:33 +09:00
DarkSky c0de995075 fix(desktop): restore keyboard control in the Trash confirmation
Keep keyboard focus in the confirmation and return it to the trigger on cancel.
Keep the buttons visible as the message scrolls in short windows.
Use the Web tooltip colors and dimensions for Trash and Center Peek.
2026-12-04 09:27:11 +09:00
DarkSky 564b31e49e feat(desktop): open copied block and element links across web and desktop
Align copied block and canvas element link navigation and table Markdown
export with AFFiNE 0.27.5:

- Parse and route Web `/desktop/?workspace=…&doc=…` links carrying
  `blockIds` or `elementIds` on cold start and live navigation, selecting
  all linked Page blocks in document order or centering and selecting
  linked Edgeless elements across frames.
- Export inline `@reference` page chips inside table cells as `[Title](url)`
  links during `Copy as Markdown`.
2026-12-04 09:24:31 +09:00
DarkSky c7e48d5cb3 feat(desktop): add explorer row menu and journal day activity
Align the document explorer and the right-sidebar journal panel with
AFFiNE 0.27.5:

- Add the explorer row menu (favorite, new tab, split view, center peek,
  duplicate, and move to trash with confirmation), hover favorite star,
  Shift+Click range selection, two-step Escape dismissal, New doc menu,
  and searchable tag switcher breadcrumb.
- Add right-sidebar journal calendar activity dots, local-time-zone
  Created and Updated document lists (pre-parsed TZif and IEEE 1003.1
  POSIX Mm.w.d, Jn, and n date rules), and same-day journal list with
  trash confirmation.
2026-12-04 08:55:43 +09:00
DarkSky 657a2b0b03 perf(ui): skip paint operations on the rounded clip root scene
The rounded clip compiler replays the frame into a scratch root scene.
It then replaces the operation stream of that scene with the original
stream. Before this change, the root scene recorded each operation
again, and the compiler discarded that copy without a read.

Add a private flag on `Scene` that stops the recording, and set it only
on the scratch root scene. Child clip scenes keep their streams, because
the empty-group check reads them. The compiler clears the flag before it
returns the scene.
2026-12-04 08:16:47 +09:00
DarkSky 5968d54aaa ci(frontend): ratchet 83 snapshot prefixes in production wasm
Add 15 verified desktop sidebar, outline, trash, journal, and resize snapshot prefixes to ZERO_IN_PRODUCTION.
Check uniqueness and non-redundancy across the added prefixes in unit tests.
Update packages/frontend/AGENTS.md to list desktop source liveness alongside BlockSuite crates.
2026-12-04 07:44:17 +09:00
DarkSky afdc4c0f54 perf(mobile): search borrowed document views without cloning
Add SearchDocumentRef and WeightedSearchEngine::search_refs so callers search live records by reference.
Keep WeightedSearchEngine::search as a wrapper with identical scores, tie-breaking, and UTF-16 highlight spans.
Route MobileAppState::search_hits through search_refs to remove per-query title, tag, and preview clones.
2026-12-04 07:35:03 +09:00
DarkSky 9a158a3086 fix(desktop): Scroll short modals and wire trash footer Tab focus
Split page property panels into links and tag input modules so modal
dialogs scroll independently inside short viewports. Route Tab and
Shift+Tab from read-only trashed document previews through the trash
footer actions and show button tooltips.
2026-12-04 07:32:18 +09:00
DarkSky 9a23ae7513 fix(desktop): Keep the sidebar resize line visible during drag 2026-12-04 06:09:28 +09:00
DarkSky b817bd251d refactor(frontend): tighten harness gate, ratchet prefixes, and move icon
Check (package, kind, name) tuples for harness Cargo targets in check-invariants.sh. Duplicate target names of another kind now fail the check.

Add desktop.app_tabs.tab., desktop.split.resize., and desktop.explorer.group. to ZERO_IN_PRODUCTION. Update the snapshot prefix test count to 68.

Extract PresentationIcon into ui_tokens::icons::PRESENTATION. Replace the inline SVG in edgeless/present.rs with that static icon definition.
2026-12-04 06:09:28 +09:00
DarkSky 9864df9d5f fix(desktop): Match Web resize handles
Show the same line and shadow on split dividers during hover and drag.
Use the sidebar accent token for the fixed and floating resize handles.
2026-12-04 05:13:44 +09:00
DarkSky c5ee94a3bf perf(desktop): virtualize sidebar rows and strip snapshot strings
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.
2026-12-04 05:13:44 +09:00
DarkSky 099a308c91 feat(desktop): add trash preview footer and inline tag creation
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.
2026-12-04 05:02:25 +09:00
DarkSky 46c44feba2 fix(desktop): Match Web settings navigation and font slider 2026-12-04 04:32:24 +09:00
DarkSky 1a7ad80429 refactor(edgeless): use ui-tokens icons in presentation toolbar
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.
2026-12-04 03:54:49 +09:00
DarkSky 8da16f102f perf(desktop): read explorer tag names in place and align topbar chrome
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.
2026-12-04 03:33:15 +09:00
DarkSky 0bfbaf111c ci(frontend): Run harness-only tests and list iOS Simulators during the build 2026-12-04 02:28:30 +09:00
DarkSky c61a276d07 fix(frontend): Preserve host font configuration
Use default Serif fonts only with the default Desktop font set.
Bundle the Playground Serif fonts on native desktop targets.
2026-12-04 02:24:27 +09:00