mirror of
https://github.com/plankanban/planka.git
synced 2025-07-27 09:09:46 +02:00
ref: Creating popups with hook, fix translation keys passing
This commit is contained in:
parent
0f50dbde92
commit
8a46a2e0b9
69 changed files with 309 additions and 332 deletions
|
@ -4,12 +4,13 @@ import classNames from 'classnames';
|
|||
import { useTranslation } from 'react-i18next';
|
||||
import { Draggable, Droppable } from 'react-beautiful-dnd';
|
||||
import { Button, Icon } from 'semantic-ui-react';
|
||||
import { usePopup } from '../../lib/popup';
|
||||
|
||||
import DroppableTypes from '../../constants/DroppableTypes';
|
||||
import CardContainer from '../../containers/CardContainer';
|
||||
import NameEdit from './NameEdit';
|
||||
import CardAdd from './CardAdd';
|
||||
import ActionsPopup from './ActionsPopup';
|
||||
import ActionsStep from './ActionsStep';
|
||||
import { ReactComponent as PlusMathIcon } from '../../assets/images/plus-math-icon.svg';
|
||||
|
||||
import styles from './List.module.scss';
|
||||
|
@ -59,6 +60,8 @@ const List = React.memo(
|
|||
}
|
||||
}, [cardIds, isAddCardOpened]);
|
||||
|
||||
const ActionsPopup = usePopup(ActionsStep);
|
||||
|
||||
const cardsNode = (
|
||||
<Droppable
|
||||
droppableId={`list:${id}`}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue