From 94a0fc2ebc7925c8d6d3e682bea6c5ee10615967 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 10 Apr 2020 16:45:59 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 ++ ayanova/src/router.js | 6 +++--- ayanova/src/views/adm-history.vue | 6 +++--- ayanova/src/views/ay-history.vue | 24 ++++++++++++++---------- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 22c7e985..dd376d03 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -56,6 +56,8 @@ todo: RECORD HISTORY - Defaults to showing most recent stuff first in order to satisfy most common requirement of who last edited - Probably going to need a server route but let the UI drive it (timeline view requirements maybe?) +todo: do I have too many containers in my UI, like some unnecessary ones in the views where the parent already has a container? + todo: ADDITIONAL EDIT FORM BUTTONS FUNCTIONALITY STUBBED OUT OR MADE INTO TODO'S - Check what is in v7 that I missed on edit forms, make TODOs for them here - Check what is in RAVEN STAGE 1 cases on RockFish and make TODOs for them here diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 00184fce..2cd68ea2 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -35,10 +35,10 @@ const scrollBehavior = function(to, from, savedPosition) { } // eslint-disable-next-line - return new Promise((resolve) => { + return new Promise(resolve => { // check if any matched route config has meta that requires scrolling to top // eslint-disable-next-line - if (to.matched.some((m) => m.meta.scrollToTop)) { + if (to.matched.some(m => m.meta.scrollToTop)) { // coords will be used if no selector is provided, // or if the selector didn't match any element. position.x = 0; @@ -449,7 +449,7 @@ export default new Router({ import(/* webpackChunkName: "ay-common" */ "./views/ay-review.vue") }, { - path: "/history/:ayatype/:recordid", + path: "/history/:ayatype/:recordid/:useractions?", name: "ay-history", component: () => import(/* webpackChunkName: "ay-common" */ "./views/ay-history.vue") diff --git a/ayanova/src/views/adm-history.vue b/ayanova/src/views/adm-history.vue index a790feca..c02aa13a 100644 --- a/ayanova/src/views/adm-history.vue +++ b/ayanova/src/views/adm-history.vue @@ -1,13 +1,13 @@