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: bump af board ver (#3825)
Richard Shiue7f4e7e6aa051
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/select_option_card_cell.dart b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/select_option_card_cell.dartindex 7d9bfded9f..bf199f5b7d 100644--- a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/select_option_card_cell.dart+++ b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/select_option_card_cell.dart@@ -1,10 +1,7 @@import 'package:appflowy/plugins/database_view/application/cell/cell_controller_builder.dart';import 'package:appflowy/plugins/database_view/widgets/row/cells/select_option_cell/extension.dart';import 'package:appflowy/plugins/database_view/widgets/row/cells/select_option_cell/select_option_cell_bloc.dart';-import 'package:appflowy/plugins/database_view/widgets/row/cells/select_option_cell/select_option_editor.dart';import 'package:appflowy_backend/protobuf/flowy-database2/select_option.pb.dart';-import 'package:appflowy_popover/appflowy_popover.dart';-import 'package:flowy_infra_ui/flowy_infra_ui.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';@@ -35,11 +32,9 @@ class SelectOptionCardCell<CustomCardData>class _SelectOptionCellState extends State<SelectOptionCardCell> {late SelectOptionCellBloc _cellBloc;- late PopoverController _popover;@overridevoid initState() {- _popover = PopoverController();final cellController =widget.cellControllerBuilder.build() as SelectOptionCellController;_cellBloc = SelectOptionCellBloc(cellController: cellController)@@ -65,16 +60,14 @@ class _SelectOptionCellState extends State<SelectOptionCardCell> {return custom;}- final children = state.selectedOptions.map(- (option) {- final tag = SelectOptionTag.fromOption(- context: context,- option: option,- onSelected: () => _popover.show(),- );- return _wrapPopover(tag);- },- ).toList();+ final children = state.selectedOptions+ .map(+ (option) => SelectOptionTag.fromOption(+ context: context,+ option: option,+ ),+ )+ .toList();return IntrinsicHeight(child: Padding(@@ -89,28 +82,6 @@ class _SelectOptionCellState extends State<SelectOptionCardCell> {);}- Widget _wrapPopover(Widget child) {- final constraints = BoxConstraints.loose(- Size(- SelectOptionCellEditor.editorPanelWidth,- 300,- ),- );- return AppFlowyPopover(- controller: _popover,- constraints: constraints,- direction: PopoverDirection.bottomWithLeftAligned,- popupBuilder: (BuildContext context) {- return SelectOptionCellEditor(- cellController: widget.cellControllerBuilder.build()- as SelectOptionCellController,- );- },- onClose: () {},- child: child,- );- }-@overrideFuture<void> dispose() async {_cellBloc.close();diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lockindex 9fb28d10c9..36b53f40a1 100644--- a/frontend/appflowy_flutter/pubspec.lock+++ b/frontend/appflowy_flutter/pubspec.lock@@ -45,11 +45,11 @@ packages:dependency: "direct main"description:path: "."- ref: a183c57- resolved-ref: a183c57013071cb3192fcf3c9b1eeb89462179b7+ ref: "6aba8dd"+ resolved-ref: "6aba8ddd86839ca09b997cb2457f013236e0c337"url: "https://github.com/AppFlowy-IO/appflowy-board.git"source: git- version: "0.0.9"+ version: "0.1.0"appflowy_editor:dependency: "direct main"description:diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yamlindex 9c63eb4dd8..06765d5b58 100644--- a/frontend/appflowy_flutter/pubspec.yaml+++ b/frontend/appflowy_flutter/pubspec.yaml@@ -43,7 +43,7 @@ dependencies:# path: packages/appflowy_boardgit:url: https://github.com/AppFlowy-IO/appflowy-board.git- ref: a183c57+ ref: 6aba8ddappflowy_editor: ^1.5.0appflowy_popover:path: packages/appflowy_popover