This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user