[PR #6401] [MERGED] feat(mobile): add database filters #7363

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6401
Author: @richardshiue
Created: 9/25/2024
Status: Merged
Merged: 9/25/2024
Merged by: @richardshiue

Base: mainHead: feat/mobile-grid-filters


📝 Commits (1)

  • d5bc0f9 feat(mobile): grid filters

📊 Changes

24 files changed (+1627 additions, -111 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/database/board/mobile_board_page.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/board/widgets/group_card_header.dart (+1 -1)
frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_filter_bottom_sheet.dart (+1075 -0)
frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_filter_bottom_sheet_cubit.dart (+121 -0)
frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_filter_condition_list.dart (+116 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_sort_bottom_sheet.dart (+4 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/application/field/filter_entities.dart (+156 -16)
📝 frontend/appflowy_flutter/lib/plugins/database/board/presentation/board_page.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_column_header.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/filter_editor_bloc.dart (+19 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/checklist.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/date.dart (+13 -6)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/number.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/select_option/select_option.dart (+2 -8)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/text.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/url.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/field_type_extension.dart (+0 -23)
📝 frontend/appflowy_flutter/lib/plugins/database/tab_bar/mobile/mobile_tab_bar_header.dart (+8 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/extension.dart (+4 -5)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/mobile_select_option_editor.dart (+40 -31)

...and 4 more files

📄 Description

Supports filtering on mobile grid and kanban

resovles https://github.com/AppFlowy-IO/AppFlowy/issues/5849

I recorded a video but it's larger than 10mb

Screenshot 2024-09-25 at 10 17 06 PM

Screenshot 2024-09-25 at 10 16 29 PM

Screenshot 2024-09-25 at 10 16 03 PM

Screenshot 2024-09-25 at 10 17 47 PM

Screenshot 2024-09-25 at 10 20 03 PM

Screenshot 2024-09-25 at 10 20 31 PM

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/6401 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 9/25/2024 **Status:** ✅ Merged **Merged:** 9/25/2024 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `feat/mobile-grid-filters` --- ### 📝 Commits (1) - [`d5bc0f9`](https://github.com/AppFlowy-IO/AppFlowy/commit/d5bc0f930e17d08deec4ad26dc9f4b18c9423a9d) feat(mobile): grid filters ### 📊 Changes **24 files changed** (+1627 additions, -111 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/board/mobile_board_page.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/board/widgets/group_card_header.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_filter_bottom_sheet.dart` (+1075 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_filter_bottom_sheet_cubit.dart` (+121 -0) ➕ `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_filter_condition_list.dart` (+116 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_sort_bottom_sheet.dart` (+4 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/application/field/filter_entities.dart` (+156 -16) 📝 `frontend/appflowy_flutter/lib/plugins/database/board/presentation/board_page.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/board/presentation/widgets/board_column_header.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/filter_editor_bloc.dart` (+19 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/checklist.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/date.dart` (+13 -6) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/number.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/select_option/select_option.dart` (+2 -8) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/text.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/url.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/field_type_extension.dart` (+0 -23) 📝 `frontend/appflowy_flutter/lib/plugins/database/tab_bar/mobile/mobile_tab_bar_header.dart` (+8 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/extension.dart` (+4 -5) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/mobile_select_option_editor.dart` (+40 -31) _...and 4 more files_ </details> ### 📄 Description Supports filtering on mobile grid and kanban resovles https://github.com/AppFlowy-IO/AppFlowy/issues/5849 I recorded a video but it's larger than 10mb ![Screenshot 2024-09-25 at 10 17 06 PM](https://github.com/user-attachments/assets/39849017-3279-4d0a-bcf2-8462dc0ced93) ![Screenshot 2024-09-25 at 10 16 29 PM](https://github.com/user-attachments/assets/3f85f072-678e-4a28-b695-43aa4fa9d528) ![Screenshot 2024-09-25 at 10 16 03 PM](https://github.com/user-attachments/assets/8ae4ff15-61de-4a4d-b2ca-8f562785b7b0) ![Screenshot 2024-09-25 at 10 17 47 PM](https://github.com/user-attachments/assets/187f10a3-fedf-4534-b1cc-3cb0f8153b98) ![Screenshot 2024-09-25 at 10 20 03 PM](https://github.com/user-attachments/assets/ac5cc784-d483-482b-8259-8a5f39b647c2) ![Screenshot 2024-09-25 at 10 20 31 PM](https://github.com/user-attachments/assets/eba6c69d-7fa1-46d6-8da3-026b3b4b79a4) <!--- 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) - [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:19:16 +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#7363
No description provided.