add todos and improve db schema

This commit is contained in:
Dennis Eichhorn 2020-01-01 21:05:12 +01:00
parent faffcac57f
commit 5cbc53163b
2 changed files with 5 additions and 3 deletions

View File

@ -458,6 +458,4 @@ class KanbanCard implements \JsonSerializable
return $card;
}
/* todo: maybe allow ref to be an object and datamapper creates that object? how does the datamapper know what kind of datamapper to use? Just assume it's called ObjectMapper? bad isn't it?! */
}

View File

@ -1,8 +1,12 @@
<?php declare(strict_types=1);
$board = $this->getData('board');
$columns = $board->getColumns();
// todo: column width should be % but with min-width and on small screens full width
?>
<!--
@todo Orange-Management/Modules#197
Columns width should be in % but with min-width and on smaller screens full width
The amount of columns depends on the user settings
-->
<div class="row">
<?php $i = 0; foreach ($columns as $column) : $i++; $cards = $column->getCards(); ?>
<div id="kanban-column-<?= $this->printHtml($i); ?>" class="col-xs-12 col-sm-3" draggable="true">