[PR #6288] [MERGED] feat: date filter #7294

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6288
Author: @zoli
Created: 9/12/2024
Status: Merged
Merged: 9/24/2024
Merged by: @richardshiue

Base: mainHead: feat/date-type-filter


📝 Commits (8)

  • 6f3971d feat: wip enabling date filter
  • 0b9d122 style: merge main
  • 45c4ea7 fix: update date picker selected range on change
  • c6352b2 fix: save in utc, load in local date time
  • 9e715ed test: added date filter test
  • 9d4c1f5 fix: don't include time in date picker
  • 894ca43 style: Merge branch 'main' into feat/date-type-filter
  • d61bb05 fix: flutter analyze

📊 Changes

9 files changed (+469 additions, -13 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/database/database_filter_test.dart (+23 -1)
📝 frontend/appflowy_flutter/integration_test/shared/database_test_op.dart (+14 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/application/field/field_info.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/domain/filter_service.dart (+1 -8)
frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/date_filter_editor_bloc.dart (+132 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/filter_create_bloc.dart (+0 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/date.dart (+292 -3)
📝 frontend/appflowy_flutter/lib/util/int64_extension.dart (+3 -0)
📝 frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/text_field.dart (+3 -0)

📄 Description

Feature Preview


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/6288 **Author:** [@zoli](https://github.com/zoli) **Created:** 9/12/2024 **Status:** ✅ Merged **Merged:** 9/24/2024 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `feat/date-type-filter` --- ### 📝 Commits (8) - [`6f3971d`](https://github.com/AppFlowy-IO/AppFlowy/commit/6f3971d092c9f27f7d04e25d57fb44bc7f5960a3) feat: wip enabling date filter - [`0b9d122`](https://github.com/AppFlowy-IO/AppFlowy/commit/0b9d1228a126f251eb111545f0fb920e4f71f6a0) style: merge main - [`45c4ea7`](https://github.com/AppFlowy-IO/AppFlowy/commit/45c4ea764f17322527c7de20091ce85ef6df5586) fix: update date picker selected range on change - [`c6352b2`](https://github.com/AppFlowy-IO/AppFlowy/commit/c6352b28b796ad936e5300362025ac445c291a79) fix: save in utc, load in local date time - [`9e715ed`](https://github.com/AppFlowy-IO/AppFlowy/commit/9e715ed2c1eced200fdb042042a2d7676fe056c0) test: added date filter test - [`9d4c1f5`](https://github.com/AppFlowy-IO/AppFlowy/commit/9d4c1f5f9a348e18e3c7cb3429a3470f096d83a0) fix: don't include time in date picker - [`894ca43`](https://github.com/AppFlowy-IO/AppFlowy/commit/894ca43130784323eac500445fb023c2f7ba489b) style: Merge branch 'main' into feat/date-type-filter - [`d61bb05`](https://github.com/AppFlowy-IO/AppFlowy/commit/d61bb05b93d59f580c4c4a6fc587ae62de754e73) fix: flutter analyze ### 📊 Changes **9 files changed** (+469 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/database/database_filter_test.dart` (+23 -1) 📝 `frontend/appflowy_flutter/integration_test/shared/database_test_op.dart` (+14 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/application/field/field_info.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/domain/filter_service.dart` (+1 -8) ➕ `frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/date_filter_editor_bloc.dart` (+132 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/filter_create_bloc.dart` (+0 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/date.dart` (+292 -3) 📝 `frontend/appflowy_flutter/lib/util/int64_extension.dart` (+3 -0) 📝 `frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/text_field.dart` (+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 <!--- 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. - [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:18:58 +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#7294
No description provided.