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>
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>
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>
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>
Pages can now be shared with people and groups beyond their space, and
restricted so that only those grants count. A grant covers the page and
everything under it. Space admins always keep access, and an editor who
restricts a page keeps editor through a grant of their own.
Sharing a page with someone from the organization who is outside the
workspace adds them as a guest. Anyone else gets a guest invite that
carries the page grant, which is made when they accept. Guests see a
"limited" space holding only the pages shared with them.
The page tree, breadcrumbs, search, favorites, recents, trash and import
all follow the page role. Public links skip restricted subtrees. Grants
are cleaned up when a member leaves or a group is deleted.
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>