mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
#### PR Dependency Tree * **PR #15883** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Document creation can now recover incomplete registrations without recreating document content. * Document updates can detect revision conflicts, helping prevent changes from overwriting newer edits. * **Improvements** * Document sync and update handling are improved across desktop, Android, and iOS. * Workspace metadata and legacy document pages are handled more consistently during migration and recovery. * Creator and editor details are better preserved when documents are recovered or compacted. * **Configuration** * Removed the experimental document-merge setting. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
AFFiNE Electron App
Development
To run AFFiNE Desktop Client Application locally, run the following commands:
# in repo root
yarn install
yarn affine @affine/native build
yarn dev
# in packages/frontend/apps/electron
yarn generate-assets
yarn dev # or yarn prod for production build
Troubleshooting
If you have trouble building electron during yarn install, try setting mirror environment variable:
export ELECTRON_MIRROR="https://registry.npmmirror.com/-/binary/electron/"
Credits
Most of the boilerplate code is generously borrowed from the following