e50fc1fe2d2d2dca32d00b07d47eda1d65cd5122
8
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e441880f2f |
Add the block types Docmost has and Docwell lacked
CI / go (Media) (push) Successful in 10m21s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / go (Server) (push) Failing after 19m16s
CI / desktop (ubuntu-latest) (push) Successful in 1h15m48s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / go (Web-App) (push) Successful in 10m27s
CI / mobile (push) Failing after 3m6s
CI / frontend (push) Failing after 7m25s
CI / docker (push) Successful in 46m48s
The slash menu gains Video, Audio, Page break, Footnote, Tabs, Status, Emoji, Subpages, Synced block and a fifth column size: - Video and audio upload a file that plays on the page. - Page breaks show as a labelled line and start a new page in print, Word and PDF. - Footnotes are numbered in reading order and listed at the end of the page. Their notes hold bold, italic, code and links, with a plain copy kept for search. - Tabs hold blocks on several named tabs; which one shows is each reader's own choice. - Status badges are coloured words in the text. - Typing ":" and a word picks an emoji, from the list the page icon picker uses, now kept in the editor package. - Subpages lists the page's child pages, read afresh from the page tree. - A synced block is a synced page that shows one block of another page, made from a copied block link. Exports (HTML, Markdown, Word, PDF) and search handle every new block. Page and space exports list a page's subpages. Labels are translated in all five languages. The phone toolbar gets Tabs, Footnote, Status, Emoji, Subpages and Page break, and the app answers the editor's request for the page's subpages. The bridge protocol goes to version 5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c98b127f1e |
Add columns, suggesting mode, verified pages, scanned PDF search and server translations
CI / go (Media) (push) Successful in 13m40s
CI / go (Server) (push) Failing after 23m20s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Failing after 10m35s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Failing after 3h4m42s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 9m19s
CI / docker (push) Successful in 2h2m57s
- Columns: /columns puts 2 to 4 columns side by side, with widths dragged between them; they stack on phones. HTML export and import keep them (also Notion column lists and Confluence page layouts). - Suggesting mode: edits become suggested insertions and deletions that editors accept or reject one by one or all at once. Text only. - Verified pages: editors verify a page for a while or without end; the verifier is notified when it runs out (migration 1764700000). - Scanned PDFs attached to pages are read by AI for search where a workspace turns it on. - The server writes error messages, emails, digests and phone notifications in English, Polish, German, French and Spanish; the apps send their language with each request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3102a476a6 |
Add databases: table, kanban and calendar views with rows as pages
CI / go (Server) (push) Failing after 4m1s
CI / go (Web-App) (push) Successful in 10m50s
CI / frontend (push) Failing after 6m46s
CI / desktop (ubuntu-latest) (push) Successful in 1h10m39s
CI / mobile (push) Failing after 3m2s
CI / docker (push) Successful in 35m59s
Docs / build (push) Successful in 13m26s
Docs / deploy (push) Skipped
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
Phase C of docs/AFFINE.md (ADR-13).
A database is a block whose records live in the page's Y.Doc, in
ydoc.getMap("blocks") under the block's id: columns, rows (each cell its
own map entry, so concurrent edits to one row merge) and views. Order is
a fractional position per item, so moving a row keeps edits made to it at
the same time. Database edits share the page's undo history.
- Thirteen property types: title, text, number, checkbox, select,
multi-select, date, progress, link, attachment, member, created time
and created by. The column menu renames, changes type (converting the
values), sorts, filters, hides, inserts, moves, duplicates and deletes;
columns resize and drag.
- Table view: keyboard navigation, range selection, typing to edit,
copy and paste with spreadsheets (pasting adds rows as needed), row
dragging, bulk delete, grouping.
- Views in tabs, each with its own filters (all/any), sorts, grouping
and visible properties; kanban grouped by select, multi-select,
checkbox or member with cards dragged between columns; calendar by a
date property with records dragged between days.
- A record opens beside the page with its properties and a body of its
own (a Y.XmlFragment in the row, edited by a second editor).
- /database, Ctrl+G or "Group as database" turns a list into a database;
CSV export and import; a copied, pasted or duplicated database gets
its own copy of the records.
Server: yrs writes each database's records into its node as attrs.data
when it turns a document into JSON, adds them to the search text, and
writes them back on imports, restores and templates. Markdown, HTML,
PDF and Word exports show a database as a table of its first view's
columns. Notion database CSVs import as database blocks with guessed
types. Share links and history previews show databases read-only.
Strings are translated into all five languages, the user guide covers
databases, and the mobile editor bundle is rebuilt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
53dd43cc2e |
Add synced pages, editor settings and split view
Phase B items 7-9 of docs/AFFINE.md. Synced pages: "![[" or /Synced page shows another page inside this one, read-only and live. The copy follows the page over a read-only collab connection (CollabProvider readOnly: no edits, no presence) in a nested read-only editor; it folds to its title and opens the page. The node keeps the page's title, so exports (Markdown, HTML, PDF, Word) and readers without a host show it as a link to the page. Settings: Account -> Editor sets, per device, the text size, full width or a date title for new pages, showing properties and backlinks, and code line numbers. The inbox settings choose which notification types the email digest includes (users.notify_email_off, new migration). Split view: Alt+click a page link, or Open beside in the page menu, shows that page in a side pane on wide screens; it survives navigation and reloads of the tab. The page menu opens pages in a new tab on the web, and Ctrl+[ / Ctrl+] go back and forward. Strings are translated into all five languages, the user guide covers the new features, and the mobile editor bundle is rebuilt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d28f1e02db |
Add tables, to-dos, callouts and the rest of editor parity
The editor gains the blocks and formatting it lacked next to AFFiNE: - Tables with a header row, resizable columns, a toolbar to add, delete, merge and split, and rows that move by a drag grip, toolbar buttons or Ctrl+Alt+Up/Down. - To-do lists (also from "[] "), callouts with an emoji and colour, and headings down to level 6 (Ctrl+Shift+0-6 for text and headings). - Text colour and highlights from a fixed palette that follows the theme, and left, centre and right alignment. - Optional line numbers on code blocks, with a default hosts can set. - PDF attachments show their pages inline; pdf.js loads only then, and the mobile bundle leaves it out. - The selection toolbar adds underline, colour, align, inline math, make a linked page and copy block link. A grip beside each block drags it and opens a menu: turn into, move, duplicate, copy, copy link, delete. - The slash menu adds Today, Tomorrow, Yesterday, Now and New page. The web app translates the new words and makes linked pages as children of the open page. The mobile bridge gets underline, to-do, callout and table commands, so its protocol moves to version 2 and the bundle is rebuilt. docwell-server's converters learn the new nodes: Markdown writes task lists, GitHub alerts and tables and reads them back; HTML keeps colours and alignment and reads its own output back; PDF draws tables, to-dos, callouts and coloured text; Word import keeps tables, alignment, H4-H6 and colours; Notion import turns databases into tables and keeps callouts and to-dos. Imported tables and H4-H6 headings no longer collapse into paragraphs and H3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
84043ba05b |
Add date mentions with reminders
- "@today", "@friday", "@2026-12-01" insert a date; "@remind friday" or the date's popover adds a reminder for the person who set it. - docwell-server keeps a reminders row per person, date and time zone in step with each page and sends a "reminder" notification at 9:00 on the day in that time zone (job notify.reminders). Dates already past when added do not notify. - Exports write dates out; the web and phone inboxes show reminders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
40d515d15b |
Add toggles, embeds, link cards, block links, archive, version diff, space export and desktop 1.0
Editor:
- Toggles (Tiptap Details). Open state is per reader, not saved.
- Embeds for YouTube, Vimeo, Loom, Figma, CodePen, Spotify, Google Docs
and Maps, in sandboxed frames. Other addresses become link cards.
- Link cards with title, description and picture read by docwell-server
(GET /link-preview). The fetcher refuses private, loopback, link-local
and CGNAT addresses after DNS resolution, redirects included.
- Block links: a margin button gives a block a short id and copies
/p/<id>#b-<block>. Opening one jumps to the block and flashes it.
- Markdown, HTML and PDF exports handle the new blocks; HTML import reads
<details> as a toggle.
Pages and spaces:
- History gets a Changes view: block and word diff against the previous
version or the page as it is now.
- Archive: archived pages leave the tree and become read-only but stay
readable; a space's Archive lists them with Unarchive. New migration
(pages.archived_at) and page.archived / page.unarchived webhook events.
- Full space export (GET /spaces/{id}/export): a zip of Markdown or HTML
files with subpages in folders, an index, and attachments under _files/.
Links between exported pages and to attachments become relative paths.
Desktop 1.0:
- Several servers, each with its own sign-in; old settings files carry over.
- Session tokens in the system keychain (go-keyring), moved out of
localStorage on first start.
- Native menu bar (File, Edit, View, Window, Help) with a Server submenu.
- docwell:// links may point at a block.
- Release workflow builds Windows NSIS, macOS DMG and Linux deb, rpm and
AppImage installers and attaches them to the release;
build/set-version.mjs stamps the version into their metadata.
Not yet run: the release workflow, the desktop menus by eye, and macOS or
Linux builds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
ec2c1661b0 |
Add Word and Notion import and PDF export
Import (Import on a space's page list, or POST /spaces/{id}/import):
- Word (.docx, up to 25 MB): Title and heading styles, bulleted and
numbered lists with nesting, quotes, code styles, bold, italic,
underline, strikethrough, links (including HYPERLINK fields) and
images, which are stored as attachments of the new page. Tables come in
as one paragraph per row, as in HTML import.
- Notion export (.zip, Markdown & CSV or HTML, up to 100 MB and 2000
pages, split exports included): rebuilds the page tree, points links
between the pages (relative and notion.so ones) at the new pages, and
stores images and files as attachments. A database becomes a page that
lists its rows, with the row pages under it. The response lists the
pages made at the parent's level.
- Every file is read before any page is made, so a bad file leaves
nothing behind. Archives are capped by bytes actually unpacked, not by
the sizes they declare.
PDF export (page menu, or ?format=pdf): A4 with the Go fonts (Latin,
Polish, Greek, Cyrillic), a bookmark per heading and page numbers.
Images on the page are drawn in (JPEG as is; PNG, GIF and WebP redrawn);
images on other sites are not fetched. Diagrams become a link to their
file and Mermaid charts show their source. Emoji are left out, since the
fonts have none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|