[PR #7366] [MERGED] feat: lock page on mobile #7849

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7366
Author: @LucasXu0
Created: 2/12/2025
Status: Merged
Merged: 2/12/2025
Merged by: @LucasXu0

Base: mainHead: lock_page_mobile


📝 Commits (7)

  • e847fb0 feat: support lock button in view more actions
  • aea68f4 feat: add lock page on mobile
  • 7164cce feat: disable actions in locked page
  • 997f6e5 feat: disable more actions in locked page
  • 543fecc feat: support locked grid on mobile
  • 79e9358 feat: support locked board/calendar on mobile
  • 8b75757 fix: exclude lock page button from AI Chat

📊 Changes

19 files changed (+419 additions, -139 deletions)

View changed files

📝 frontend/appflowy_flutter/ios/Podfile.lock (+12 -11)
📝 frontend/appflowy_flutter/ios/Runner/AppDelegate.swift (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart (+112 -20)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/app_bar_buttons.dart (+17 -2)
📝 frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/more_bottom_sheet.dart (+24 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_view_item_body.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_view_page.dart (+81 -3)
📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/default_mobile_action_pane.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/board/mobile_board_page.dart (+69 -51)
📝 frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart (+29 -23)
📝 frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_option_tile.dart (+22 -2)
📝 frontend/appflowy_flutter/lib/plugins/database/calendar/presentation/calendar_page.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/mobile_grid_page.dart (+14 -3)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/mobile_grid_header.dart (+12 -6)
📝 frontend/appflowy_flutter/lib/plugins/database/tab_bar/tab_bar_view.dart (+0 -6)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+3 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart (+6 -6)
📝 frontend/appflowy_flutter/pubspec.lock (+2 -2)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -1)

📄 Description

Feature Preview

  • add lock button in share menu
  • add lock button in title bar
  • add relock button in title bar
  • document (non-editable)
    • cover
    • icon
    • content
  • database (non-editable)
    • filter
    • sort
    • content
    • calendar
    • grid
    • kanban/board
  • more actions
    • disable rename
    • disable "change icon"
    • disable delete
  • tests
Screenshot 2025-02-12 at 15 06 25 Screenshot 2025-02-12 at 15 06 27

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/7366 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 2/12/2025 **Status:** ✅ Merged **Merged:** 2/12/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `lock_page_mobile` --- ### 📝 Commits (7) - [`e847fb0`](https://github.com/AppFlowy-IO/AppFlowy/commit/e847fb00c622c2380662b765aed3841e882008d8) feat: support lock button in view more actions - [`aea68f4`](https://github.com/AppFlowy-IO/AppFlowy/commit/aea68f414fa658df0ab7c2b7e101e83af01c9f23) feat: add lock page on mobile - [`7164cce`](https://github.com/AppFlowy-IO/AppFlowy/commit/7164cce5aa3eaa9833f2f96bfa0bfddd333a48ff) feat: disable actions in locked page - [`997f6e5`](https://github.com/AppFlowy-IO/AppFlowy/commit/997f6e59cdb41ae195c934d2cea908cbc5924874) feat: disable more actions in locked page - [`543fecc`](https://github.com/AppFlowy-IO/AppFlowy/commit/543feccddf462c87e459661f74349aa3ce5daa9a) feat: support locked grid on mobile - [`79e9358`](https://github.com/AppFlowy-IO/AppFlowy/commit/79e93589c97fecc5a429b0954e920cb0d60c88bf) feat: support locked board/calendar on mobile - [`8b75757`](https://github.com/AppFlowy-IO/AppFlowy/commit/8b75757133f17dd3b9c115c98bff5a4f693bff77) fix: exclude lock page button from AI Chat ### 📊 Changes **19 files changed** (+419 additions, -139 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/ios/Podfile.lock` (+12 -11) 📝 `frontend/appflowy_flutter/ios/Runner/AppDelegate.swift` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart` (+112 -20) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/app_bar_buttons.dart` (+17 -2) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/more_bottom_sheet.dart` (+24 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_view_item_body.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_view_page.dart` (+81 -3) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/default_mobile_action_pane.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/board/mobile_board_page.dart` (+69 -51) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart` (+29 -23) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_option_tile.dart` (+22 -2) 📝 `frontend/appflowy_flutter/lib/plugins/database/calendar/presentation/calendar_page.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/mobile_grid_page.dart` (+14 -3) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/mobile_grid_header.dart` (+12 -6) 📝 `frontend/appflowy_flutter/lib/plugins/database/tab_bar/tab_bar_view.dart` (+0 -6) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+3 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart` (+6 -6) 📝 `frontend/appflowy_flutter/pubspec.lock` (+2 -2) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -1) </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] add lock button in share menu - [x] add lock button in title bar - [x] add relock button in title bar - [x] document (non-editable) - [x] cover - [x] icon - [x] content - [x] database (non-editable) - [x] filter - [x] sort - [x] content - [x] calendar - [x] grid - [x] kanban/board - [x] more actions - [x] disable rename - [x] disable "change icon" - [x] disable delete - [x] tests <img width="510" alt="Screenshot 2025-02-12 at 15 06 25" src="https://github.com/user-attachments/assets/82ecf57b-7086-454f-bccd-cc08ec1a51aa" /> <img width="510" alt="Screenshot 2025-02-12 at 15 06 27" src="https://github.com/user-attachments/assets/e77ced62-cd3c-4586-bc59-cf16fe97c0f9" /> <!--- 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:21:28 +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#7849
No description provided.