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.

chore: add grid setting

appflowy147e948b350e
diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/grid_setting.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/grid_setting.dart
new file mode 100644
index 0000000000..dff1058c52
--- /dev/null
+++ b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/grid_setting.dart
@@ -0,0 +1,35 @@
+enum GridSetting {
+ filter,
+ sortBy,
+ properties,
+}
+
+extension _GridSettingExtension on GridSetting {
+ String iconName() {
+ switch (this) {
+ case GridSetting.filter:
+ // TODO: Handle this case.
+ break;
+ case GridSetting.sortBy:
+ // TODO: Handle this case.
+ break;
+ case GridSetting.properties:
+ // TODO: Handle this case.
+ break;
+ }
+ }
+
+ String title() {
+ switch (this) {
+ case GridSetting.filter:
+ // TODO: Handle this case.
+ break;
+ case GridSetting.sortBy:
+ // TODO: Handle this case.
+ break;
+ case GridSetting.properties:
+ // TODO: Handle this case.
+ break;
+ }
+ }
+}