This commit is contained in:
2018-11-19 20:43:34 +00:00
parent cfcaf74a6a
commit 50259e9a71
2 changed files with 23 additions and 5 deletions

View File

@@ -12,6 +12,29 @@ Vue.config.productionTip = false;
Vue.config.errorHandler = errorHandler.handleVueError;
window.onerror = errorHandler.handleGeneralError;
//Loading indicator
router.beforeResolve((to, from, next) => {
// If this isn't an initial page load.
from;
if (to.name) {
// Start the route progress bar.
//NProgress.start()
// eslint-disable-next-line
console.log("---===LOADING===---");
}
next();
});
router.afterEach((to, from) => {
// Complete the animation of the route progress bar.
//NProgress.done()
to;
from;
// eslint-disable-next-line
console.log("---===FINISHED LOADING===---");
});
new Vue({
router,
store,

View File

@@ -6,11 +6,6 @@ Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTQxNTE5NTA5IiwiZXhwIjoi
## IMMEDIATE ITEMS
- Clean up error log view so it displays correctly with copyable text box and scrollbars of some kind
- started on it but it's narrow, this keeps happening, what to do, look into layout??
- Also make the title part of the textbox as I think it supports in v-textarea
- Loading indicator for xhr stuff
- The thin line one I saw is pretty skookum
- Dummy form with all RAVEN required input controls on it for testing