[PR #4866] [MERGED] chore: enable relation to #6500

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4866
Author: @appflowy
Created: 3/11/2024
Status: Merged
Merged: 3/15/2024
Merged by: @richardshiue

Base: mainHead: enable_relation_to


📝 Commits (8)

  • 1414a08 chore: enable relation to
  • 3d3afcd chore: merge remote-tracking branch 'upstream/main' into enable_relation_to
  • 450f770 chore: fix database name and improve UI
  • d5cbadc chore: remove database view id from relation type option
  • ff5b71e chore: add remove row id test
  • ada0124 chore: improve appearance of untitled rows
  • 5345d5e chore: empty in row detail
  • 0910163 fix: cannot add events after closing

📊 Changes

20 files changed (+461 additions, -232 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/relation_cell_bloc.dart (+80 -24)
frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/relation_type_option_cubit.dart (+63 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/domain/database_service.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/field_type_list.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/type_option/relation.dart (+94 -93)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_skeleton/relation_card_cell.dart (+13 -8)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_grid/desktop_grid_relation_cell.dart (+14 -14)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_row_detail/desktop_row_detail_relation_cell.dart (+34 -24)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/relation_cell_editor.dart (+81 -33)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+2 -1)
📝 frontend/resources/translations/en.json (+2 -0)
📝 frontend/rust-lib/event-integration/tests/database/local_test/test.rs (+24 -0)
📝 frontend/rust-lib/flowy-database2/src/entities/database_entities.rs (+4 -10)
📝 frontend/rust-lib/flowy-database2/src/event_handler.rs (+17 -1)
📝 frontend/rust-lib/flowy-database2/src/manager.rs (+21 -13)
📝 frontend/rust-lib/flowy-folder/src/event_handler.rs (+1 -1)
📝 frontend/rust-lib/flowy-folder/src/event_map.rs (+1 -1)
📝 frontend/rust-lib/flowy-user/src/anon_user/migrate_anon_user_collab.rs (+2 -2)
📝 frontend/rust-lib/flowy-user/src/anon_user/sync_supabase_user_collab.rs (+3 -3)
📝 frontend/rust-lib/flowy-user/src/services/data_import/appflowy_data_import.rs (+3 -3)

📄 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/4866 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 3/11/2024 **Status:** ✅ Merged **Merged:** 3/15/2024 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `enable_relation_to` --- ### 📝 Commits (8) - [`1414a08`](https://github.com/AppFlowy-IO/AppFlowy/commit/1414a0863553c07613aa4ffe767f6c9b9bf06b18) chore: enable relation to - [`3d3afcd`](https://github.com/AppFlowy-IO/AppFlowy/commit/3d3afcdf47acef8ba9f2f83a5d93616f35c6c274) chore: merge remote-tracking branch 'upstream/main' into enable_relation_to - [`450f770`](https://github.com/AppFlowy-IO/AppFlowy/commit/450f770caadd827da372f92b596e5127e2d5d93a) chore: fix database name and improve UI - [`d5cbadc`](https://github.com/AppFlowy-IO/AppFlowy/commit/d5cbadc8d17e7ab38c96e0ff58f87ecdb5782dbb) chore: remove database view id from relation type option - [`ff5b71e`](https://github.com/AppFlowy-IO/AppFlowy/commit/ff5b71ec4b8f639944ebea8c8af828708c696449) chore: add remove row id test - [`ada0124`](https://github.com/AppFlowy-IO/AppFlowy/commit/ada01242515704eeb7332c5a71f1ef0dbdbba453) chore: improve appearance of untitled rows - [`5345d5e`](https://github.com/AppFlowy-IO/AppFlowy/commit/5345d5e0cdf3828e467f61f52e6b53bcc639aa2f) chore: empty in row detail - [`0910163`](https://github.com/AppFlowy-IO/AppFlowy/commit/0910163bcb7cd5775dafd8fd45c15e736c566c6c) fix: cannot add events after closing ### 📊 Changes **20 files changed** (+461 additions, -232 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/relation_cell_bloc.dart` (+80 -24) ➕ `frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/relation_type_option_cubit.dart` (+63 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/domain/database_service.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/field_type_list.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/type_option/relation.dart` (+94 -93) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_skeleton/relation_card_cell.dart` (+13 -8) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_grid/desktop_grid_relation_cell.dart` (+14 -14) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_row_detail/desktop_row_detail_relation_cell.dart` (+34 -24) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/relation_cell_editor.dart` (+81 -33) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+2 -1) 📝 `frontend/resources/translations/en.json` (+2 -0) 📝 `frontend/rust-lib/event-integration/tests/database/local_test/test.rs` (+24 -0) 📝 `frontend/rust-lib/flowy-database2/src/entities/database_entities.rs` (+4 -10) 📝 `frontend/rust-lib/flowy-database2/src/event_handler.rs` (+17 -1) 📝 `frontend/rust-lib/flowy-database2/src/manager.rs` (+21 -13) 📝 `frontend/rust-lib/flowy-folder/src/event_handler.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-folder/src/event_map.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-user/src/anon_user/migrate_anon_user_collab.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-user/src/anon_user/sync_supabase_user_collab.rs` (+3 -3) 📝 `frontend/rust-lib/flowy-user/src/services/data_import/appflowy_data_import.rs` (+3 -3) </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 22:23:30 +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#6500
No description provided.