[PR #5831] [MERGED] feat: support notification on mobile #7030

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5831
Author: @LucasXu0
Created: 7/30/2024
Status: Merged
Merged: 7/31/2024
Merged by: @LucasXu0

Base: mainHead: notification


📝 Commits (10+)

  • 9867aa4 feat: add inbox/unread/archived tabs
  • e9eaec7 feat: dump notification info
  • 2c362fe chore: add reminder bloc
  • ffbdb71 Merge branch 'main' into notification
  • f8a60d9 feat: support unread / archive notification tab
  • 137c728 feat: support archive all & mark all as read
  • fd7e86f feat: add empty page
  • 2217b8a chore: optimize gesture
  • 8c5f562 feat: add red dot above notification icon
  • 8d9b97b chore: optimize code logic

📊 Changes

43 files changed (+1748 additions, -135 deletions)

View changed files

frontend/appflowy_flutter/lib/mobile/application/notification/notification_reminder_bloc.dart (+194 -0)
📝 frontend/appflowy_flutter/lib/mobile/application/page_style/document_page_style_bloc.dart (+11 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/home/tab/_tab_bar.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/mobile/presentation/mobile_bottom_navigation_bar.dart (+65 -3)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/mobile_notifications_screen.dart (+119 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/color.dart (+11 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/empty.dart (+58 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/header.dart (+32 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/notification_item.dart (+366 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/settings_popup_menu.dart (+139 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/slide_actions.dart (+197 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/tab.dart (+96 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/tab_bar.dart (+88 -0)
frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/widgets.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart (+7 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+5 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/emoji_picker_button.dart (+18 -13)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/bulleted_list/bulleted_list_icon.dart (+15 -13)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart (+2 -2)

...and 23 more files

📄 Description

Feature Preview

https://github.com/user-attachments/assets/9959c3e4-defb-4430-a00c-e9550789697c

Known issue

  • the reminder doesn't support auto sync
  • sometimes, creating a reminder will fail.
  • mark one reminder as read will cause the entire list to refresh.
  • not support multiple choices

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/5831 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 7/30/2024 **Status:** ✅ Merged **Merged:** 7/31/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `notification` --- ### 📝 Commits (10+) - [`9867aa4`](https://github.com/AppFlowy-IO/AppFlowy/commit/9867aa439c8396f45ab4af9ab6d42dffc8640157) feat: add inbox/unread/archived tabs - [`e9eaec7`](https://github.com/AppFlowy-IO/AppFlowy/commit/e9eaec784f4ac99aa89492a709d7973c2d0804bd) feat: dump notification info - [`2c362fe`](https://github.com/AppFlowy-IO/AppFlowy/commit/2c362fe64bbd696347a93c30c7062d7001c9c1c2) chore: add reminder bloc - [`ffbdb71`](https://github.com/AppFlowy-IO/AppFlowy/commit/ffbdb71660f6f04619a7135fa1f39644b2a45e2c) Merge branch 'main' into notification - [`f8a60d9`](https://github.com/AppFlowy-IO/AppFlowy/commit/f8a60d995f43c1965e44ebd2b9c0236f048e6d20) feat: support unread / archive notification tab - [`137c728`](https://github.com/AppFlowy-IO/AppFlowy/commit/137c728b394573c2de9215dda9211bea2ddeb04f) feat: support archive all & mark all as read - [`fd7e86f`](https://github.com/AppFlowy-IO/AppFlowy/commit/fd7e86f002ca7da87a8062ca648e938a94a2cc79) feat: add empty page - [`2217b8a`](https://github.com/AppFlowy-IO/AppFlowy/commit/2217b8a78a5d8b102f7ffeb3f4fa2a66bd38b320) chore: optimize gesture - [`8c5f562`](https://github.com/AppFlowy-IO/AppFlowy/commit/8c5f56286f84bec482a0eab8bc1c03770c2b0b11) feat: add red dot above notification icon - [`8d9b97b`](https://github.com/AppFlowy-IO/AppFlowy/commit/8d9b97b362b73f406185033033e23695115484be) chore: optimize code logic ### 📊 Changes **43 files changed** (+1748 additions, -135 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/lib/mobile/application/notification/notification_reminder_bloc.dart` (+194 -0) 📝 `frontend/appflowy_flutter/lib/mobile/application/page_style/document_page_style_bloc.dart` (+11 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/home/tab/_tab_bar.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/mobile_bottom_navigation_bar.dart` (+65 -3) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/mobile_notifications_screen.dart` (+119 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/color.dart` (+11 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/empty.dart` (+58 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/header.dart` (+32 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/notification_item.dart` (+366 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/settings_popup_menu.dart` (+139 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/slide_actions.dart` (+197 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/tab.dart` (+96 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/tab_bar.dart` (+88 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/notifications/widgets/widgets.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart` (+7 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+5 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/emoji_picker_button.dart` (+18 -13) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/bulleted_list/bulleted_list_icon.dart` (+15 -13) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart` (+2 -2) _...and 23 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 https://github.com/user-attachments/assets/9959c3e4-defb-4430-a00c-e9550789697c #### Known issue - the reminder doesn't support auto sync - sometimes, creating a reminder will fail. - mark one reminder as read will cause the entire list to refresh. - not support multiple choices <!--- 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) - [ ] 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:47 +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#7030
No description provided.