stable

Clone or download

Read-only

Display today indicator

This indicator is always visible, even if today is outside from the time period of displayed tasks. The day of today is displayed as a native tooltip. tlp-tooltip is not used yet since it is not easy to position it: * widget overflow issues * if lot of tasks, indicator may be high, the tlp-tooltip could be displayed outside of the viewport Technical note: A refactoring is needed so that position calculation does not depends on "month" but on "time unit". This will be done later in a dedicated changeset. Reminder: The widget is hidden behind a feature flag: ``` tuleap config-set feature_flag_plugin_roadmap_display_underconstruction_widget 1 ``` Part of story #19734: have a Roadmap widget on dashboard Change-Id: I3079e31c071b17b7db810b183e6087dd023e663f

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/po/fr_FR.po +3 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.test.ts +11 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +15 −12 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/TodayIndicator.test.ts +39 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/TodayIndicator.vue +58 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/left-position.test.ts +33 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/left-postion.ts +37 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/months.test.ts +167 −31 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/months.ts +47 −12 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/styles.ts +22 −0 Go to diff View file
M plugins/roadmap/themes/_gantt-board.scss +30 −62 Go to diff View file
M plugins/roadmap/themes/_grid.scss +1 −0 Go to diff View file
A plugins/roadmap/themes/_task.scss +89 −0 Go to diff View file
M plugins/roadmap/themes/_timeperiod.scss +1 −0 Go to diff View file