stable

Clone or download

Read-only

feat: configurable default timescale in Roadmap widget

Depending on the dataset, the current hardcoded timescale (month) might be not appropriate. The widget should let the administrator configure the default timescale. To test: * add a widget * update an existing widget * project duplication * project xml import Closes request #22194: Roadmap widget should have a default timescale Change-Id: I586be20f28e71e40e994733b8ef77dd49a0b17eb

Modified Files

Name
M plugins/roadmap/db/install.sql +1 −0 Go to diff View file
A plugins/roadmap/db/mysql/updates/2021/202106301558_add_default_timescale.php +45 −0 Go to diff View file
M plugins/roadmap/include/Roadmap/RoadmapProjectWidget.php +23 −0 Go to diff View file
M plugins/roadmap/include/Roadmap/RoadmapWidgetDao.php +8 −4 Go to diff View file
M plugins/roadmap/include/Roadmap/Widget/PreferencePresenter.php +3 −0 Go to diff View file
M plugins/roadmap/include/Roadmap/Widget/RoadmapConfigureAtXMLImport.php +11 −3 Go to diff View file
M plugins/roadmap/include/Roadmap/Widget/RoadmapWidgetPresenter.php +4 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/Widget/RoadmapWidgetPresenterBuilder.php +3 −1 Go to diff View file
M plugins/roadmap/scripts/configure-widget/po/fr_FR.po +12 −0 Go to diff View file
M plugins/roadmap/scripts/configure-widget/src/bootstrap-vue-mount-point.ts +3 −2 Go to diff View file
M plugins/roadmap/scripts/configure-widget/src/components/App.test.ts +7 −0 Go to diff View file
M plugins/roadmap/scripts/configure-widget/src/components/App.vue +26 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/index.ts +16 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/index.ts +6 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/timeperiod/index.ts +3 −2 Go to diff View file
M plugins/roadmap/templates/preferences-form.mustache +1 −0 Go to diff View file
M plugins/roadmap/templates/widget-roadmap.mustache +1 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/RoadmapProjectWidgetTest.php +5 −3 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/Widget/RoadmapConfigureAtXMLImportTest.php +6 −5 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/Widget/RoadmapWidgetPresenterBuilderTest.php +6 −6 Go to diff View file