From 0f938d6bd4c62225da9011d892204a9bddb7df69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 29 Mar 2021 12:02:36 +0200 Subject: [PATCH] Moving cardDetail to its own directory --- .../{ => cardDetail}/cardDetail.scss | 0 .../{ => cardDetail}/cardDetail.tsx | 40 +++++++++---------- webapp/src/components/cardDialog.tsx | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) rename webapp/src/components/{ => cardDetail}/cardDetail.scss (100%) rename webapp/src/components/{ => cardDetail}/cardDetail.tsx (91%) diff --git a/webapp/src/components/cardDetail.scss b/webapp/src/components/cardDetail/cardDetail.scss similarity index 100% rename from webapp/src/components/cardDetail.scss rename to webapp/src/components/cardDetail/cardDetail.scss diff --git a/webapp/src/components/cardDetail.tsx b/webapp/src/components/cardDetail/cardDetail.tsx similarity index 91% rename from webapp/src/components/cardDetail.tsx rename to webapp/src/components/cardDetail/cardDetail.tsx index 90a49cfa6..8dfd9704f 100644 --- a/webapp/src/components/cardDetail.tsx +++ b/webapp/src/components/cardDetail/cardDetail.tsx @@ -3,28 +3,28 @@ import React from 'react' import {FormattedMessage, injectIntl, IntlShape} from 'react-intl' -import {BlockIcons} from '../blockIcons' -import {BlockTypes} from '../blocks/block' -import {PropertyType} from '../blocks/board' -import {MutableTextBlock} from '../blocks/textBlock' -import mutator from '../mutator' -import {Utils} from '../utils' -import {BoardTree} from '../viewModel/boardTree' -import {CardTree} from '../viewModel/cardTree' -import Button from '../widgets/buttons/button' -import Editable from '../widgets/editable' -import EmojiIcon from '../widgets/icons/emoji' -import Menu from '../widgets/menu' -import MenuWrapper from '../widgets/menuWrapper' -import PropertyMenu from '../widgets/propertyMenu' +import {BlockIcons} from '../../blockIcons' +import {BlockTypes} from '../../blocks/block' +import {PropertyType} from '../../blocks/board' +import {MutableTextBlock} from '../../blocks/textBlock' +import mutator from '../../mutator' +import {Utils} from '../../utils' +import {BoardTree} from '../../viewModel/boardTree' +import {CardTree} from '../../viewModel/cardTree' +import Button from '../../widgets/buttons/button' +import Editable from '../../widgets/editable' +import EmojiIcon from '../../widgets/icons/emoji' +import Menu from '../../widgets/menu' +import MenuWrapper from '../../widgets/menuWrapper' +import PropertyMenu from '../../widgets/propertyMenu' -import BlockIconSelector from './blockIconSelector' +import BlockIconSelector from '../blockIconSelector' import './cardDetail.scss' -import CommentsList from './commentsList' -import {ContentHandler, contentRegistry} from './content/contentRegistry' -import ContentBlock from './contentBlock' -import {MarkdownEditor} from './markdownEditor' -import PropertyValueElement from './propertyValueElement' +import CommentsList from '../commentsList' +import {ContentHandler, contentRegistry} from '../content/contentRegistry' +import ContentBlock from '../contentBlock' +import {MarkdownEditor} from '../markdownEditor' +import PropertyValueElement from '../propertyValueElement' type Props = { boardTree: BoardTree diff --git a/webapp/src/components/cardDialog.tsx b/webapp/src/components/cardDialog.tsx index 34a7db9bf..78de4f7db 100644 --- a/webapp/src/components/cardDialog.tsx +++ b/webapp/src/components/cardDialog.tsx @@ -12,7 +12,7 @@ import {CardTree, MutableCardTree} from '../viewModel/cardTree' import DeleteIcon from '../widgets/icons/delete' import Menu from '../widgets/menu' -import CardDetail from './cardDetail' +import CardDetail from './cardDetail/cardDetail' import Dialog from './dialog' type Props = {