mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: imports optimise
This commit is contained in:
parent
0c211188f0
commit
d2b0f7e6b0
@ -1,6 +1,6 @@
|
|||||||
import { SettingsSvg } from '../_shared/svg/SettingsSvg';
|
import { SettingsSvg } from '../_shared/svg/SettingsSvg';
|
||||||
import { SearchInput } from '../_shared/SearchInput';
|
import { SearchInput } from '../_shared/SearchInput';
|
||||||
import { BoardBlock } from './BoardBlock';
|
import { BoardGroup } from './BoardGroup';
|
||||||
import { NewBoardBlock } from './NewBoardBlock';
|
import { NewBoardBlock } from './NewBoardBlock';
|
||||||
import { useDatabase } from '../_shared/database-hooks/useDatabase';
|
import { useDatabase } from '../_shared/database-hooks/useDatabase';
|
||||||
import { ViewLayoutPB } from '@/services/backend';
|
import { ViewLayoutPB } from '@/services/backend';
|
||||||
@ -39,7 +39,7 @@ export const Board = ({ viewId }: { viewId: string }) => {
|
|||||||
{controller &&
|
{controller &&
|
||||||
groups &&
|
groups &&
|
||||||
groups.map((group, index) => (
|
groups.map((group, index) => (
|
||||||
<BoardBlock
|
<BoardGroup
|
||||||
key={group.groupId}
|
key={group.groupId}
|
||||||
viewId={viewId}
|
viewId={viewId}
|
||||||
controller={controller}
|
controller={controller}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Details2Svg } from '../_shared/svg/Details2Svg';
|
import { Details2Svg } from '../_shared/svg/Details2Svg';
|
||||||
import { RowInfo } from '../../stores/effects/database/row/row_cache';
|
import { RowInfo } from '$app/stores/effects/database/row/row_cache';
|
||||||
import { useRow } from '../_shared/database-hooks/useRow';
|
import { useRow } from '../_shared/database-hooks/useRow';
|
||||||
import { DatabaseController } from '../../stores/effects/database/database_controller';
|
import { DatabaseController } from '$app/stores/effects/database/database_controller';
|
||||||
import { BoardCell } from './BoardCell';
|
import { BoardCell } from './BoardCell';
|
||||||
import { Draggable } from 'react-beautiful-dnd';
|
import { Draggable } from 'react-beautiful-dnd';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { CellIdentifier } from '../../stores/effects/database/cell/cell_bd_svc';
|
import { CellIdentifier } from '$app/stores/effects/database/cell/cell_bd_svc';
|
||||||
import { CellCache } from '../../stores/effects/database/cell/cell_cache';
|
import { CellCache } from '$app/stores/effects/database/cell/cell_cache';
|
||||||
import { FieldController } from '../../stores/effects/database/field/field_controller';
|
import { FieldController } from '$app/stores/effects/database/field/field_controller';
|
||||||
import { FieldType } from '../../../services/backend';
|
import { FieldType } from '@/services/backend';
|
||||||
import { BoardOptionsCell } from './BoardOptionsCell';
|
import { BoardOptionsCell } from './BoardOptionsCell';
|
||||||
import { BoardDateCell } from './BoardDateCell';
|
import { BoardDateCell } from './BoardDateCell';
|
||||||
import { BoardTextCell } from './BoardTextCell';
|
import { BoardTextCell } from './BoardTextCell';
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { DateCellDataPB } from '../../../services/backend';
|
import { DateCellDataPB } from '@/services/backend';
|
||||||
import { useCell } from '../_shared/database-hooks/useCell';
|
import { useCell } from '../_shared/database-hooks/useCell';
|
||||||
import { CellIdentifier } from '../../stores/effects/database/cell/cell_bd_svc';
|
import { CellIdentifier } from '$app/stores/effects/database/cell/cell_bd_svc';
|
||||||
import { CellCache } from '../../stores/effects/database/cell/cell_cache';
|
import { CellCache } from '$app/stores/effects/database/cell/cell_cache';
|
||||||
import { FieldController } from '../../stores/effects/database/field/field_controller';
|
import { FieldController } from '$app/stores/effects/database/field/field_controller';
|
||||||
|
|
||||||
export const BoardDateCell = ({
|
export const BoardDateCell = ({
|
||||||
cellIdentifier,
|
cellIdentifier,
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import { Details2Svg } from '../_shared/svg/Details2Svg';
|
import { Details2Svg } from '../_shared/svg/Details2Svg';
|
||||||
import AddSvg from '../_shared/svg/AddSvg';
|
import AddSvg from '../_shared/svg/AddSvg';
|
||||||
import { BoardCard } from './BoardCard';
|
import { BoardCard } from './BoardCard';
|
||||||
import { RowInfo } from '../../stores/effects/database/row/row_cache';
|
import { RowInfo } from '$app/stores/effects/database/row/row_cache';
|
||||||
import { DatabaseController } from '../../stores/effects/database/database_controller';
|
import { DatabaseController } from '$app/stores/effects/database/database_controller';
|
||||||
import { Droppable } from 'react-beautiful-dnd';
|
import { Droppable } from 'react-beautiful-dnd';
|
||||||
import { DatabaseGroupController } from '$app/stores/effects/database/group/group_controller';
|
import { DatabaseGroupController } from '$app/stores/effects/database/group/group_controller';
|
||||||
|
|
||||||
export const BoardBlock = ({
|
export const BoardGroup = ({
|
||||||
viewId,
|
viewId,
|
||||||
controller,
|
controller,
|
||||||
allRows,
|
allRows,
|
@ -1,8 +1,8 @@
|
|||||||
import { SelectOptionCellDataPB } from '../../../services/backend';
|
import { SelectOptionCellDataPB } from '@/services/backend';
|
||||||
import { useCell } from '../_shared/database-hooks/useCell';
|
import { useCell } from '../_shared/database-hooks/useCell';
|
||||||
import { CellIdentifier } from '../../stores/effects/database/cell/cell_bd_svc';
|
import { CellIdentifier } from '$app/stores/effects/database/cell/cell_bd_svc';
|
||||||
import { CellCache } from '../../stores/effects/database/cell/cell_cache';
|
import { CellCache } from '$app/stores/effects/database/cell/cell_cache';
|
||||||
import { FieldController } from '../../stores/effects/database/field/field_controller';
|
import { FieldController } from '$app/stores/effects/database/field/field_controller';
|
||||||
import { getBgColor } from '$app/components/_shared/getColor';
|
import { getBgColor } from '$app/components/_shared/getColor';
|
||||||
|
|
||||||
export const BoardOptionsCell = ({
|
export const BoardOptionsCell = ({
|
||||||
|
Loading…
Reference in New Issue
Block a user