[PR #5954] [MERGED] feat: optimize date picker & mention block #7111

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5954
Author: @LucasXu0
Created: 8/13/2024
Status: Merged
Merged: 8/14/2024
Merged by: @LucasXu0

Base: mainHead: main


📝 Commits (4)

  • 10c08fe chore: optimize rename button on mobile
  • d7269f3 fix: mention block id empty error
  • c066ba7 chore: optimize mention block style
  • 45e3691 feat: add confirm button in date picker

📊 Changes

5 files changed (+235 additions, -123 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_rename_widget.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart (+16 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_date_block.dart (+117 -71)
📝 frontend/appflowy_flutter/lib/workspace/presentation/widgets/date_picker/mobile_appflowy_date_picker.dart (+96 -48)

📄 Description

Feature Preview

  • optimize mention date style
    Screenshot 2024-08-13 at 21 07 13

  • add confirm button in date picker
    Screenshot 2024-08-13 at 21 05 32

  • close keyboard when showing the date picker


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/5954 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 8/13/2024 **Status:** ✅ Merged **Merged:** 8/14/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`10c08fe`](https://github.com/AppFlowy-IO/AppFlowy/commit/10c08fe8b20884893e39e05d856f111b50e513ae) chore: optimize rename button on mobile - [`d7269f3`](https://github.com/AppFlowy-IO/AppFlowy/commit/d7269f327fd45715af7b349927cdf7519d22ce80) fix: mention block id empty error - [`c066ba7`](https://github.com/AppFlowy-IO/AppFlowy/commit/c066ba75aac15cdeaf1746e393cccd4974b54ebf) chore: optimize mention block style - [`45e3691`](https://github.com/AppFlowy-IO/AppFlowy/commit/45e3691b2e120bafef9529496e4b5b87cd50e0b8) feat: add confirm button in date picker ### 📊 Changes **5 files changed** (+235 additions, -123 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_rename_widget.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart` (+16 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_date_block.dart` (+117 -71) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/widgets/date_picker/mobile_appflowy_date_picker.dart` (+96 -48) </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] optimize mention date style <img width="204" alt="Screenshot 2024-08-13 at 21 07 13" src="https://github.com/user-attachments/assets/a7badf80-328e-4bd3-ab86-4e12cb8e4379"> - [x] add confirm button in date picker <img width="549" alt="Screenshot 2024-08-13 at 21 05 32" src="https://github.com/user-attachments/assets/375b0d85-36d1-4097-afde-9f3f1a3cf259"> - [x] close keyboard when showing the date picker <!--- 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. - [ ] 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:18:09 +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#7111
No description provided.