[PR #3992] [MERGED] Feat/tauri grid support the fields and filters #5989

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3992
Author: @qinluhe
Created: 11/23/2023
Status: Merged
Merged: 12/4/2023
Merged by: @qinluhe

Base: mainHead: feat/tauri-grid-support-single-select


📝 Commits (10+)

  • 4252de6 feat: support the single select field actions in grid of tauri
  • 7b23e16 feat: support multiselect
  • 40802f3 feat: support number field and number filter
  • 9b87764 feat: support url field
  • f7b2ef8 fix: eslint error
  • 4487d60 feat: support checkbox filter
  • 120644b feat: support checklist field
  • 359885b fix: adjusting keydown event
  • b6b85cb fix: edit record ui
  • 9c47e49 feat: support date field

📊 Changes

122 files changed (+4090 additions, -841 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart (+4 -2)
📝 frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/row_property.dart (+8 -4)
📝 frontend/appflowy_tauri/package.json (+4 -1)
📝 frontend/appflowy_tauri/pnpm-lock.yaml (+313 -9)
📝 frontend/appflowy_tauri/scripts/i18n/index.cjs (+11 -3)
frontend/appflowy_tauri/src/appflowy_app/assets/arrow-left.svg (+3 -0)
frontend/appflowy_tauri/src/appflowy_app/assets/arrow-right.svg (+3 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/_shared/ViewTitle/index.tsx (+1 -8)
📝 frontend/appflowy_tauri/src/appflowy_app/components/_shared/app-dialog/ConfirmDialog.tsx (+5 -4)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/Database.hooks.ts (+83 -15)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/Database.tsx (+6 -7)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/_shared/CellText.tsx (+1 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/_shared/VirtualizedList.tsx (+2 -1)
frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/cell_listeners.ts (+48 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/cell_service.ts (+10 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/cell_types.ts (+42 -4)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/index.ts (+1 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/application/database/database_service.ts (+26 -31)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/application/database/database_types.ts (+5 -2)
📝 frontend/appflowy_tauri/src/appflowy_app/components/database/application/field/field_listeners.ts (+31 -2)

...and 80 more files

📄 Description

Single Select Field

截屏2023-11-23 16 34 54 Feature Preview 截屏2023-11-23 16 35 11 截屏2023-11-23 16 35 50

Multi Select Field

截屏2023-11-23 16 36 18 截屏2023-11-23 16 36 39

Select Filter

截屏2023-11-23 16 36 55 截屏2023-11-23 16 37 04

Number Field

截屏2023-11-24 19 24 24 截屏2023-11-24 19 24 51 截屏2023-11-24 19 25 13

Checklist cell

image

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/3992 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 11/23/2023 **Status:** ✅ Merged **Merged:** 12/4/2023 **Merged by:** [@qinluhe](https://github.com/qinluhe) **Base:** `main` ← **Head:** `feat/tauri-grid-support-single-select` --- ### 📝 Commits (10+) - [`4252de6`](https://github.com/AppFlowy-IO/AppFlowy/commit/4252de6f019b360d53c210c9ad0e31d54e37434a) feat: support the single select field actions in grid of tauri - [`7b23e16`](https://github.com/AppFlowy-IO/AppFlowy/commit/7b23e16d8a34cb70fad89a7d7f58c70fe24c2009) feat: support multiselect - [`40802f3`](https://github.com/AppFlowy-IO/AppFlowy/commit/40802f39486685821b4d932db6395984ad23c9a4) feat: support number field and number filter - [`9b87764`](https://github.com/AppFlowy-IO/AppFlowy/commit/9b87764d416d1a792216297eed776373aea76d6a) feat: support url field - [`f7b2ef8`](https://github.com/AppFlowy-IO/AppFlowy/commit/f7b2ef8c019fea9dd212c85cdabb93457c185732) fix: eslint error - [`4487d60`](https://github.com/AppFlowy-IO/AppFlowy/commit/4487d6023a0b9fcf563ce6ff1f0288621fb87336) feat: support checkbox filter - [`120644b`](https://github.com/AppFlowy-IO/AppFlowy/commit/120644bee34d77ee7568d8a029b3c6ec4fb5e9b1) feat: support checklist field - [`359885b`](https://github.com/AppFlowy-IO/AppFlowy/commit/359885b4c471c3aafb06720492ccd3937541ec21) fix: adjusting keydown event - [`b6b85cb`](https://github.com/AppFlowy-IO/AppFlowy/commit/b6b85cb9dd48e00786e0607cac46d7ee58f2ecea) fix: edit record ui - [`9c47e49`](https://github.com/AppFlowy-IO/AppFlowy/commit/9c47e497ffff3e9ae5e3321903653057dd987d36) feat: support date field ### 📊 Changes **122 files changed** (+4090 additions, -841 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart` (+4 -2) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/row_property.dart` (+8 -4) 📝 `frontend/appflowy_tauri/package.json` (+4 -1) 📝 `frontend/appflowy_tauri/pnpm-lock.yaml` (+313 -9) 📝 `frontend/appflowy_tauri/scripts/i18n/index.cjs` (+11 -3) ➕ `frontend/appflowy_tauri/src/appflowy_app/assets/arrow-left.svg` (+3 -0) ➕ `frontend/appflowy_tauri/src/appflowy_app/assets/arrow-right.svg` (+3 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/_shared/ViewTitle/index.tsx` (+1 -8) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/_shared/app-dialog/ConfirmDialog.tsx` (+5 -4) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/Database.hooks.ts` (+83 -15) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/Database.tsx` (+6 -7) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/_shared/CellText.tsx` (+1 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/_shared/VirtualizedList.tsx` (+2 -1) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/cell_listeners.ts` (+48 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/cell_service.ts` (+10 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/cell_types.ts` (+42 -4) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/application/cell/index.ts` (+1 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/application/database/database_service.ts` (+26 -31) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/application/database/database_types.ts` (+5 -2) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/database/application/field/field_listeners.ts` (+31 -2) _...and 80 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. --> ### #### Single Select Field <img width="628" alt="截屏2023-11-23 16 34 54" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/2bb8d377-b849-49aa-a3f2-1736d6a4926f"> Feature Preview <img width="676" alt="截屏2023-11-23 16 35 11" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/916f9b58-9358-483a-8996-efca7aad0f95"> <img width="1029" alt="截屏2023-11-23 16 35 50" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/2fe91f50-3277-473e-acf9-7762f8a86a46"> #### Multi Select Field <img width="711" alt="截屏2023-11-23 16 36 18" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/90abf10b-70d5-407d-8a0e-d5f099d7fc68"> <img width="702" alt="截屏2023-11-23 16 36 39" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/86c0af0d-fa6b-44d4-88a3-f8e12c9f8f9c"> #### Select Filter <img width="564" alt="截屏2023-11-23 16 36 55" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/84ba6efd-f9bc-43d1-8dd0-72056092d7d7"> <img width="802" alt="截屏2023-11-23 16 37 04" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/dc7a790b-26e6-443f-8b1c-718ed32e469f"> #### Number Field <img width="877" alt="截屏2023-11-24 19 24 24" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/76669fa5-b217-4e75-80fe-24cbcf22183e"> <img width="334" alt="截屏2023-11-24 19 24 51" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/3b956c44-ccda-420b-a586-9d5aa5604058"> <img width="666" alt="截屏2023-11-24 19 25 13" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/99603e95-856b-426c-89b0-a3534507e750"> #### Checklist cell <img width="537" alt="image" src="https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/49c4982c-1cc3-4402-9c89-1a525d950f79"> <!--- 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 - [ ] 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 22:21:13 +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#5989
No description provided.