stable

Clone or download

Read-only

User can choose quarter timescale

When tasks span on long period of time, user may want to change the timescale so that information is more readable. This allows us to put time units tooltip on top instead of bottom of the header. Known bug: at specific widths of the viewport, an horizontal scrollbar appears for timescale:week, whereas it is not the case for timescale:month. I suggest that we investigate this later. getBeginningOfPeriod (and getEndOfPeriod) will be deduplicated later. Part of story #19734: have a Roadmap widget on dashboard Change-Id: I5f497b0b15189d470bbaff554e51fa98f4ca4189

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/po/fr_FR.po +15 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.test.ts +24 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +51 −20 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/TimePeriod/TimePeriodControl.test.ts +45 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/TimePeriod/TimePeriodControl.vue +57 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/TimePeriod/TimePeriodHeader.test.ts +4 −4 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/TimePeriod/TimePeriodHeader.vue +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/left-position.test.ts +13 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-quarter.test.ts +366 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-quarter.ts +154 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/uniq-id-generator.test.ts +26 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/uniq-id-generator.ts +24 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/vue-gettext-provider-for-test.ts +32 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/vue-gettext-provider.ts +23 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +2 −0 Go to diff View file
M plugins/roadmap/themes/_gantt-board.scss +9 −0 Go to diff View file
M plugins/roadmap/themes/_timeperiod.scss +5 −0 Go to diff View file
M tools/utils/scripts/gettext/file-extractor.js +1 −0 Go to diff View file