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: edit row components reorganize
ascarbekda1ee430b09b
diff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditCellText.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellText.tsxsimilarity index 100%rename from frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditCellText.tsxrename to frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellText.tsxdiff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditCellWrapper.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsxsimilarity index 93%rename from frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditCellWrapper.tsxrename to frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsxindex e5fe8bbc83..0de7cc38c9 100644--- a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditCellWrapper.tsx+++ b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsx@@ -8,9 +8,9 @@ import { getBgColor } from '$app/components/_shared/getColor';import { EditorCheckSvg } from '$app/components/_shared/svg/EditorCheckSvg';import { EditorUncheckSvg } from '$app/components/_shared/svg/EditorUncheckSvg';import { useState } from 'react';-import { EditCellText } from '$app/components/board/EditBoardRow/EditCellText';-import { EditFieldPopup } from '$app/components/board/EditBoardRow/EditFieldPopup';-import { FieldTypeIcon } from '$app/components/board/EditBoardRow/FieldTypeIcon';+import { EditCellText } from '$app/components/_shared/EditRow/EditCellText';+import { EditFieldPopup } from '$app/components/_shared/EditRow/EditFieldPopup';+import { FieldTypeIcon } from '$app/components/_shared/EditRow/FieldTypeIcon';export const EditCellWrapper = ({viewId,diff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditFieldPopup.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditFieldPopup.tsxsimilarity index 93%rename from frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditFieldPopup.tsxrename to frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditFieldPopup.tsxindex 9b02590135..bc760a5eec 100644--- a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditFieldPopup.tsx+++ b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditFieldPopup.tsx@@ -3,8 +3,8 @@ import useOutsideClick from '$app/components/_shared/useOutsideClick';import { TrashSvg } from '$app/components/_shared/svg/TrashSvg';import { CellController } from '$app/stores/effects/database/cell/cell_controller';import { FieldType } from '@/services/backend';-import { FieldTypeIcon } from '$app/components/board/EditBoardRow/FieldTypeIcon';-import { FieldTypeName } from '$app/components/board/EditBoardRow/FieldTypeName';+import { FieldTypeIcon } from '$app/components/_shared/EditRow/FieldTypeIcon';+import { FieldTypeName } from '$app/components/_shared/EditRow/FieldTypeName';import { useTranslation } from 'react-i18next';import { TypeOptionController } from '$app/stores/effects/database/field/type_option/type_option_controller';import { Some } from 'ts-results';diff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditRow.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsxsimilarity index 95%rename from frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditRow.tsxrename to frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsxindex fb04a6f06f..580cfd61fa 100644--- a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/EditRow.tsx+++ b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsx@@ -2,7 +2,7 @@ import { CloseSvg } from '$app/components/_shared/svg/CloseSvg';import { useRow } from '$app/components/_shared/database-hooks/useRow';import { DatabaseController } from '$app/stores/effects/database/database_controller';import { RowInfo } from '$app/stores/effects/database/row/row_cache';-import { EditCellWrapper } from '$app/components/board/EditBoardRow/EditCellWrapper';+import { EditCellWrapper } from '$app/components/_shared/EditRow/EditCellWrapper';import AddSvg from '$app/components/_shared/svg/AddSvg';import { useTranslation } from 'react-i18next';diff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/FieldTypeIcon.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/FieldTypeIcon.tsxsimilarity index 100%rename from frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/FieldTypeIcon.tsxrename to frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/FieldTypeIcon.tsxdiff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/FieldTypeName.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/FieldTypeName.tsxsimilarity index 100%rename from frontend/appflowy_tauri/src/appflowy_app/components/board/EditBoardRow/FieldTypeName.tsxrename to frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/FieldTypeName.tsxdiff --git a/frontend/appflowy_tauri/src/appflowy_app/components/board/Board.tsx b/frontend/appflowy_tauri/src/appflowy_app/components/board/Board.tsxindex 4a90c5f81c..d7fcdd9968 100644--- a/frontend/appflowy_tauri/src/appflowy_app/components/board/Board.tsx+++ b/frontend/appflowy_tauri/src/appflowy_app/components/board/Board.tsx@@ -7,7 +7,7 @@ import { ViewLayoutTypePB } from '@/services/backend';import { DragDropContext } from 'react-beautiful-dnd';import { useState } from 'react';import { RowInfo } from '$app/stores/effects/database/row/row_cache';-import { EditRow } from '$app/components/board/EditBoardRow/EditRow';+import { EditRow } from '$app/components/_shared/EditRow/EditRow';export const Board = ({ viewId }: { viewId: string }) => {const { controller, rows, groups, onNewRowClick, onDragEnd } = useDatabase(viewId, ViewLayoutTypePB.Board);