[PR #2981] [CLOSED] feat: Import a page from zip file #5509

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2981
Author: @Mukund-Tandon
Created: 7/11/2023
Status: Closed

Base: mainHead: import_page_from_zip_file_2911


📝 Commits (10+)

  • 00403bc feat: added card in import pannel to support import from notion
  • df3fc83 feat: get the page markdown file and a seperate list of assets from zip
  • 9a975d9 feat: support importing images from notion page
  • 19e6f11 fix: fixed merge conflicts
  • 9411cf3 fix: fixed merge conflicts
  • cf8beb8 fix: fixing git errors
  • 89fae3e fix: support to import images from notion page
  • 62b9b70 fix: fixed merge conflicts
  • 924b9a3 fix: fixed merge conflicts
  • cab3109 fixed: name of page being imported and a error in importing

📊 Changes

322 files changed (+7547 additions, -3465 deletions)

View changed files

📝 .github/workflows/flutter_ci.yaml (+1 -0)
📝 .github/workflows/integration_test.yml (+1 -0)
📝 .github/workflows/release.yml (+88 -2)
📝 CHANGELOG.md (+24 -2)
📝 frontend/Makefile.toml (+13 -1)
frontend/appflowy_flutter/assets/images/home/Favorite/active.svg (+0 -3)
frontend/appflowy_flutter/assets/images/home/Favorite/inactive.svg (+0 -3)
📝 frontend/appflowy_flutter/assets/images/home/favorite.svg (+2 -2)
frontend/appflowy_flutter/assets/images/home/unfavorite.svg (+3 -0)
frontend/appflowy_flutter/assets/images/notion_logo.svg (+1 -0)
frontend/appflowy_flutter/assets/test/workspaces/import_page_from_notion_test.zip (+0 -0)
📝 frontend/appflowy_flutter/integration_test/database_calendar_test.dart (+1 -1)
📝 frontend/appflowy_flutter/integration_test/document/document_create_and_delete_test.dart (+6 -6)
📝 frontend/appflowy_flutter/integration_test/document/document_with_database_test.dart (+88 -0)
📝 frontend/appflowy_flutter/integration_test/document/edit_document_test.dart (+2 -2)
📝 frontend/appflowy_flutter/integration_test/import_files_test.dart (+1 -1)
frontend/appflowy_flutter/integration_test/import_page_from_notion_test.dart (+166 -0)
📝 frontend/appflowy_flutter/integration_test/runner.dart (+6 -0)
📝 frontend/appflowy_flutter/integration_test/share_markdown_test.dart (+3 -3)
frontend/appflowy_flutter/integration_test/sidebar/sidebar_expand_test.dart (+48 -0)

...and 80 more files

📄 Description

Feature Preview

In this PR we are able to import a page from zip file along with assets like images which are supported by AppFlowy

This PR depends on - https://github.com/AppFlowy-IO/appflowy-editor/pull/316

https://github.com/AppFlowy-IO/AppFlowy/assets/71614009/5b932152-d9ce-40d3-b98d-856c4f9ff44f

Fixes #2911

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/2981 **Author:** [@Mukund-Tandon](https://github.com/Mukund-Tandon) **Created:** 7/11/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `import_page_from_zip_file_2911` --- ### 📝 Commits (10+) - [`00403bc`](https://github.com/AppFlowy-IO/AppFlowy/commit/00403bcf99fe20272ddded00cb1da0972e6cfa5c) feat: added card in import pannel to support import from notion - [`df3fc83`](https://github.com/AppFlowy-IO/AppFlowy/commit/df3fc8348618a5a30dd8801edc1dc8b9b22f0449) feat: get the page markdown file and a seperate list of assets from zip - [`9a975d9`](https://github.com/AppFlowy-IO/AppFlowy/commit/9a975d93b4ab8e640b3f155cfe1eb04250c7a6f5) feat: support importing images from notion page - [`19e6f11`](https://github.com/AppFlowy-IO/AppFlowy/commit/19e6f11c64517e417d0694d0e636d17968c5164d) fix: fixed merge conflicts - [`9411cf3`](https://github.com/AppFlowy-IO/AppFlowy/commit/9411cf3db9044e33cd08c5e58bf612e4d8fa64b9) fix: fixed merge conflicts - [`cf8beb8`](https://github.com/AppFlowy-IO/AppFlowy/commit/cf8beb8b61e77fe8470a9dc1dacbe0d3598a6cbe) fix: fixing git errors - [`89fae3e`](https://github.com/AppFlowy-IO/AppFlowy/commit/89fae3ee6ee6fc0f7c55f9f29fd7642ca4af5df6) fix: support to import images from notion page - [`62b9b70`](https://github.com/AppFlowy-IO/AppFlowy/commit/62b9b7032f2a60c45afbef3a86898ff24b3660f9) fix: fixed merge conflicts - [`924b9a3`](https://github.com/AppFlowy-IO/AppFlowy/commit/924b9a3683c560abe77542681256d836c5fb162b) fix: fixed merge conflicts - [`cab3109`](https://github.com/AppFlowy-IO/AppFlowy/commit/cab31093a51530635b4e4dae65a5eb16d264c865) fixed: name of page being imported and a error in importing ### 📊 Changes **322 files changed** (+7547 additions, -3465 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/flutter_ci.yaml` (+1 -0) 📝 `.github/workflows/integration_test.yml` (+1 -0) 📝 `.github/workflows/release.yml` (+88 -2) 📝 `CHANGELOG.md` (+24 -2) 📝 `frontend/Makefile.toml` (+13 -1) ➖ `frontend/appflowy_flutter/assets/images/home/Favorite/active.svg` (+0 -3) ➖ `frontend/appflowy_flutter/assets/images/home/Favorite/inactive.svg` (+0 -3) 📝 `frontend/appflowy_flutter/assets/images/home/favorite.svg` (+2 -2) ➕ `frontend/appflowy_flutter/assets/images/home/unfavorite.svg` (+3 -0) ➕ `frontend/appflowy_flutter/assets/images/notion_logo.svg` (+1 -0) ➕ `frontend/appflowy_flutter/assets/test/workspaces/import_page_from_notion_test.zip` (+0 -0) 📝 `frontend/appflowy_flutter/integration_test/database_calendar_test.dart` (+1 -1) 📝 `frontend/appflowy_flutter/integration_test/document/document_create_and_delete_test.dart` (+6 -6) 📝 `frontend/appflowy_flutter/integration_test/document/document_with_database_test.dart` (+88 -0) 📝 `frontend/appflowy_flutter/integration_test/document/edit_document_test.dart` (+2 -2) 📝 `frontend/appflowy_flutter/integration_test/import_files_test.dart` (+1 -1) ➕ `frontend/appflowy_flutter/integration_test/import_page_from_notion_test.dart` (+166 -0) 📝 `frontend/appflowy_flutter/integration_test/runner.dart` (+6 -0) 📝 `frontend/appflowy_flutter/integration_test/share_markdown_test.dart` (+3 -3) ➕ `frontend/appflowy_flutter/integration_test/sidebar/sidebar_expand_test.dart` (+48 -0) _...and 80 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview In this PR we are able to import a page from zip file along with assets like images which are supported by AppFlowy This PR depends on - https://github.com/AppFlowy-IO/appflowy-editor/pull/316 https://github.com/AppFlowy-IO/AppFlowy/assets/71614009/5b932152-d9ce-40d3-b98d-856c4f9ff44f <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> Fixes #2911 --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [X] I've listed at least one issue that this PR fixes in the description above. - [X] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [X] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:19:03 +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#5509
No description provided.