stable
Clone or download
Part of story #11253 - get a consolidate view of my timesheeting in my personal dashboard The styling of the badges has been willingly left in tlp-badge-primary because the rest route does not return the badges colors yet. It will be taken nto account in a next commit. How to test: --> When loaded, the widget displays times matched on the current week --> The sum of all times is displayed at the bottom of the table - Select two dates with start_date > end_date or end_date = start_date --> An error message is displayed in lieu of the result table - Select two dates with start_date < end_date --> When loading, a spinner is displayed --> results are displayed if there are some, empty state otherwise Change-Id: I64f8b843bfa0e4ea1f5e77ecbb61431bc599766a
Modified Files
Name | ||||
---|---|---|---|---|
M | www/scripts/personal-timetracking-widget/po/fr.po | +6 | −3 | Go to diff View file |
M | www/scripts/personal-timetracking-widget/po/template.pot | +6 | −3 | Go to diff View file |
M | www/scripts/personal-timetracking-widget/src/Widget.vue | +1 | −0 | Go to diff View file |
M | www/scripts/personal-timetracking-widget/src/WidgetArtifactTable.spec.js | +60 | −7 | Go to diff View file |
M | www/scripts/personal-timetracking-widget/src/WidgetArtifactTable.vue | +86 | −24 | Go to diff View file |
A | www/scripts/personal-timetracking-widget/src/WidgetArtifactTableRow.vue | +52 | −0 | Go to diff View file |
M | www/scripts/personal-timetracking-widget/src/app.spec.js | +3 | −0 | Go to diff View file |
A | www/scripts/personal-timetracking-widget/src/rest-querier.js | +44 | −0 | Go to diff View file |
A | www/scripts/personal-timetracking-widget/src/rest-querier.spec.js | +56 | −0 | Go to diff View file |
A | www/scripts/personal-timetracking-widget/src/time-formatters.js | +44 | −0 | Go to diff View file |
A | www/scripts/personal-timetracking-widget/src/time-formatters.spec.js | +49 | −0 | Go to diff View file |
M | www/themes/BurningParrot/css/_widget.scss | +9 | −0 | Go to diff View file |