stable

Clone or download

Read-only

Display roadmap error state

Select a tracker without timeframe, or without title => the widget displays an error state with explanation If the REST call emit an error (like a 500) => the widget displays an error state without explanation (because user cannot do anything much with a "Internal Server Error" message) but error is rethrown for debug. As a muggle, access to widget based on a tracker you cannot see => the widget displays an empty state If the tracker has no artifacts => the widget displays an empty state If the tracker has artifacts you can see => a temporary "under construction" message is displayed 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: I66bad615ca6258799b3c5e7a7817b4e776693557

Modified Files

Name
M plugins/roadmap/include/Roadmap/RoadmapProjectWidget.php +3 −1 Go to diff View file
M plugins/roadmap/package-lock.json +4 −0 Go to diff View file
M plugins/roadmap/package.json +1 −0 Go to diff View file
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/App.test.ts +95 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/App.vue +79 −4 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/NoDataToShowEmptyState.vue +3 −3 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/SomethingWentWrongEmptyState.vue +68 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/index.ts +14 −1 Go to diff View file
M plugins/roadmap/templates/widget-roadmap.mustache +1 −1 Go to diff View file
M plugins/roadmap/themes/widget-roadmap.scss +4 −4 Go to diff View file
M plugins/roadmap/webpack.common.js +3 −0 Go to diff View file
M src/themes/tlp/src/scss/components/_css-var-root.scss +1 −1 Go to diff View file