-
Notifications
You must be signed in to change notification settings - Fork 384
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
Needs Clone: CLDR-17560 improve Dashboard robustness #3775
base: main
Are you sure you want to change the base?
Conversation
- use second param to callback() to return err instead of global - popup err message if dashboard fails to load
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will {{ fetchErr }}
automatically show fetchErr.value
?
if so, then this all looks good
return; | ||
} | ||
this.locale = cldrStatus.getCurrentLocale(); | ||
this.level = cldrCoverage.effectiveName(this.locale); | ||
if (!this.locale || !this.level) { | ||
this.fetchErr = "Please choose a locale and a coverage level first."; | ||
this.fetchErr.value = | ||
"Please choose a locale and a coverage level first."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work right in conjunction with <p v-if="fetchErr" class="st-sad">{{ fetchErr }}</p>
?
In other words, will {{ fetchErr }}
automatically show fetchErr.value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make fetchErr.value explicit where fetchErr is referenced near top of DashboardWidget.vue? And/or add a comment. We should test carefully after merging since there have been changes to these files in the meantime for virtual scroller; still it looks to me like they shouldn't be in conflict.
The change from created() to mounted() looks potentially important, I wonder if it might affect the "blinky" appearance we were discussing...
Right.
https://vuejs.org/guide/essentials/lifecycle.html actually, |
CLDR-17560
ALLOW_MANY_COMMITS=true