[PR #8020] [MERGED] feat: enable shared section on mobile #8274

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/8020
Author: @LucasXu0
Created: 6/3/2025
Status: Merged
Merged: 6/4/2025
Merged by: @LucasXu0

Base: mainHead: m_shared_section


📝 Commits (3)

  • c09f7c3 feat: enable shared section on mobile
  • 9b7ec5d feat: update mobile view item
  • e718bbd feat: shared with me section on mobile

📊 Changes

11 files changed (+247 additions, -15 deletions)

View changed files

frontend/appflowy_flutter/lib/features/shared_section/presentation/m_shared_section.dart (+91 -0)
📝 frontend/appflowy_flutter/lib/features/shared_section/presentation/shared_section.dart (+5 -4)
frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/m_shared_page_list.dart (+38 -0)
frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/m_shared_section_header.dart (+38 -0)
📝 frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/shared_page_list.dart (+3 -2)
frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/shared_section_empty.dart (+41 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/tab/mobile_space_tab.dart (+17 -4)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/tab/space_order_bloc.dart (+7 -1)
📝 frontend/appflowy_flutter/test/widget_test/lib/features/share_section/shared_pages_list_test.dart (+3 -3)
frontend/resources/flowy_icons/20x/empty_shared_section.svg (+3 -0)

📄 Description

Feature Preview

Enable shared with me section on mobile


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.

Summary by Sourcery

Enable the "Shared with me" section on mobile by adding a new tab, wiring up the SharedSection widget, using a local repository implementation, and providing a dedicated empty-state UI.

New Features:

  • Add a new "Shared" tab to the mobile home space that displays pages shared with the user
  • Provide an empty-state UI for the shared section on mobile

Enhancements:

  • Integrate SharedSection into the mobile space tab and ensure the "shared" type is included in tab ordering
  • Switch to LocalSharedPagesRepositoryImpl for SharedSection on mobile and conditionally show the empty-state
  • Include the empty_shared_section SVG asset and widget for mobile empty state

🔄 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/8020 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 6/3/2025 **Status:** ✅ Merged **Merged:** 6/4/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `m_shared_section` --- ### 📝 Commits (3) - [`c09f7c3`](https://github.com/AppFlowy-IO/AppFlowy/commit/c09f7c3af510ffd07d30eabfc66a80c35809df9c) feat: enable shared section on mobile - [`9b7ec5d`](https://github.com/AppFlowy-IO/AppFlowy/commit/9b7ec5d51c0dbc6ff37678ac68c737970bc47fdc) feat: update mobile view item - [`e718bbd`](https://github.com/AppFlowy-IO/AppFlowy/commit/e718bbdc7e7067bab999093a1bccfa75b20f1bb2) feat: shared with me section on mobile ### 📊 Changes **11 files changed** (+247 additions, -15 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/lib/features/shared_section/presentation/m_shared_section.dart` (+91 -0) 📝 `frontend/appflowy_flutter/lib/features/shared_section/presentation/shared_section.dart` (+5 -4) ➕ `frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/m_shared_page_list.dart` (+38 -0) ➕ `frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/m_shared_section_header.dart` (+38 -0) 📝 `frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/shared_page_list.dart` (+3 -2) ➕ `frontend/appflowy_flutter/lib/features/shared_section/presentation/widgets/shared_section_empty.dart` (+41 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/tab/mobile_space_tab.dart` (+17 -4) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/tab/space_order_bloc.dart` (+7 -1) 📝 `frontend/appflowy_flutter/test/widget_test/lib/features/share_section/shared_pages_list_test.dart` (+3 -3) ➕ `frontend/resources/flowy_icons/20x/empty_shared_section.svg` (+3 -0) </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 Enable shared with me section on mobile <!--- 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 - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [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. ## Summary by Sourcery Enable the "Shared with me" section on mobile by adding a new tab, wiring up the SharedSection widget, using a local repository implementation, and providing a dedicated empty-state UI. New Features: - Add a new "Shared" tab to the mobile home space that displays pages shared with the user - Provide an empty-state UI for the shared section on mobile Enhancements: - Integrate SharedSection into the mobile space tab and ensure the "shared" type is included in tab ordering - Switch to LocalSharedPagesRepositoryImpl for SharedSection on mobile and conditionally show the empty-state - Include the empty_shared_section SVG asset and widget for mobile empty state --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:23:25 +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#8274
No description provided.