.. include:: /Includes.rst.txt .. _feature-1791178681: ========================================= Feature: Project widgets on the dashboard ========================================= Description =========== The dashboard gets the group ``projects`` with seven widgets: ``project-overview``, ``project-trend``, ``project-task-status``, ``task-deadlines``, ``project-top-active``, ``projects-due-this-month`` and ``project-top-contributors``. Their figures cover only the projects and tasks the reader sees, and they are offered only to readers who see a project. Packages derive actor kinds of their own for the dashboard through ``CallerRelationship``; the projects package adds ``projectManager``, which ``project-top-contributors`` requires besides HR. A widget that implements ``ReaderPrecondition`` is offered and served only to the readers it has something to show. Impact ====== The widget data operations live under ``/api/v1/dashboard-data/projects/``. ``WidgetGroup`` gains ``projects`` and ``WidgetActor`` gains ``projectManager``. .. index:: Dashboard, API, Frontend, package:adsum-core, package:adsum-projects