Files
AFFiNE/packages/ui
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
..