mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
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.