- 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>
Link previews: link cards for GitHub issues, pull requests and
repositories, Linear issues and Figma files are read through the
services' APIs and show a status pill (Open, Merged, In Progress…) and a
line of details. Public items need nothing; a workspace's tokens, set by
its admins under Workspace settings → Integrations and checked with each
service before being sealed, reach private ones and Linear.
GET /link-preview takes the workspace; the link card stores kind,
status, state and meta.
Slack: each workspace connects its own Slack app, made from a manifest
the settings page fills in. Docwell posts chosen page and comment events
to a channel (edits at most every 30 minutes per page), previews links
to Docwell pages posted in Slack, and answers /docwell with a search as
the member whose email matches the Slack user, shown only to them. Only
pages every member can open are posted or previewed. Requests from Slack
are signature-checked; the webhook dispatcher gained listeners so Slack
follows the same events.
Confluence: a space's HTML export imports with its page tree (from
index.html, else breadcrumbs), links between pages, pictures and
attachments. Panels become callouts, code macros code blocks with their
language, expand macros toggles, task lists to-dos.
New collection workspace_integrations (schema snapshot regenerated),
OpenAPI and generated Go, TypeScript and Dart types, strings in all five
languages, the user guide, and a rebuilt mobile editor bundle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A relation column can now mirror a relation of the related database
(relation.back). The mirror stores no links: it lists the records whose
relation links to each row, so both sides always agree.
- "Show on … too" in a relation's Related database menu adds the mirror
to a database on the same page in one step.
- Pointing a relation at a database whose relation already links back
offers to mirror it, across pages too.
- Editing a mirror cell changes the stored side when it is on the same
page; a mirror of another page's relation is read-only and says where
to change the links.
- Filters, sorts and rollups read mirrors like other relations; paste
and delete skip them.
- docwell-server's exports work out same-page mirrors.
Strings are translated into all five languages, the user guide covers
the feature, and the mobile editor bundle is rebuilt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase F follow-ups (ADR-16):
- Calendars: events are now stored in calendar_events by a
calendars.sync job (every 15 minutes per account, 90 days back and
400 ahead), so journals open at once and keep showing events while a
source is down. Google accounts connect with OAuth (calendar.readonly)
through DOCWELL_GOOGLE_CLIENT_ID/SECRET; reconnecting renews access.
- OneNote: whole notebooks import through Microsoft Graph (Notes.Read,
DOCWELL_MICROSOFT_CLIENT_ID/SECRET/TENANT) in the background, with
section groups, sections, subpages, pictures and attached files. The
Microsoft sign-in lives in memory for an hour and is never stored.
- Readwise: an hourly sync with the person's sealed access token; new
books get a page under "Readwise", new highlights are appended once.
New readwise_syncs collection.
- internal/oauth: signed states and one callback route per provider,
routed by purpose. directory gains ImportConverted and CallerOf.
- Phone app: "Today's journal" on the home screen and calendar events
on journal pages.
- Web clipper: `npm run package` builds Chrome/Edge, Firefox and source
zips; store/ holds listing texts, permission notes and a privacy
policy.
- OpenAPI, generated clients, translations, compose and .env examples,
and user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase F of the AFFiNE plan (ADR-16):
- Calendars: people subscribe to iCal feeds (webcal, Google's secret
address, Outlook) or CalDAV accounts in account settings; their
events show at the top of journal pages in the reader's time zone.
Repeats, moved and cancelled occurrences, IANA and Windows zones
are handled. Events are read on demand and kept in memory for 15
minutes; passwords are sealed with DOCWELL_SECRET_KEY; sources
follow the webhook address rules. New calendar_accounts collection.
- Importers: zips of Markdown (Obsidian vaults, Bear TextBundles and
.bear2bk, Readwise's Markdown, Docwell's own space export) keep
folders as pages, resolve [[wikilinks]] and embeds by name, and turn
front matter and #tags into properties and tags. OneNote .mht
exports, Readwise CSV, and any other CSV as a database page.
- Exports: PNG of a page drawn in the browser, print styles that print
only the page in the light theme, and workspace snapshots (records,
Yjs states, JSON and files in one zip) that restore as a new
workspace. Old ids are swapped byte for byte inside the Yjs updates,
so links point at the restored pages and comments stay anchored.
- Web-Clipper/: a Manifest V3 extension for Chrome, Edge and Firefox
that saves the article or the selection as Markdown through the
import API with a personal API token.
- OpenAPI, generated clients, translations and user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Databases (ADR-13 follow-ups):
- Relation properties link records to another database, on the same page
or on any page the reader can open (read live and read-only, like synced
pages). Cells list the linked titles; clicking one opens the record.
- Rollup properties work out counts, sums, averages, medians, min/max,
ranges, earliest/latest dates and checked counts over related records.
Neither is stored: views compute them before drawing (linked.ts), so they
follow both databases live, and rollups sort and filter as numbers.
- Exports (Markdown, HTML, PDF, Word) resolve them for same-page databases.
- A record opens as a full page at /p/<page>/r/<database>/<record>, with
"Open as full page" on the side panel and "Back to the page".
Edgeless mode (ADR-14 follow-ups):
- History previews show a version's canvas and count canvas changes.
- Comments can be anchored to canvas elements (anchor {element}); elements
with open threads show a badge that opens the thread.
- Workspaces choose how new pages open (workspaces.default_page_mode); the
per-device choice now defaults to following the workspace.
- Phones edit the canvas once a page is opened for editing; the page note
shows the page title.
Languages:
- The admin panel speaks English, Polish, German, French and Spanish, with
a picker sharing the web app's setting and a key parity test.
- The phone app speaks the same five, follows the phone's language (and
Android's per-app language setting), and has its own parity test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Public pages follow "#b-…" and "#r-…" links like the page view does,
and their block and record links copy the public address. The retry
logic is shared as followLink (Packages/editor/src/hashlinks.ts).
- Search indexes each database record as its own document (from the
page's content_json), returned with a "record" field and opened beside
its page. Filter-only listings stay pages only; removed records and
trashed pages drop out. The index mapping version is bumped, so it
rebuilds once.
- Phone app: search lists records and opens them through a new
"follow" bridge message.
- Guide updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
Word export: pages download as .docx from the page menu and from
GET /pages/{id}/export?format=docx. The file keeps headings, alignment,
lists, to-dos, quotes, callouts, code, tables with a repeating header
row, text formatting, colours, highlights, links and the page's images.
Word import now reads callouts, to-dos and shaded highlights, so a page
exported to Word imports back as it was. The user guide says how to move
pages to Notion, whose Import reads Word and Markdown files.
Editor:
- Columns move like rows: a grip on the column's top edge drags it, and
the table toolbar and Ctrl+Alt+Left/Right move it from the keyboard.
Row and column moving share tablemove.ts.
- Ctrl+Shift+C copies a link to the block the cursor is in.
- Headings 4 to 6 sit under "Other headings" in the slash menu; a search
still finds them directly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
- "@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>
- Search can be narrowed by space, author and last change; the index
records a mapping version and rebuilds when it changes.
- Editors can pin up to 12 pages to a space's home.
- Find and replace in the editor (Ctrl+F), with match case.
- Pages can be set to full width and a serif or mono font.
- Tailwind now scans the editor package, so its classes are generated.
- Fix golangci-lint findings, including push device names that were
saved before being trimmed and capped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
Editor blocks:
- Math with KaTeX, inline ($...$) and as blocks ($$...$$). Clicking a
formula opens its LaTeX source.
- Mermaid diagrams. The text is stored and each client draws it, with a
live preview while editing. Mermaid uses strict security.
- Draw.io and Excalidraw drawings, stored as SVG attachments that carry
the editable scene. Draw.io opens diagrams.net in a frame (address set
by DOCWELL_DRAWIO_URL). Excalidraw loads React only when opened.
- A table of contents block that follows the page's headings.
- "[[" page links, and following a page link inside the app (Ctrl/Cmd
click while editing).
Mermaid and Excalidraw are handed in by the host, so the single-file
mobile bridge leaves them out. There diagrams show as their text and
drawings as pictures.
Pages now record which pages they link to, kept current on every save
and backfilled at startup. A page lists the pages linking to it that
the reader can open. Any editor can mark a page as a template, and an
empty page offers the workspace's templates. Applying one copies its
content as a history version, and an untitled page also takes the
template's title.
Markdown and HTML export keep Mermaid, math, drawings and mentions, and
Markdown import turns mermaid fences back into diagrams. Attachments
named .svg are typed image/svg+xml and served inline under the existing
sandbox CSP, so drawings display.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docwell-server converts between page documents and Markdown or HTML (a
new convert package), so every client and the API get the same results.
Pages export as a download from the page menu; spaces import one page
per .md, .txt or .html file, taking a leading level-1 heading as the
title. Import keeps only what the editor schema knows, which drops
scripts, styles, event handlers and javascript: links; tables become
one paragraph per row until the editor has tables.
The UI package gains DwMenu, a small accessible action menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>