mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: edit create card
This commit is contained in:
@ -171,9 +171,6 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
|
|||||||
boardController.addColumns(columns);
|
boardController.addColumns(columns);
|
||||||
initializeGroups(groups);
|
initializeGroups(groups);
|
||||||
},
|
},
|
||||||
onRowsChanged: (List<RowInfo> rowInfos, RowsChangedReason reason) {
|
|
||||||
add(BoardEvent.didReceiveRows(rowInfos));
|
|
||||||
},
|
|
||||||
onDeletedGroup: (groupIds) {
|
onDeletedGroup: (groupIds) {
|
||||||
//
|
//
|
||||||
},
|
},
|
||||||
@ -223,8 +220,6 @@ class BoardEvent with _$BoardEvent {
|
|||||||
const factory BoardEvent.createRow(String groupId) = _CreateRow;
|
const factory BoardEvent.createRow(String groupId) = _CreateRow;
|
||||||
const factory BoardEvent.endEditRow(String rowId) = _EndEditRow;
|
const factory BoardEvent.endEditRow(String rowId) = _EndEditRow;
|
||||||
const factory BoardEvent.didReceiveError(FlowyError error) = _DidReceiveError;
|
const factory BoardEvent.didReceiveError(FlowyError error) = _DidReceiveError;
|
||||||
const factory BoardEvent.didReceiveRows(List<RowInfo> rowInfos) =
|
|
||||||
_DidReceiveRows;
|
|
||||||
const factory BoardEvent.didReceiveGridUpdate(
|
const factory BoardEvent.didReceiveGridUpdate(
|
||||||
GridPB grid,
|
GridPB grid,
|
||||||
) = _DidReceiveGridUpdate;
|
) = _DidReceiveGridUpdate;
|
||||||
|
@ -60,7 +60,7 @@ class BoardDataController {
|
|||||||
required OnGridChanged onGridChanged,
|
required OnGridChanged onGridChanged,
|
||||||
OnFieldsChanged? onFieldsChanged,
|
OnFieldsChanged? onFieldsChanged,
|
||||||
required DidLoadGroups didLoadGroups,
|
required DidLoadGroups didLoadGroups,
|
||||||
required OnRowsChanged onRowsChanged,
|
OnRowsChanged? onRowsChanged,
|
||||||
required OnUpdatedGroup onUpdatedGroup,
|
required OnUpdatedGroup onUpdatedGroup,
|
||||||
required OnDeletedGroup onDeletedGroup,
|
required OnDeletedGroup onDeletedGroup,
|
||||||
required OnInsertedGroup onInsertedGroup,
|
required OnInsertedGroup onInsertedGroup,
|
||||||
|
@ -35,7 +35,7 @@ class RowDetailPage extends StatefulWidget with FlowyOverlayDelegate {
|
|||||||
|
|
||||||
void show(BuildContext context) async {
|
void show(BuildContext context) async {
|
||||||
final windowSize = MediaQuery.of(context).size;
|
final windowSize = MediaQuery.of(context).size;
|
||||||
final size = windowSize * 0.7;
|
final size = windowSize * 0.5;
|
||||||
FlowyOverlay.of(context).insertWithRect(
|
FlowyOverlay.of(context).insertWithRect(
|
||||||
widget: OverlayContainer(
|
widget: OverlayContainer(
|
||||||
child: this,
|
child: this,
|
||||||
|
Reference in New Issue
Block a user