In progress changes for Kanban Board and updated schema migrations. Performed some cleanup.

This commit is contained in:
Patrick Fic
2019-12-17 16:21:17 -08:00
parent 03d99a27c3
commit c5ae3224ba
27 changed files with 896 additions and 89 deletions

View File

@@ -0,0 +1,22 @@
import React from "react";
import Board from "react-trello";
import WhiteBoardCard from "../white-board-card/white-board-card.component";
export default function WhiteBoardKanBan({ data, eventBus }) {
const setEventBus = handle => {
eventBus = handle;
};
return (
<Board
tagStyle={{ fontSize: "80%" }}
data={data}
draggable
eventBusHandle={setEventBus}
components={{ Card: WhiteBoardCard }}
onCardClick={(cardId, metadata) =>
alert(`Card with id:${cardId} clicked. Has metadata.id: ${metadata.id}`)
}
/>
);
}