[PR #3284] [MERGED] feat: field settings application domain #5660

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3284
Author: @richardshiue
Created: 8/28/2023
Status: Merged
Merged: 9/1/2023
Merged by: @appflowy

Base: mainHead: field-settings-3


📝 Commits (10+)

  • ff66b3f chore: default field settings if not exist
  • f9a8785 chore: field settings listeners and services
  • af3ca51 chore: don't need to updateFieldInfos
  • 5230258 chore: Merge remote-tracking branch 'upstream/main' into field-settings-3
  • 3d5fba3 chore: load default field settings if none found
  • 3a97d7a chore: update collab ref
  • e6f3ab9 Merge branch 'main' into field-settings-3
  • a351486 chore: fix remidner compile errors
  • a66e514 fix: fix tests
  • 0e64419 chore: update tauri project setting

📊 Changes

32 files changed (+907 additions, -544 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/database_view/application/field/field_controller.dart (+265 -212)
📝 frontend/appflowy_flutter/lib/plugins/database_view/application/field/field_info.dart (+5 -0)
frontend/appflowy_flutter/lib/plugins/database_view/application/field_settings/field_settings_listener.dart (+51 -0)
frontend/appflowy_flutter/lib/plugins/database_view/application/field_settings/field_settings_service.dart (+54 -0)
📝 frontend/appflowy_flutter/lib/plugins/database_view/application/row/row_cache.dart (+3 -0)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/filter/filter_info.dart (+4 -0)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_info.dart (+2 -0)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+94 -63)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+9 -9)
📝 frontend/rust-lib/Cargo.lock (+17 -69)
📝 frontend/rust-lib/Cargo.toml (+8 -9)
📝 frontend/rust-lib/flowy-database2/src/entities/field_settings_entities.rs (+9 -3)
📝 frontend/rust-lib/flowy-database2/src/entities/setting_entities.rs (+6 -2)
📝 frontend/rust-lib/flowy-database2/src/event_handler.rs (+29 -2)
📝 frontend/rust-lib/flowy-database2/src/event_map.rs (+5 -1)
📝 frontend/rust-lib/flowy-database2/src/manager.rs (+6 -11)
📝 frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs (+101 -46)
📝 frontend/rust-lib/flowy-database2/src/services/database/util.rs (+12 -1)
📝 frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs (+12 -10)
frontend/rust-lib/flowy-database2/src/services/field_settings/field_settings.rs (+0 -35)

...and 12 more files

📄 Description

This PR adds the field settings to the Flutter side's application domain. This is also accompanied by a refactor on the FieldController's code.

Feature Preview

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/3284 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 8/28/2023 **Status:** ✅ Merged **Merged:** 9/1/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `field-settings-3` --- ### 📝 Commits (10+) - [`ff66b3f`](https://github.com/AppFlowy-IO/AppFlowy/commit/ff66b3f88edd04518766e9e95c925854637ea40a) chore: default field settings if not exist - [`f9a8785`](https://github.com/AppFlowy-IO/AppFlowy/commit/f9a8785c6c3059cdffd97f8787426c972c13b678) chore: field settings listeners and services - [`af3ca51`](https://github.com/AppFlowy-IO/AppFlowy/commit/af3ca5171e23117a950eb9dae41526eaf1ef9bea) chore: don't need to updateFieldInfos - [`5230258`](https://github.com/AppFlowy-IO/AppFlowy/commit/52302582d98b1c41691d63d1b886623cc6368911) chore: Merge remote-tracking branch 'upstream/main' into field-settings-3 - [`3d5fba3`](https://github.com/AppFlowy-IO/AppFlowy/commit/3d5fba340dda508b76dea1d7152b00158fc514d1) chore: load default field settings if none found - [`3a97d7a`](https://github.com/AppFlowy-IO/AppFlowy/commit/3a97d7a047a43744f5809cdcb3ae2ce5362f8682) chore: update collab ref - [`e6f3ab9`](https://github.com/AppFlowy-IO/AppFlowy/commit/e6f3ab9c85964b476f5867aaade8869ba531a454) Merge branch 'main' into field-settings-3 - [`a351486`](https://github.com/AppFlowy-IO/AppFlowy/commit/a35148633583d74125a51509e854f66ff541c335) chore: fix remidner compile errors - [`a66e514`](https://github.com/AppFlowy-IO/AppFlowy/commit/a66e514a544593e02530ac213e5001bf29da57ba) fix: fix tests - [`0e64419`](https://github.com/AppFlowy-IO/AppFlowy/commit/0e64419de0a49bf5c28371f8b652655e3b9c6021) chore: update tauri project setting ### 📊 Changes **32 files changed** (+907 additions, -544 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/database_view/application/field/field_controller.dart` (+265 -212) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/application/field/field_info.dart` (+5 -0) ➕ `frontend/appflowy_flutter/lib/plugins/database_view/application/field_settings/field_settings_listener.dart` (+51 -0) ➕ `frontend/appflowy_flutter/lib/plugins/database_view/application/field_settings/field_settings_service.dart` (+54 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/application/row/row_cache.dart` (+3 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/filter/filter_info.dart` (+4 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_info.dart` (+2 -0) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+94 -63) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+9 -9) 📝 `frontend/rust-lib/Cargo.lock` (+17 -69) 📝 `frontend/rust-lib/Cargo.toml` (+8 -9) 📝 `frontend/rust-lib/flowy-database2/src/entities/field_settings_entities.rs` (+9 -3) 📝 `frontend/rust-lib/flowy-database2/src/entities/setting_entities.rs` (+6 -2) 📝 `frontend/rust-lib/flowy-database2/src/event_handler.rs` (+29 -2) 📝 `frontend/rust-lib/flowy-database2/src/event_map.rs` (+5 -1) 📝 `frontend/rust-lib/flowy-database2/src/manager.rs` (+6 -11) 📝 `frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs` (+101 -46) 📝 `frontend/rust-lib/flowy-database2/src/services/database/util.rs` (+12 -1) 📝 `frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs` (+12 -10) ➖ `frontend/rust-lib/flowy-database2/src/services/field_settings/field_settings.rs` (+0 -35) _...and 12 more files_ </details> ### 📄 Description This PR adds the field settings to the Flutter side's application domain. This is also accompanied by a refactor on the FieldController's code. ### Feature Preview #### PR Checklist - [ ] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] 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:19:44 +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#5660
No description provided.