CLDR-18450 improve Dashboard robustness
- use second param to callback() to return err instead of global
- popup err message if dashboard fails to load
CLDR-18450
- [ ] This PR completes the ticket.
ALLOW_MANY_COMMITS=true
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.
Right.
The change from created() to mounted() looks potentially important, I wonder if it might affect the "blinky" appearance we were discussing...
https://vuejs.org/guide/essentials/lifecycle.html actually, created() might be better so that it does NOT blink.
This PR should either be abandoned or a new ticket created targetting a later release.
Notice: the branch changed across the force-push!
- tools/cldr-apps/js/src/esm/cldrDash.mjs is no longer changed in the branch
- tools/cldr-apps/js/src/esm/cldrDashData.mjs is now changed in the branch
- tools/cldr-apps/js/src/views/DashboardWidget.vue is different
~ Your Friendly Jira-GitHub PR Checker Bot