The Android and iOS builds still showed Flutter's default icon. They now
use the app icon from Design/docwell-all/2-logo-kit: an adaptive Android
icon (Ink Well background, the symbol inside the safe zone, and a
monochrome layer for Android 13 themed icons) and the full iOS set.
The art lives in Phone-App/assets/icon (SVG sources and their 1024 px
renders); `dart run flutter_launcher_icons` regenerates the platform
icons from it, configured in pubspec.yaml. The tool's change to
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS in the iOS
project was left out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-ups to Phase E (ADR-15):
- Recordings over 25 MB are cut into pieces and transcribed in turn:
with ffmpeg (now in the server and all-in-one images) any format is
re-encoded to 16 kHz mono MP3 in 20-minute pieces; without it, MP3 is
cut at frame boundaries and WAV at sample boundaries in Go.
- PDFs without a text layer are written out by a document-capable chat
model (Anthropic document input, OpenAI file input); Ollama is skipped.
- Phone app: AI answers render as Markdown with tappable citations; the
editing toolbar opens the writing actions on the selection; audio
files get Transcribe. Editor bridge protocol 4 adds setAi,
getSelection, insertMarkdown and transcribe/transcribed.
- The transcript HTML builder moves to @docwell/editor, shared by the
web app and the phone editor.
- An integration test runs chat, Transcribe and writing actions on a
device against a live server; the editor test no longer expects
headings to have only a level.
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>
- Server: accept the mobile editor's https://app.docwell.docwell_mobile
origin on /collab (refused since the page moved off file:).
- Android: allow mixed content when signed in to an http:// server, so
the ws:// collab socket is not blocked from the https page.
- Databases: a touch tap on a cell edits it, since a phone has no
keyboard to type into a selected cell.
- Back button closes an open record, picker or menu first: the bridge
reports open overlays and takes a dismiss message.
- Guide: how databases work in the mobile app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mobile app (Android):
- Sign-in to any server, with authenticator codes. The server address and
token are kept in secure storage; a dropped connection never signs out.
- Workspaces, recent pages, spaces and a foldable page tree; search; the
inbox with mark-read.
- Pages open read-only in the shared editor from their saved content and
join the live document to edit (with the native toolbar). Page links in
the text open in the app (new "navigate" bridge message).
- Comments: threads, replies, resolve.
- "Save to Docwell" in the Android share sheet makes a page from shared
text, with web addresses as links.
- Offline reading: every answer the app reads is kept on the phone, and
used when the server can't be reached.
- Push through UnifiedPush (ntfy, NextPush, ...). The app uses the Android
connector directly; the umbrella package pulls in a native crypto build
for Linux that breaks `dart run` and tests.
Server:
- /me/devices registers a phone's UnifiedPush endpoint and Web Push keys
(new push_devices collection). Each notification is also pushed,
encrypted with RFC 8291 aes128gcm so the distributor can't read it; the
app drops messages that don't decrypt. Endpoints answering 404/410 are
forgotten. Endpoints follow the webhook address rules.
- /collab accepts the apps' own origins ("null" for the mobile editor page,
wails:// for the desktop app). Sign-in is a token in the first message,
not a cookie, so this opens no cross-site hijacking.
Tried on an Android 15 emulator: sign-in, browsing, reading, live editing,
sharing and offline reading. Not covered: push end to end (no distributor
on the emulator), iOS, and YouTube embeds, which refuse to play from the
app's local editor page (error 153).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Repository basics:
- CONTRIBUTING.md and CODE_OF_CONDUCT.md (Contributor Covenant 2.1)
- SPDX AGPL-3.0-or-later headers on all hand-written sources, checked in CI
- golangci-lint (shared .golangci.yml), ESLint and Prettier, all run in CI
API codegen from api/openapi.yaml (npm run generate, drift fails CI):
- Go types via oapi-codegen in Server/internal/api
- a contract test that the router and the spec list the same routes
- Dart models via Phone-App/tool/generate_api.dart; the app uses them
Spike: shared Tiptap editor in a Flutter WebView (ADR-4)
- @docwell/editor-bridge builds the editor into one HTML page with a
versioned JSON protocol; Phone-App hosts it with webview_flutter and a
native toolbar. Integration test passes on an Android API 35 emulator.
- flutter_inappwebview dropped: its Android plugin fails on AGP 9.
Spike: Wails v3 desktop (ADR-11)
- system tray, docwell:// deep links (page and space only) with
single-instance hand-off, and the built-in updater with a required
ed25519 signing key. Verified on Windows.
- regenerated build assets register the scheme and drop template
placeholders.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 0 foundation for Docwell, an open-source knowledge base:
- Database: PocketBase v0.40.6 with initial schema migrations; users is
the built-in auth collection, plus a hook for token checks and
env-driven app URL/SMTP settings
- Server: Go API (health, version, auth endpoints forwarded to
PocketBase, admin user list) with an embedded Vue admin panel
- Web-App: Go static server and Vue/Tailwind app with Tiptap editor,
sign-in, sign-up, password reset and email verification (EN/PL)
- Desktop-App: Wails v3 host reusing the web app
- Phone-App: Flutter app with sign-in
- Shared packages (editor, ui, api-client), OpenAPI spec, Docker
compose (separate services and all-in-one), GitHub Actions CI
- Docs: feature inventory and architecture/build plan
Licensed under AGPL-3.0-or-later.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>