diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 67100d91..fb40bc4f 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -151,14 +151,6 @@ function initNavPanel() { key: key++ }); - //HISTORY / MRU / ACTIVITY (personal) - sub.push({ - title: "History", - icon: "$ayiHistory", - route: `/history/3/${window.$gz.store.state.userId}/true`, - key: key++ - }); - //SCHEDULE (personal) sub.push({ title: "Schedule", @@ -207,6 +199,14 @@ function initNavPanel() { key: key++ }); + //HISTORY / MRU / ACTIVITY (personal) + sub.push({ + title: "History", + icon: "$ayiHistory", + route: `/history/3/${window.$gz.store.state.userId}/true`, + key: key++ + }); + //HOME if (sub.length > 0) { //Set homePage in store to dashboard diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index b6badd99..ffa0c217 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -129,6 +129,7 @@ export default { "Dashboard", "Schedule", "MemoList", + "ReviewList", "UserSettings", "SetLoginPassword", "NotifySubscriptionList", diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 0abde458..18a5c6c6 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -125,6 +125,12 @@ export default new Router({ component: () => import(/* webpackChunkName: "ay-common" */ "./views/home-reminders.vue") }, + { + path: "/home-reviews", + name: "home-reviews", + component: () => + import(/* webpackChunkName: "ay-common" */ "./views/home-reviews.vue") + }, { path: "/home-user-settings", name: "home-user-settings", diff --git a/ayanova/tests/e2e/specs/smoke.js b/ayanova/tests/e2e/specs/smoke.js index 594e5d9e..d6bdc8c3 100644 --- a/ayanova/tests/e2e/specs/smoke.js +++ b/ayanova/tests/e2e/specs/smoke.js @@ -35,6 +35,10 @@ describe("SMOKE", () => { cy.url().should("include", "/home-reminders"); cy.get("[data-cy=underconstruction]"); + cy.visit("/home-reviews"); + cy.url().should("include", "/home-reviews"); + cy.get("[data-cy=underconstruction]"); + cy.visit("/home-user-settings"); cy.url().should("include", "/home-user-settings"); cy.get("[data-cy=emailAddress]");