[PR #2866] [MERGED] chore: add database sort integration test #5448

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

📋 Pull Request Information

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

Base: mainHead: test/sort_integration_test


📝 Commits (5)

  • d2919c1 chore: add sort test
  • 2760a20 chore: add tests
  • 16a9da0 chore: update tests
  • f71d38d Merge branch 'main' into test/sort_integration_test
  • 91534a9 fix: switch folder test

📊 Changes

8 files changed (+424 additions, -62 deletions)

View changed files

frontend/appflowy_flutter/integration_test/database_sort_test.dart (+283 -0)
📝 frontend/appflowy_flutter/integration_test/runner.dart (+2 -0)
📝 frontend/appflowy_flutter/integration_test/switch_folder_test.dart (+6 -3)
📝 frontend/appflowy_flutter/integration_test/util/database_test_op.dart (+77 -3)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/create_sort_list.dart (+6 -6)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/order_panel.dart (+23 -16)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_editor.dart (+23 -29)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/settings_location_cubit.dart (+4 -5)

📄 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/2866 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 6/21/2023 **Status:** ✅ Merged **Merged:** 6/21/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `test/sort_integration_test` --- ### 📝 Commits (5) - [`d2919c1`](https://github.com/AppFlowy-IO/AppFlowy/commit/d2919c1fcbc481b6fb529225a5c311675d44fc6e) chore: add sort test - [`2760a20`](https://github.com/AppFlowy-IO/AppFlowy/commit/2760a205f976599179972f67e3494a6f8294a638) chore: add tests - [`16a9da0`](https://github.com/AppFlowy-IO/AppFlowy/commit/16a9da0e88e91e047d5b442a8f63497ded1eb91d) chore: update tests - [`f71d38d`](https://github.com/AppFlowy-IO/AppFlowy/commit/f71d38d8af5944aa81bc6735f87ca1e87dd10f48) Merge branch 'main' into test/sort_integration_test - [`91534a9`](https://github.com/AppFlowy-IO/AppFlowy/commit/91534a9af60ae1f7b07fc2d1188301c13622a0ef) fix: switch folder test ### 📊 Changes **8 files changed** (+424 additions, -62 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/integration_test/database_sort_test.dart` (+283 -0) 📝 `frontend/appflowy_flutter/integration_test/runner.dart` (+2 -0) 📝 `frontend/appflowy_flutter/integration_test/switch_folder_test.dart` (+6 -3) 📝 `frontend/appflowy_flutter/integration_test/util/database_test_op.dart` (+77 -3) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/create_sort_list.dart` (+6 -6) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/order_panel.dart` (+23 -16) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_editor.dart` (+23 -29) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/settings_location_cubit.dart` (+4 -5) </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:47 +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#5448
No description provided.