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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: fix card refresh issue
appflowyc827f9b15645
diff --git a/frontend/app_flowy/lib/plugins/board/application/board_bloc.dart b/frontend/app_flowy/lib/plugins/board/application/board_bloc.dartindex 422f1dff2b..7c04dec814 100644--- a/frontend/app_flowy/lib/plugins/board/application/board_bloc.dart+++ b/frontend/app_flowy/lib/plugins/board/application/board_bloc.dart@@ -317,9 +317,6 @@ class GroupControllerDelegateImpl extends GroupControllerDelegate {@overridevoid updateRow(String groupId, RowPB row) {- // workaround: fix the board card reload timing issue.- Future.delayed(const Duration(milliseconds: 300), () {- controller.updateColumnItem(groupId, BoardColumnItem(row: row));- });+ controller.updateColumnItem(groupId, BoardColumnItem(row: row));}}diff --git a/frontend/app_flowy/lib/plugins/board/application/card/board_select_option_cell_bloc.dart b/frontend/app_flowy/lib/plugins/board/application/card/board_select_option_cell_bloc.dartindex df36033cfa..1b70710a35 100644--- a/frontend/app_flowy/lib/plugins/board/application/card/board_select_option_cell_bloc.dart+++ b/frontend/app_flowy/lib/plugins/board/application/card/board_select_option_cell_bloc.dart@@ -68,7 +68,6 @@ class BoardSelectOptionCellState with _$BoardSelectOptionCellState {factory BoardSelectOptionCellState.initial(GridSelectOptionCellController context) {final data = context.getCellData();-return BoardSelectOptionCellState(selectedOptions: data?.selectOptions ?? [],);diff --git a/frontend/app_flowy/lib/plugins/grid/application/cell/cell_service/context_builder.dart b/frontend/app_flowy/lib/plugins/grid/application/cell/cell_service/context_builder.dartindex 95c708e0e2..8ab486a48c 100644--- a/frontend/app_flowy/lib/plugins/grid/application/cell/cell_service/context_builder.dart+++ b/frontend/app_flowy/lib/plugins/grid/application/cell/cell_service/context_builder.dart@@ -190,7 +190,10 @@ class IGridCellController<T, D> extends Equatable {/// cell display: $12_cellListener?.start(onCellChanged: (result) {result.fold(- (_) => _loadData(),+ (_) {+ _cellsCache.remove(fieldId);+ _loadData();+ },(err) => Log.error(err),);});diff --git a/frontend/rust-lib/flowy-grid/src/event_handler.rs b/frontend/rust-lib/flowy-grid/src/event_handler.rsindex a9060aa87e..4b525c233f 100644--- a/frontend/rust-lib/flowy-grid/src/event_handler.rs+++ b/frontend/rust-lib/flowy-grid/src/event_handler.rs@@ -269,7 +269,7 @@ pub(crate) async fn create_table_row_handler(data_result(row)}-// #[tracing::instrument(level = "debug", skip_all, err)]+#[tracing::instrument(level = "trace", skip_all, err)]pub(crate) async fn get_cell_handler(data: Data<GridCellIdPB>,manager: AppData<Arc<GridManager>>,