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: hide more button on card title
appflowy311c6ae94afb
diff --git a/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart b/frontend/app_flowy/lib/plugins/board/presentation/board_page.dartindex 26c44e52bf..3d109309d7 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart@@ -84,7 +84,6 @@ class BoardContent extends StatelessWidget {Widget _buildHeader(BuildContext context, AFBoardColumnHeaderData headerData) {return AppFlowyColumnHeader(- // icon: const Icon(Icons.lightbulb_circle),title: Flexible(fit: FlexFit.tight,child: FlowyText.medium(@@ -95,14 +94,14 @@ class BoardContent extends StatelessWidget {),),// addIcon: const Icon(Icons.add, size: 20),- moreIcon: SizedBox(- width: 20,- height: 20,- child: svgWidget(- 'grid/details',- color: context.read<AppTheme>().iconColor,- ),- ),+ // moreIcon: SizedBox(+ // width: 20,+ // height: 20,+ // child: svgWidget(+ // 'grid/details',+ // color: context.read<AppTheme>().iconColor,+ // ),+ // ),height: 50,margin: config.headerPadding,);diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/board_checkbox_cell.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/board_checkbox_cell.dartindex 25aacb5678..8578f956d6 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/board_checkbox_cell.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/board_checkbox_cell.dart@@ -41,9 +41,7 @@ class _BoardCheckboxCellState extends State<BoardCheckboxCell> {? svgWidget('editor/editor_check'): svgWidget('editor/editor_uncheck');return Padding(- padding: EdgeInsets.symmetric(- vertical: BoardSizes.cardCellVPading,- ),+ padding: EdgeInsets.zero,child: Align(alignment: Alignment.centerLeft,child: FlowyIconButton(diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/board_date_cell.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/board_date_cell.dartindex 7c7386696d..8896a32732 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/board_date_cell.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/board_date_cell.dart@@ -45,7 +45,7 @@ class _BoardDateCellState extends State<BoardDateCell> {alignment: Alignment.centerLeft,child: Padding(padding: EdgeInsets.symmetric(- vertical: BoardSizes.cardCellVPading,+ vertical: BoardSizes.cardCellVPadding,),child: FlowyText.regular(state.dateStr,diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/board_number_cell.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/board_number_cell.dartindex 965c06e643..33fb4a9b4b 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/board_number_cell.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/board_number_cell.dart@@ -42,7 +42,7 @@ class _BoardNumberCellState extends State<BoardNumberCell> {} else {return Padding(padding:- EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPading),+ EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPadding),child: Align(alignment: Alignment.centerLeft,child: FlowyText.medium(diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/board_select_option_cell.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/board_select_option_cell.dartindex 9865875e44..6cba08c636 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/board_select_option_cell.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/board_select_option_cell.dart@@ -45,7 +45,8 @@ class _BoardSelectOptionCellState extends State<BoardSelectOptionCell> {).toList();return Padding(- padding: EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPading),+ padding:+ EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPadding),child: Align(alignment: Alignment.centerLeft,child: AbsorbPointer(diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/board_text_cell.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/board_text_cell.dartindex 89b193edc5..6f6e35429a 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/board_text_cell.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/board_text_cell.dart@@ -41,7 +41,7 @@ class _BoardTextCellState extends State<BoardTextCell> {alignment: Alignment.centerLeft,child: Padding(padding:- EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPading),+ EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPadding),child: FlowyText.medium(state.content,fontSize: 14,diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/board_url_cell.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/board_url_cell.dartindex 5940e71788..f687e7efeb 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/board_url_cell.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/board_url_cell.dart@@ -42,7 +42,7 @@ class _BoardUrlCellState extends State<BoardUrlCell> {} else {return Padding(padding:- EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPading),+ EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPadding),child: Align(alignment: Alignment.centerLeft,child: RichText(diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/card_container.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/card_container.dartindex 4b8c0548d5..0e0a7287ae 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/card_container.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/card_container.dart@@ -74,6 +74,7 @@ class CardAccessoryContainer extends StatelessWidget {width: 26,height: 26,padding: const EdgeInsets.all(3),+ decoration: _makeBoxDecoration(context),child: accessory,),);@@ -88,6 +89,23 @@ class CardAccessoryContainer extends StatelessWidget {}}+BoxDecoration _makeBoxDecoration(BuildContext context) {+ final theme = context.read<AppTheme>();+ final borderSide = BorderSide(color: theme.shader6, width: 1.0);+ return BoxDecoration(+ color: theme.surface,+ border: Border.fromBorderSide(borderSide),+ boxShadow: [+ BoxShadow(+ color: theme.shader6,+ spreadRadius: 0,+ blurRadius: 2,+ offset: Offset.zero)+ ],+ borderRadius: const BorderRadius.all(Radius.circular(6)),+ );+}+class _CardEnterRegion extends StatelessWidget {final Widget child;final List<CardAccessory> accessories;diff --git a/frontend/app_flowy/lib/plugins/board/presentation/card/define.dart b/frontend/app_flowy/lib/plugins/board/presentation/card/define.dartindex ced0fefb83..c2cff2ee0f 100644--- a/frontend/app_flowy/lib/plugins/board/presentation/card/define.dart+++ b/frontend/app_flowy/lib/plugins/board/presentation/card/define.dart@@ -1,3 +1,3 @@class BoardSizes {- static double get cardCellVPading => 4;+ static double get cardCellVPadding => 4;}diff --git a/frontend/app_flowy/lib/plugins/grid/presentation/widgets/cell/select_option_cell/extension.dart b/frontend/app_flowy/lib/plugins/grid/presentation/widgets/cell/select_option_cell/extension.dartindex 6b937a3c9b..f045984e66 100644--- a/frontend/app_flowy/lib/plugins/grid/presentation/widgets/cell/select_option_cell/extension.dart+++ b/frontend/app_flowy/lib/plugins/grid/presentation/widgets/cell/select_option_cell/extension.dart@@ -91,12 +91,10 @@ class SelectOptionTag extends StatelessWidget {Widget build(BuildContext context) {return ChoiceChip(pressElevation: 1,- label: Flexible(- child: FlowyText.medium(- name,- fontSize: 12,- overflow: TextOverflow.clip,- ),+ label: FlowyText.medium(+ name,+ fontSize: 12,+ overflow: TextOverflow.clip,),selectedColor: color,backgroundColor: color,