stable

Clone or download

Read-only

Basic error state for recent items

If the load of user history ends up in error, then we should display an error state. You can test it by throwing an exception in the following method: \Tuleap\User\REST\v1\UserResource::getHistory() Part of story #16209: Β« Switch to… Β» button Change-Id: Ia5d7c5c8346487b358ebcac3d2e2247cff9282b1

Modified Files

Name
M src/scripts/switch-to/po/fr_FR.po +3 βˆ’0 Go to diff View file
M src/scripts/switch-to/src/components/RecentItems/ListOfRecentItems.test.ts +33 βˆ’0 Go to diff View file
M src/scripts/switch-to/src/components/RecentItems/ListOfRecentItems.vue +17 βˆ’3 Go to diff View file
A src/scripts/switch-to/src/components/RecentItems/RecentItemsErrorState.vue +34 βˆ’0 Go to diff View file
M src/scripts/switch-to/src/initiate-app.ts +1 βˆ’0 Go to diff View file
A src/scripts/switch-to/src/store/actions.test.ts +94 βˆ’0 Go to diff View file
M src/scripts/switch-to/src/store/actions.ts +8 βˆ’3 Go to diff View file
M src/scripts/switch-to/src/store/mutations.ts +4 βˆ’0 Go to diff View file
M src/scripts/switch-to/src/store/type.ts +1 βˆ’0 Go to diff View file
M src/themes/BurningParrot/css/includes/_switch-to.scss +4 βˆ’0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_switch-to.scss +4 βˆ’0 Go to diff View file
M src/themes/common/css/utils/_switch-to.scss +12 βˆ’0 Go to diff View file