[PR #5612] [MERGED] feat: duplicate space #6915

Closed
opened 2026-03-23 23:17:15 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5612
Author: @LucasXu0
Created: 6/24/2024
Status: Merged
Merged: 6/25/2024
Merged by: @LucasXu0

Base: mainHead: duplicate_space


📝 Commits (9)

  • 59f9137 chore: merge release/0.6.1
  • e7ba0b2 feat: support duplicating view with icon and cover
  • 4b1b26a feat: support duplicating with children
  • dc3ae42 feat: support duplicating all the child views
  • e16925b fix: cargo clippy
  • fb102e8 feat: add duplicate space entry
  • b4d1ee4 chore: upgrade collab repo
  • b27014d fix: cargo clippy
  • 5f3055a fix: cargo clippy

📊 Changes

35 files changed (+418 additions, -222 deletions)

View changed files

📝 frontend/Makefile.toml (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/space/mobile_space.dart (+21 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/mobile_bottom_navigation_bar.dart (+5 -44)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/appflowy_mobile_toolbar.dart (+21 -33)
📝 frontend/appflowy_flutter/lib/workspace/application/sidebar/space/space_bloc.dart (+89 -41)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_bloc.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart (+13 -1)
📝 frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dart (+5 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/sidebar_space_header.dart (+3 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/space_action_type.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/space_more_popup.dart (+1 -0)
📝 frontend/appflowy_flutter/packages/flowy_infra/lib/uuid.dart (+15 -1)
📝 frontend/appflowy_flutter/pubspec.lock (+2 -2)
📝 frontend/appflowy_flutter/pubspec.yaml (+2 -2)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+7 -7)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+7 -7)
📝 frontend/appflowy_web/wasm-libs/Cargo.toml (+7 -7)
📝 frontend/appflowy_web_app/src-tauri/Cargo.lock (+7 -7)
📝 frontend/appflowy_web_app/src-tauri/Cargo.toml (+7 -7)
📝 frontend/resources/translations/en.json (+2 -1)

...and 15 more files

📄 Description

Feature Preview

Include the below properties when duplicating view/space.

  • icon
  • cover
  • children

https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/cf91c97a-9771-4d34-bd6c-f9547591637a


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • 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/5612 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 6/24/2024 **Status:** ✅ Merged **Merged:** 6/25/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `duplicate_space` --- ### 📝 Commits (9) - [`59f9137`](https://github.com/AppFlowy-IO/AppFlowy/commit/59f9137130057caf0146df706e428fa6412075a3) chore: merge release/0.6.1 - [`e7ba0b2`](https://github.com/AppFlowy-IO/AppFlowy/commit/e7ba0b211ca7b1ef8df9d6e4031bb65e4b171efd) feat: support duplicating view with icon and cover - [`4b1b26a`](https://github.com/AppFlowy-IO/AppFlowy/commit/4b1b26a0cc30d1e79e0677c48879711eba531fc5) feat: support duplicating with children - [`dc3ae42`](https://github.com/AppFlowy-IO/AppFlowy/commit/dc3ae42e55d2a4361ae7f9abf2c8f05d3ae31de4) feat: support duplicating all the child views - [`e16925b`](https://github.com/AppFlowy-IO/AppFlowy/commit/e16925bc7cfc16ded16a44592e75980613899bc2) fix: cargo clippy - [`fb102e8`](https://github.com/AppFlowy-IO/AppFlowy/commit/fb102e880f30f93b38228609f5492df829eeacb9) feat: add duplicate space entry - [`b4d1ee4`](https://github.com/AppFlowy-IO/AppFlowy/commit/b4d1ee452682a0e32805b7f34734878491ff230b) chore: upgrade collab repo - [`b27014d`](https://github.com/AppFlowy-IO/AppFlowy/commit/b27014d8bbe3c2295d121d3a09dc7d9990bd6c4c) fix: cargo clippy - [`5f3055a`](https://github.com/AppFlowy-IO/AppFlowy/commit/5f3055a6a901179cd3803e8107a08a0d7e799cb5) fix: cargo clippy ### 📊 Changes **35 files changed** (+418 additions, -222 deletions) <details> <summary>View changed files</summary> 📝 `frontend/Makefile.toml` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/space/mobile_space.dart` (+21 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/mobile_bottom_navigation_bar.dart` (+5 -44) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/appflowy_mobile_toolbar.dart` (+21 -33) 📝 `frontend/appflowy_flutter/lib/workspace/application/sidebar/space/space_bloc.dart` (+89 -41) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_bloc.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart` (+13 -1) 📝 `frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dart` (+5 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/sidebar_space_header.dart` (+3 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/space_action_type.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/space_more_popup.dart` (+1 -0) 📝 `frontend/appflowy_flutter/packages/flowy_infra/lib/uuid.dart` (+15 -1) 📝 `frontend/appflowy_flutter/pubspec.lock` (+2 -2) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+2 -2) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+7 -7) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+7 -7) 📝 `frontend/appflowy_web/wasm-libs/Cargo.toml` (+7 -7) 📝 `frontend/appflowy_web_app/src-tauri/Cargo.lock` (+7 -7) 📝 `frontend/appflowy_web_app/src-tauri/Cargo.toml` (+7 -7) 📝 `frontend/resources/translations/en.json` (+2 -1) _...and 15 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 Include the below properties when duplicating view/space. - [x] icon - [x] cover - [x] children https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/cf91c97a-9771-4d34-bd6c-f9547591637a <!--- 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 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:17:15 +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#6915
No description provided.