-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big update of the whole project to be progress management for Vue #7
Comments
What kind of progress information you want to track? Like percentage or something? |
If you mean percentage, we may edit the plugin to watch some values. We may convert this: state = [
"fetching data",
"logging user"
] into this: state = {
"fetching data": 90,
"logging user": 22
} |
Yes i am talking about percentage or any other progress value. {
name: same as loaderMessage atm
progress: value,
max: value
} and in code handle both state = [
{
name: "fetching data",
progress: 90,
max: 100
},
"logging user" // no progress info loader
] but your variant with object instead of list a little bit better, and we can use object instead of number for progress information state = {
"fetching data": true, // for no progress information loaders
"logging user": {
progress: 90,
max: 100
percent: 90 // injected property that calculate percent
}
} |
Would this allow for other messages like errors and whatnot? I love this library but would love to be able to use it to show error information as well, if the request fails. |
Let's plan this for v1.1.0 |
Let's plan this for v1.5.0 :) |
@f publish please the 1.1.4 version to npm |
It's already published with "vue-wait" name.
|
Upsss, not published sorry.
|
release 1.1.4 contains bug and require redeploy. |
Deployed with 1.1.5 |
I want to add full set of features for tracking progress information (with backward compatibility) just by extending methods with optional parameters about progress.
Because this feature will transform this library from
Complex Loader Management for Vue/Vuex Applications
to
Complex Progress Management for Vue/Vuex Applications
, propose to rename this project toVue-progress
and change description toComplex Progress Management for Vue/Vuex Applications
then we can rename
this.$loading
tothis.$progress
which is much better in my opinion.This repo then will redirect to new repo.
This is not necessary but will reflect much better the project purpose
The text was updated successfully, but these errors were encountered: