mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-13 21:28:41 +00:00
add todos from github
This commit is contained in:
parent
079b886d28
commit
05ed8a0fee
|
|
@ -35,6 +35,23 @@ use phpOMS\Utils\Parser\Markdown\Markdown;
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @todo Orange-Management/Modules#6
|
||||||
|
* Create task/calendar reference
|
||||||
|
* Show tasks in calendars not just in user calendars but also in event calendars and project calendars?!
|
||||||
|
*
|
||||||
|
* @todo Orange-Management/Modules#33
|
||||||
|
* Repeating tasks should be implemented.
|
||||||
|
* At the same time this mans a fix to the due date needs to be implemented.
|
||||||
|
* Maybe simple calculate the time difference between first start and first due?
|
||||||
|
*
|
||||||
|
* @todo Orange-Management/Modules#147
|
||||||
|
* Add tags
|
||||||
|
* The user should be able to add a tag to a task and also decide on the color of the tag.
|
||||||
|
* User means the creator of the task.
|
||||||
|
* If task elements should have their own tags of if other users should be able to modify tags should be ignored for now.
|
||||||
|
* Maybe instead of creating a tasks specific tag system a global tag system could be used? Maybe this was already created as an issue.
|
||||||
|
* Tags should be globally and users should be able to define tags separately for their own organization purposes.
|
||||||
*/
|
*/
|
||||||
final class ApiController extends Controller
|
final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Tasks\Controller;
|
namespace Modules\Tasks\Controller;
|
||||||
|
|
||||||
|
use Modules\Dashboard\Models\DashboardElementInterface;
|
||||||
use Modules\Tasks\Models\PermissionState;
|
use Modules\Tasks\Models\PermissionState;
|
||||||
use Modules\Tasks\Models\TaskMapper;
|
use Modules\Tasks\Models\TaskMapper;
|
||||||
use Modules\Tasks\Views\TaskView;
|
use Modules\Tasks\Views\TaskView;
|
||||||
|
|
@ -34,8 +35,13 @@ use phpOMS\Views\View;
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @todo Orange-Management/Modules#148
|
||||||
|
* Add a calender like task view
|
||||||
|
* If you define tasks far into the future it can become very difficult to read and organize them.
|
||||||
|
* For this purpose there should be a calendar view for them.
|
||||||
*/
|
*/
|
||||||
final class BackendController extends Controller
|
final class BackendController extends Controller implements DashboardElementInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* Routing end-point for application behaviour.
|
||||||
|
|
@ -46,6 +52,11 @@ final class BackendController extends Controller
|
||||||
*
|
*
|
||||||
* @return RenderableInterface Returns a renderable object
|
* @return RenderableInterface Returns a renderable object
|
||||||
*
|
*
|
||||||
|
* @todo Orange-Management/Modules#54
|
||||||
|
* Implement dashboard statistics
|
||||||
|
* Currently on the dashboard there is only a placeholder for some stats.
|
||||||
|
* These stats need to be implemented.
|
||||||
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
|
|
@ -68,16 +79,7 @@ final class BackendController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface Returns a renderable object
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @codeCoverageIgnore
|
|
||||||
*/
|
*/
|
||||||
public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,15 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use Modules\Tasks\Models\TaskPriority;
|
||||||
|
|
||||||
use Modules\Tasks\Models\TaskPriority;
|
/**
|
||||||
|
* @todo Orange-Management/Modules#176
|
||||||
|
* Batch handle tasks in the dashboard list
|
||||||
|
* In the dashboard/list it should be possible to change the status of a task without going into it (changing it to done is the most important).
|
||||||
|
* This could be done with a button but also touch sliding/swiping should be possible for mobile.
|
||||||
|
* It could also make sense to implement checkboxes infront of the list items which then show a close/done etc. button which can be pressed and changes the status of all of the checked tasks.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user