stable

Clone or download

Read-only

Load more button in widget

Part of story #11253 get a consolidate view of my timesheeting in my personal dashboard Before testing: 2 choices 1. create more than 10 times in different artifacts 2. shrink the value of WidgetArtifactTable.pagination_limit How to test: - When the widget loads for the first time --> The main spinner is displayed when the times are loading --> 10 (or your custom limit) artifacts are diplayed in the widget --> The "Load more" button is displayed if more artifacts retrievable - Click on the "Load more" button --> The main spinner is not displayed --> The spinner of the "Load more" button is displayed and the "Load more" button is disabled (not clickable) --> N artifacts have been loaded --> "Load More" button is not displayed anymore if no more artifacts are retrievable. --> Total sum is updated - Edit the query - Click on cancel --> Nothing happens because the query hasn't changed - Edit the query - Validate --> The list of artifacts is emptied --> The artifacts are reloaded Change-Id: Ibd47b5d4bc2d7ad00f7302a53afb61b7cfa9989b

Modified Files

Name
M www/scripts/personal-timetracking-widget/po/fr.po +3 −0 Go to diff View file
M www/scripts/personal-timetracking-widget/po/template.pot +3 −0 Go to diff View file
M www/scripts/personal-timetracking-widget/src/Widget.vue +11 −4 Go to diff View file
M www/scripts/personal-timetracking-widget/src/WidgetArtifactTable.spec.js +19 −0 Go to diff View file
M www/scripts/personal-timetracking-widget/src/WidgetArtifactTable.vue +60 −19 Go to diff View file
M www/scripts/personal-timetracking-widget/src/rest-querier.js +10 −2 Go to diff View file
M www/scripts/personal-timetracking-widget/src/rest-querier.spec.js +16 −3 Go to diff View file