-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'loading-msg' of 'https://github.com/evamillan/grimoirel…
…ab-sortinghat' Merges #906 Closes #866
- Loading branch information
Showing
13 changed files
with
5,382 additions
and
3,282 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
releases/unreleased/add-missing-loading-and-error-indicators.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Improve loading and error indicators | ||
category: added | ||
author: Eva Millán <[email protected]> | ||
issue: 866 | ||
notes: > | ||
Added error and loading messages to improve the user experience | ||
when the data takes time to load. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -494,4 +494,6 @@ export { | |
getOrganization, | ||
getScheduledTasks, | ||
findOrganization, | ||
GET_INDIVIDUAL_BYUUID, | ||
GET_ORGANIZATION, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import LoadingSpinner from "./LoadingSpinner.vue"; | ||
|
||
export default { | ||
title: "LoadingSpinner", | ||
excludeStories: /.*Data$/, | ||
}; | ||
|
||
const template = `<loading-spinner :label="label"/>`; | ||
|
||
export const Default = () => ({ | ||
components: { LoadingSpinner }, | ||
template: template, | ||
data: () => ({ | ||
label: null, | ||
}), | ||
}); | ||
|
||
export const Label = () => ({ | ||
components: { LoadingSpinner }, | ||
template: template, | ||
data: () => ({ | ||
label: "Loading...", | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
<div class="d-flex flex-column justify-center align-center pa-4 h-100"> | ||
<v-progress-circular :size="size" color="primary" indeterminate /> | ||
<p v-if="label" class="subtitle-1 text-medium-emphasis mt-4">{{ label }}</p> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
name: "LoadingSpinner", | ||
props: { | ||
label: { | ||
type: String, | ||
required: false, | ||
default: null, | ||
}, | ||
size: { | ||
type: [String, Number], | ||
required: false, | ||
default: 48, | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.