mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 07:06:28 +08:00
c37df9fb94
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced file, image, and document attachment support in the input box, including new UI components for managing and previewing attachments. - Added a searchable document picker view and a file attachment header with interactive management options. - Enabled an attachment management controller for viewing and deleting attachments. - Improved image attachment bar with horizontal scrolling and removal functionality. - Enhanced error handling for file attachments, providing user-facing alerts. - **Improvements** - Updated attachment menus for clearer file type indications. - Streamlined attachment handling logic and UI updates for a smoother user experience. - **Bug Fixes** - Addressed error notification by replacing console logging with user alerts when file attachment issues occur. - **Refactor** - Replaced and reorganized the input box view model and attachment bar for better modularity and maintainability. - **Chores** - Updated asset catalogs to include new attachment icons for various file types. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
iOS
AFFiNE iOS app.
Build
yarn installBUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/ios buildyarn affine @affine/ios cap syncyarn affine @affine/ios cap open ios
Live Reload
Capacitor doc: https://capacitorjs.com/docs/guides/live-reload#using-with-framework-clis
yarn installyarn dev- select
iosfor the "Distribution" option
- select
yarn affine @affine/ios sync:devyarn affine @affine/ios cap open ios