[PR #7052] [CLOSED] chore: Calculate UI test #7707

Closed
opened 2026-03-23 23:20:51 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7052
Author: @appflowy
Created: 12/26/2024
Status: Closed

Base: mainHead: calculate_ui_test


📝 Commits (10+)

  • 61b6629 test: filter+calculations
  • 398a901 test: add more coverage
  • 79c186f test: fix failing test after merge
  • 89b4e33 test: add expects back
  • c590d59 chore: merge branch 'upstream/main' into test/filter-calculations
  • 826170e test: add duration to pump to check
  • d110e94 chore: merge branch 'upstream/main' into test/filter-calculations
  • f03d8d3 Merge branch 'main' into test/filter-calculations
  • 56bbe29 chore: revamp test helper
  • 14f656b chore: create rust test

📊 Changes

22 files changed (+1101 additions, -553 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/grid/grid_calculations_test.dart (+574 -5)
📝 frontend/appflowy_flutter/integration_test/desktop_runner_4.dart (+2 -0)
📝 frontend/appflowy_flutter/integration_test/shared/database_test_op.dart (+19 -5)
📝 frontend/appflowy_flutter/lib/plugins/database/application/calculations/calculations_service.dart (+0 -2)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/calculations/calculate_cell.dart (+54 -31)
📝 frontend/rust-lib/event-integration-test/tests/database/local_test/calculate_test.rs (+3 -11)
📝 frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs (+1 -1)
📝 frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs (+38 -39)
📝 frontend/rust-lib/flowy-database2/tests/database/calculations_test/calculation_test.rs (+32 -7)
📝 frontend/rust-lib/flowy-database2/tests/database/calculations_test/mod.rs (+0 -1)
frontend/rust-lib/flowy-database2/tests/database/calculations_test/script.rs (+0 -71)
📝 frontend/rust-lib/flowy-database2/tests/database/database_editor.rs (+328 -7)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/advanced_filter_test.rs (+3 -3)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/checkbox_filter_test.rs (+3 -3)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/checklist_filter_test.rs (+4 -4)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/date_filter_test.rs (+6 -6)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/mod.rs (+1 -1)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/number_filter_test.rs (+7 -7)
frontend/rust-lib/flowy-database2/tests/database/filter_test/script.rs (+0 -323)
📝 frontend/rust-lib/flowy-database2/tests/database/filter_test/select_option_filter_test.rs (+8 -8)

...and 2 more files

📄 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/7052 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 12/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `calculate_ui_test` --- ### 📝 Commits (10+) - [`61b6629`](https://github.com/AppFlowy-IO/AppFlowy/commit/61b66291cb8cd567f4843699dffba5be75b5cb20) test: filter+calculations - [`398a901`](https://github.com/AppFlowy-IO/AppFlowy/commit/398a9010bf00f9a042ea82831488b7ee961db971) test: add more coverage - [`79c186f`](https://github.com/AppFlowy-IO/AppFlowy/commit/79c186fa9997328ae71317830176b87ff4fc2f97) test: fix failing test after merge - [`89b4e33`](https://github.com/AppFlowy-IO/AppFlowy/commit/89b4e334fb31ade24feffc30a3033b288d8be9bb) test: add expects back - [`c590d59`](https://github.com/AppFlowy-IO/AppFlowy/commit/c590d59ed58aa0686215ee2af5f37720800851c8) chore: merge branch 'upstream/main' into test/filter-calculations - [`826170e`](https://github.com/AppFlowy-IO/AppFlowy/commit/826170e1109c5e5b5bba6095f4f6f07b29f4580d) test: add duration to pump to check - [`d110e94`](https://github.com/AppFlowy-IO/AppFlowy/commit/d110e9446ef004c240760220a67a403c6ecd81a0) chore: merge branch 'upstream/main' into test/filter-calculations - [`f03d8d3`](https://github.com/AppFlowy-IO/AppFlowy/commit/f03d8d35efa79eb7968663da8e368f4dafc8157c) Merge branch 'main' into test/filter-calculations - [`56bbe29`](https://github.com/AppFlowy-IO/AppFlowy/commit/56bbe29058bac56d729c7ec9432c2fc262e83e38) chore: revamp test helper - [`14f656b`](https://github.com/AppFlowy-IO/AppFlowy/commit/14f656be752eb570cf52e2cd6e85a2682b5c8cca) chore: create rust test ### 📊 Changes **22 files changed** (+1101 additions, -553 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/grid/grid_calculations_test.dart` (+574 -5) 📝 `frontend/appflowy_flutter/integration_test/desktop_runner_4.dart` (+2 -0) 📝 `frontend/appflowy_flutter/integration_test/shared/database_test_op.dart` (+19 -5) 📝 `frontend/appflowy_flutter/lib/plugins/database/application/calculations/calculations_service.dart` (+0 -2) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/calculations/calculate_cell.dart` (+54 -31) 📝 `frontend/rust-lib/event-integration-test/tests/database/local_test/calculate_test.rs` (+3 -11) 📝 `frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs` (+38 -39) 📝 `frontend/rust-lib/flowy-database2/tests/database/calculations_test/calculation_test.rs` (+32 -7) 📝 `frontend/rust-lib/flowy-database2/tests/database/calculations_test/mod.rs` (+0 -1) ➖ `frontend/rust-lib/flowy-database2/tests/database/calculations_test/script.rs` (+0 -71) 📝 `frontend/rust-lib/flowy-database2/tests/database/database_editor.rs` (+328 -7) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/advanced_filter_test.rs` (+3 -3) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/checkbox_filter_test.rs` (+3 -3) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/checklist_filter_test.rs` (+4 -4) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/date_filter_test.rs` (+6 -6) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/mod.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/number_filter_test.rs` (+7 -7) ➖ `frontend/rust-lib/flowy-database2/tests/database/filter_test/script.rs` (+0 -323) 📝 `frontend/rust-lib/flowy-database2/tests/database/filter_test/select_option_filter_test.rs` (+8 -8) _...and 2 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. --> ### 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 - [ ] 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 23:20:51 +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#7707
No description provided.