[PR #5576] [MERGED] feat: support publish view #6899

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5576
Author: @qinluhe
Created: 6/19/2024
Status: Merged
Merged: 7/8/2024
Merged by: @LucasXu0

Base: mainHead: feat/support-get-encoded-collab-event


📝 Commits (10+)

  • 4151c48 feat: support a event for getting encoded collab of document
  • 1c8913e feat: support publish view and unpublish views
  • 3edcc08 feat: publish page to the web
  • 360f3df chore: refacotor share bloc
  • 9519493 feat: call the publish event
  • e88423c feat: support publish view and unpublish views
  • 14ba35c feat: integrate publish api
  • 9119e4a feat: integrate unpublish api
  • 02199e3 feat: fetch the publish info to show the publish status
  • 1309a94 feat: support publish interfaces

📊 Changes

327 files changed (+6937 additions, -5042 deletions)

View changed files

.github/workflows/deploy_test_web.yaml (+0 -72)
📝 frontend/appflowy_flutter/integration_test/desktop/uncategorized/empty_test.dart (+1 -1)
📝 frontend/appflowy_flutter/integration_test/desktop/uncategorized/share_markdown_test.dart (+4 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/application/document_share_bloc.dart (+187 -29)
frontend/appflowy_flutter/lib/plugins/document/presentation/share/export_tab.dart (+130 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/share/pubish_color_extension.dart (+11 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/share/publish_name_generator.dart (+19 -0)
frontend/appflowy_flutter/lib/plugins/document/presentation/share/publish_tab.dart (+284 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_button.dart (+54 -13)
frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_menu.dart (+186 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_bloc.dart (+39 -4)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart (+74 -0)
📝 frontend/appflowy_flutter/lib/workspace/application/view_title/view_title_bar_bloc.dart (+15 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/move_to/move_page_menu.dart (+8 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/shared_widget.dart (+74 -46)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/sidebar_space_header.dart (+7 -11)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/workspace/_sidebar_workspace_actions.dart (+6 -4)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/view/view_item.dart (+53 -18)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/view/view_more_action_button.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/widgets/dialogs.dart (+58 -2)

...and 80 more files

📄 Description

Feature Preview

  • The Interface is for the client to get binary data
  • The event for publishing view and its child views
  • The event for unpublishing views
  • The event for getting publish info
  • The event for setting publish namespace
  • The event for getting publish namespace

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/5576 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 6/19/2024 **Status:** ✅ Merged **Merged:** 7/8/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat/support-get-encoded-collab-event` --- ### 📝 Commits (10+) - [`4151c48`](https://github.com/AppFlowy-IO/AppFlowy/commit/4151c48180b350052d52f464600b67a926a6ddf5) feat: support a event for getting encoded collab of document - [`1c8913e`](https://github.com/AppFlowy-IO/AppFlowy/commit/1c8913eb7996fd66edb981c1701f38a4c184bc9e) feat: support publish view and unpublish views - [`3edcc08`](https://github.com/AppFlowy-IO/AppFlowy/commit/3edcc085435962299149fd2f407549a60da28664) feat: publish page to the web - [`360f3df`](https://github.com/AppFlowy-IO/AppFlowy/commit/360f3df99e8d14b656ad48e6ef4a262c0aa5a71e) chore: refacotor share bloc - [`9519493`](https://github.com/AppFlowy-IO/AppFlowy/commit/95194930f9e693decee0dbc2cf610d9d0550e4b5) feat: call the publish event - [`e88423c`](https://github.com/AppFlowy-IO/AppFlowy/commit/e88423c83ebb46fb1f7e1084ccb702493906dd68) feat: support publish view and unpublish views - [`14ba35c`](https://github.com/AppFlowy-IO/AppFlowy/commit/14ba35c7287a6093c6463649d372fafc34a75fa1) feat: integrate publish api - [`9119e4a`](https://github.com/AppFlowy-IO/AppFlowy/commit/9119e4a9267019bfe26b496ca0c74d0572ed9e1b) feat: integrate unpublish api - [`02199e3`](https://github.com/AppFlowy-IO/AppFlowy/commit/02199e3a738e206c8f806d468458116137867580) feat: fetch the publish info to show the publish status - [`1309a94`](https://github.com/AppFlowy-IO/AppFlowy/commit/1309a94439756609d4755dd466c1193d02300aa1) feat: support publish interfaces ### 📊 Changes **327 files changed** (+6937 additions, -5042 deletions) <details> <summary>View changed files</summary> ➖ `.github/workflows/deploy_test_web.yaml` (+0 -72) 📝 `frontend/appflowy_flutter/integration_test/desktop/uncategorized/empty_test.dart` (+1 -1) 📝 `frontend/appflowy_flutter/integration_test/desktop/uncategorized/share_markdown_test.dart` (+4 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/document_share_bloc.dart` (+187 -29) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/share/export_tab.dart` (+130 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/share/pubish_color_extension.dart` (+11 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/share/publish_name_generator.dart` (+19 -0) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/share/publish_tab.dart` (+284 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_button.dart` (+54 -13) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_menu.dart` (+186 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_bloc.dart` (+39 -4) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart` (+74 -0) 📝 `frontend/appflowy_flutter/lib/workspace/application/view_title/view_title_bar_bloc.dart` (+15 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/move_to/move_page_menu.dart` (+8 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/shared_widget.dart` (+74 -46) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/sidebar_space_header.dart` (+7 -11) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/workspace/_sidebar_workspace_actions.dart` (+6 -4) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/view/view_item.dart` (+53 -18) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/view/view_more_action_button.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/widgets/dialogs.dart` (+58 -2) _...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 - [x] The Interface is for the client to get binary data - [x] The event for publishing view and its child views - [x] The event for unpublishing views - [x] The event for getting publish info - [x] The event for setting publish namespace - [x] The event for getting publish namespace <!--- 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:10 +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#6899
No description provided.