[PR #2728] [MERGED] test: add databaase event test #5394

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2728
Author: @appflowy
Created: 6/7/2023
Status: Merged
Merged: 6/7/2023
Merged by: @appflowy

Base: developHead: test/add_datbaase_event_test


📝 Commits (4)

  • 65cf0c6 test: add tests and fix modify primary field bug
  • edd8af6 test: add more test
  • a153418 fix: tauri buiuld
  • 4b470ce chore: disable share link button

📊 Changes

20 files changed (+623 additions, -343 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/database_view/application/cell/cell_data_persistence.dart (+4 -2)
📝 frontend/appflowy_flutter/lib/plugins/database_view/application/field/field_service.dart (+0 -5)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/header/field_cell_action_sheet.dart (+17 -1)
📝 frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/bloc/checkbox_card_cell_bloc.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_button.dart (+8 -9)
frontend/appflowy_flutter/test/bloc_test/grid_test/filter/edit_filter_field_test.dart (+0 -57)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+20 -11)
📝 frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/field/field_bd_svc.ts (+1 -11)
📝 frontend/rust-lib/Cargo.lock (+1 -0)
frontend/rust-lib/flowy-database/src/services/export.rs (+0 -182)
📝 frontend/rust-lib/flowy-database2/src/entities/field_entities.rs (+6 -14)
📝 frontend/rust-lib/flowy-database2/src/event_handler.rs (+1 -1)
📝 frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs (+53 -16)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/checkbox_type_option/checkbox_type_option.rs (+3 -1)
📝 frontend/rust-lib/flowy-database2/tests/database/field_test/test.rs (+0 -24)
📝 frontend/rust-lib/flowy-folder2/src/event_handler.rs (+9 -5)
📝 frontend/rust-lib/flowy-folder2/src/event_map.rs (+1 -1)
📝 frontend/rust-lib/flowy-test/Cargo.toml (+1 -0)
📝 frontend/rust-lib/flowy-test/src/lib.rs (+207 -3)
📝 frontend/rust-lib/flowy-test/tests/database/test.rs (+290 -0)

📄 Description

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/2728 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 6/7/2023 **Status:** ✅ Merged **Merged:** 6/7/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `develop` ← **Head:** `test/add_datbaase_event_test` --- ### 📝 Commits (4) - [`65cf0c6`](https://github.com/AppFlowy-IO/AppFlowy/commit/65cf0c6a5eb8abdba5c77803ea81fa7d3e61dd2e) test: add tests and fix modify primary field bug - [`edd8af6`](https://github.com/AppFlowy-IO/AppFlowy/commit/edd8af6d4495c57acf35d4cc85f808ff496718ad) test: add more test - [`a153418`](https://github.com/AppFlowy-IO/AppFlowy/commit/a15341883e0d3428ff66efb336d7b2d1b6c3de2b) fix: tauri buiuld - [`4b470ce`](https://github.com/AppFlowy-IO/AppFlowy/commit/4b470ce00fccb38577a65c15d472e3e3ccea5d20) chore: disable share link button ### 📊 Changes **20 files changed** (+623 additions, -343 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/database_view/application/cell/cell_data_persistence.dart` (+4 -2) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/application/field/field_service.dart` (+0 -5) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/header/field_cell_action_sheet.dart` (+17 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/bloc/checkbox_card_cell_bloc.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_button.dart` (+8 -9) ➖ `frontend/appflowy_flutter/test/bloc_test/grid_test/filter/edit_filter_field_test.dart` (+0 -57) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+20 -11) 📝 `frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/field/field_bd_svc.ts` (+1 -11) 📝 `frontend/rust-lib/Cargo.lock` (+1 -0) ➖ `frontend/rust-lib/flowy-database/src/services/export.rs` (+0 -182) 📝 `frontend/rust-lib/flowy-database2/src/entities/field_entities.rs` (+6 -14) 📝 `frontend/rust-lib/flowy-database2/src/event_handler.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs` (+53 -16) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/checkbox_type_option/checkbox_type_option.rs` (+3 -1) 📝 `frontend/rust-lib/flowy-database2/tests/database/field_test/test.rs` (+0 -24) 📝 `frontend/rust-lib/flowy-folder2/src/event_handler.rs` (+9 -5) 📝 `frontend/rust-lib/flowy-folder2/src/event_map.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-test/Cargo.toml` (+1 -0) 📝 `frontend/rust-lib/flowy-test/src/lib.rs` (+207 -3) 📝 `frontend/rust-lib/flowy-test/tests/database/test.rs` (+290 -0) </details> ### 📄 Description #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] 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 22:18:33 +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#5394
No description provided.