[PR #4413] [MERGED] feat: support uploading image to cloud storage #6242

Closed
opened 2026-03-23 22:22:21 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4413
Author: @speed2exe
Created: 1/17/2024
Status: Merged
Merged: 1/20/2024
Merged by: @LucasXu0

Base: mainHead: revised_file_api


📝 Commits (6)

  • 1b49fac feat: add object ext
  • ac271ce feat: integrate upload image api
  • ca6c2f0 feat: support uploading local file to cloud
  • 3107913 feat: abstact the CachedNetworkImage as FlowyNetworkImage
  • c819135 ci: fix tauri ci
  • 854d751 fix: integration test

📊 Changes

24 files changed (+688 additions, -123 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/document/document_with_cover_image_test.dart (+0 -2)
📝 frontend/appflowy_flutter/integration_test/document/document_with_image_block_test.dart (+7 -1)
📝 frontend/appflowy_flutter/integration_test/util/editor_test_operations.dart (+16 -10)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart (+7 -3)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/recent_folder/mobile_recent_view.dart (+7 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart (+16 -9)
📝 frontend/appflowy_flutter/lib/plugins/document/application/doc_service.dart (+33 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/document_header_node_widget.dart (+61 -16)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/custom_image_block_component.dart (+97 -20)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_placeholder.dart (+32 -25)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_util.dart (+52 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/resizeable_image.dart (+244 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart (+3 -4)
frontend/appflowy_flutter/lib/shared/appflowy_network_image.dart (+62 -0)
frontend/appflowy_flutter/lib/shared/custom_image_cache_manager.dart (+13 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+1 -1)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -0)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+1 -1)
📝 frontend/rust-lib/Cargo.lock (+1 -1)
📝 frontend/rust-lib/flowy-document/Cargo.toml (+0 -1)

...and 4 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/4413 **Author:** [@speed2exe](https://github.com/speed2exe) **Created:** 1/17/2024 **Status:** ✅ Merged **Merged:** 1/20/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `revised_file_api` --- ### 📝 Commits (6) - [`1b49fac`](https://github.com/AppFlowy-IO/AppFlowy/commit/1b49facaa02685fa04474f116a0468f91b8fbdc7) feat: add object ext - [`ac271ce`](https://github.com/AppFlowy-IO/AppFlowy/commit/ac271cec61f4f1aaecf064f95303a6afed325512) feat: integrate upload image api - [`ca6c2f0`](https://github.com/AppFlowy-IO/AppFlowy/commit/ca6c2f0a97e4eae6db37ac4e5d5cacff8261ceb7) feat: support uploading local file to cloud - [`3107913`](https://github.com/AppFlowy-IO/AppFlowy/commit/3107913a307abe7c9fc5e3186b575249c943b8b7) feat: abstact the CachedNetworkImage as FlowyNetworkImage - [`c819135`](https://github.com/AppFlowy-IO/AppFlowy/commit/c8191354323c600deb9786746c0708ad39cf7cb2) ci: fix tauri ci - [`854d751`](https://github.com/AppFlowy-IO/AppFlowy/commit/854d751092ca5220a9e75c3a059105fd61ce9dc0) fix: integration test ### 📊 Changes **24 files changed** (+688 additions, -123 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/document/document_with_cover_image_test.dart` (+0 -2) 📝 `frontend/appflowy_flutter/integration_test/document/document_with_image_block_test.dart` (+7 -1) 📝 `frontend/appflowy_flutter/integration_test/util/editor_test_operations.dart` (+16 -10) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart` (+7 -3) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/recent_folder/mobile_recent_view.dart` (+7 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart` (+16 -9) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/doc_service.dart` (+33 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/document_header_node_widget.dart` (+61 -16) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/custom_image_block_component.dart` (+97 -20) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_placeholder.dart` (+32 -25) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_util.dart` (+52 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/resizeable_image.dart` (+244 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart` (+3 -4) ➕ `frontend/appflowy_flutter/lib/shared/appflowy_network_image.dart` (+62 -0) ➕ `frontend/appflowy_flutter/lib/shared/custom_image_cache_manager.dart` (+13 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+1 -1) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -0) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+1 -1) 📝 `frontend/rust-lib/Cargo.lock` (+1 -1) 📝 `frontend/rust-lib/flowy-document/Cargo.toml` (+0 -1) _...and 4 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:22:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#6242
No description provided.