[PR #4629] feat: support editor to show workspace view overview #6357

Open
opened 2026-03-23 22:22:52 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4629
Author: @Jayaprakash-dev
Created: 2/7/2024
Status: 🔄 Open

Base: mainHead: feat_workspace_view_overview


📝 Commits (10+)

  • dd65f58 feat: adds workspace overview block component to display folder structure in a concise view
  • 2af2948 feat: adds workspace overview bloc to manage the state of workspace overview block
  • f048cde feat: adds workspace overview listener
  • 1e5b1c9 feat: adds events and notification events related to overview block in the backend
  • c1c2942 feat: adds placeholder in the locale translation
  • 4e57891 feat: Update backend code for overview block event and notification event processing
  • 5b2c3c9 feat: support retrieving the entire hierarchical view of view child views
  • 8b6bc61 feat: adds custom style and configuration for overview block component
  • a38c08c test: adds test for workspace overview block component
  • 09084cb refactor: fix syntax error by adding missing semicolon

📊 Changes

17 files changed (+1587 additions, -87 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/document/document_test_runner.dart (+2 -0)
frontend/appflowy_flutter/integration_test/desktop/document/document_with_overview_block_test.dart (+298 -0)
frontend/appflowy_flutter/lib/plugins/document/application/workspace_overview/workspace_overview_bloc.dart (+188 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart (+12 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+2 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/overview/workspace_overview_block_component.dart (+419 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart (+11 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart (+7 -0)
frontend/appflowy_flutter/lib/workspace/application/workspace/overview/overview_listener.dart (+104 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+14 -14)
📝 frontend/resources/translations/en.json (+5 -1)
📝 frontend/rust-lib/flowy-folder/src/event_handler.rs (+58 -3)
📝 frontend/rust-lib/flowy-folder/src/event_map.rs (+18 -1)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+189 -15)
📝 frontend/rust-lib/flowy-folder/src/manager_init.rs (+7 -1)
📝 frontend/rust-lib/flowy-folder/src/manager_observer.rs (+246 -52)
📝 frontend/rust-lib/flowy-folder/src/notification.rs (+7 -0)

📄 Description

I've addressed the issue #4282 by implementing the Workspace folder Overview feature, allowing users to create an outline for workspace folder/sub pages structures using the slash commands /overview or /workspace overview. This facilitates easy navigation in nested document structures.

Screenshot and Demo

Screenshot 2024-02-07 at 11 04 09 PM

https://github.com/AppFlowy-IO/AppFlowy/assets/68953739/cc974dad-7716-427b-a4fe-c7c9f89c01fe


🔄 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/4629 **Author:** [@Jayaprakash-dev](https://github.com/Jayaprakash-dev) **Created:** 2/7/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat_workspace_view_overview` --- ### 📝 Commits (10+) - [`dd65f58`](https://github.com/AppFlowy-IO/AppFlowy/commit/dd65f5821b584469e9d74458d9509fb5db7f7b22) feat: adds workspace overview block component to display folder structure in a concise view - [`2af2948`](https://github.com/AppFlowy-IO/AppFlowy/commit/2af29487bec4781554963a7a1c069c39376364b1) feat: adds workspace overview bloc to manage the state of workspace overview block - [`f048cde`](https://github.com/AppFlowy-IO/AppFlowy/commit/f048cde2e617b14ddc0aaddaecb7d2603bffaf52) feat: adds workspace overview listener - [`1e5b1c9`](https://github.com/AppFlowy-IO/AppFlowy/commit/1e5b1c9ed8010fd6ee155ecf0d540ba7d100503b) feat: adds events and notification events related to overview block in the backend - [`c1c2942`](https://github.com/AppFlowy-IO/AppFlowy/commit/c1c294270adfc037e6c595b78b6a3a36fa64811f) feat: adds placeholder in the locale translation - [`4e57891`](https://github.com/AppFlowy-IO/AppFlowy/commit/4e578917d87d126cbe1aa1d79afadbc0059cd73b) feat: Update backend code for overview block event and notification event processing - [`5b2c3c9`](https://github.com/AppFlowy-IO/AppFlowy/commit/5b2c3c9de85c405251be2c8fa331978d0f483720) feat: support retrieving the entire hierarchical view of view child views - [`8b6bc61`](https://github.com/AppFlowy-IO/AppFlowy/commit/8b6bc613a182f34cef9114c413ad8fbbc548b274) feat: adds custom style and configuration for overview block component - [`a38c08c`](https://github.com/AppFlowy-IO/AppFlowy/commit/a38c08ca9b2cfdae4c6790e69736127ceebcce5a) test: adds test for workspace overview block component - [`09084cb`](https://github.com/AppFlowy-IO/AppFlowy/commit/09084cb126474f3dd6d5d982172cadc09279b2c0) refactor: fix syntax error by adding missing semicolon ### 📊 Changes **17 files changed** (+1587 additions, -87 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_test_runner.dart` (+2 -0) ➕ `frontend/appflowy_flutter/integration_test/desktop/document/document_with_overview_block_test.dart` (+298 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/application/workspace_overview/workspace_overview_bloc.dart` (+188 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart` (+12 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+2 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/overview/workspace_overview_block_component.dart` (+419 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart` (+11 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart` (+7 -0) ➕ `frontend/appflowy_flutter/lib/workspace/application/workspace/overview/overview_listener.dart` (+104 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+14 -14) 📝 `frontend/resources/translations/en.json` (+5 -1) 📝 `frontend/rust-lib/flowy-folder/src/event_handler.rs` (+58 -3) 📝 `frontend/rust-lib/flowy-folder/src/event_map.rs` (+18 -1) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+189 -15) 📝 `frontend/rust-lib/flowy-folder/src/manager_init.rs` (+7 -1) 📝 `frontend/rust-lib/flowy-folder/src/manager_observer.rs` (+246 -52) 📝 `frontend/rust-lib/flowy-folder/src/notification.rs` (+7 -0) </details> ### 📄 Description I've addressed the issue #4282 by implementing the Workspace folder Overview feature, allowing users to create an outline for workspace folder/sub pages structures using the slash commands `/overview` or `/workspace overview`. This facilitates easy navigation in nested document structures. **Screenshot and Demo** <img width="1275" alt="Screenshot 2024-02-07 at 11 04 09 PM" src="https://github.com/AppFlowy-IO/AppFlowy/assets/68953739/29faef39-3165-45b8-8818-18cf0d0b3bea"> https://github.com/AppFlowy-IO/AppFlowy/assets/68953739/cc974dad-7716-427b-a4fe-c7c9f89c01fe --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#6357
No description provided.