Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Merge branch 'upstream-main' into feat/tauri-kanban

ascarbek745ee264c853
diff --cc frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
index 0ac8986e8d,cdd3bd76aa..41b61fc8e9
--- a/frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
+++ b/frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
@@@ -76,14 -76,9 +76,14 @@@ export class DatabaseController
};
moveRow = (rowId: string, groupId: string) => {
- return this.backendService.moveRow(rowId, groupId);
+ return this.backendService.moveGroupRow(rowId, groupId);
};
+ exchangeRow = async (fromRowId: string, toRowId: string) => {
+ await this.backendService.exchangeRow(fromRowId, toRowId);
+ await this.loadGroup();
+ };
+
moveGroup = (fromGroupId: string, toGroupId: string) => {
return this.backendService.moveGroup(fromGroupId, toGroupId);
};