From 7ccf0417e03faa146e9c0e56eb5beded7aa78147 Mon Sep 17 00:00:00 2001 From: Max G Date: Fri, 12 Feb 2021 17:11:33 +0000 Subject: [PATCH] Checking in minor changes for server migration --- applyProdDatabaseToDev.sh | 1 + client/src/components/NoteTitleDisplayCard.vue | 10 +++++----- client/src/pages/NotesPage.vue | 1 - client/src/router/index.js | 7 +++++++ 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/applyProdDatabaseToDev.sh b/applyProdDatabaseToDev.sh index fd9b6ca..91e77c8 100755 --- a/applyProdDatabaseToDev.sh +++ b/applyProdDatabaseToDev.sh @@ -36,6 +36,7 @@ rsync -e 'ssh -p 13328' -hazC --update mab@solidscribe.com:/home/mab/pi/staticFi echo "Updating Database" mysql -u root --password="$DEVDBPASS" < $BACKUPFILE + rm *.sql echo '-------' diff --git a/client/src/components/NoteTitleDisplayCard.vue b/client/src/components/NoteTitleDisplayCard.vue index 7560f57..f080081 100644 --- a/client/src/components/NoteTitleDisplayCard.vue +++ b/client/src/components/NoteTitleDisplayCard.vue @@ -243,11 +243,11 @@ justClosed(){ // Scroll note into view - // this.$el.scrollIntoView({ - // behavior: 'smooth', - // block: 'center', - // inline: 'center' - // }) + this.$el.scrollIntoView({ + behavior: 'smooth', + block: 'center', + inline: 'center' + }) //After scroll, trigger green outline animation setTimeout(() => { diff --git a/client/src/pages/NotesPage.vue b/client/src/pages/NotesPage.vue index 4c73714..8971cf1 100644 --- a/client/src/pages/NotesPage.vue +++ b/client/src/pages/NotesPage.vue @@ -156,7 +156,6 @@ // 'fast-filters': require('@/components/FastFilters.vue').default, 'search-input': require('@/components/SearchInput.vue').default, 'attachment-display': require('@/components/AttachmentDisplayCard').default, - 'counter':require('@/components/AnimatedCounterComponent.vue').default, 'tag-display':require('@/components/TagDisplayComponent.vue').default, 'loading-icon':require('@/components/LoadingIconComponent.vue').default, }, diff --git a/client/src/router/index.js b/client/src/router/index.js index c9bd101..5a62951 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -12,6 +12,7 @@ const SharePage = () => import(/* webpackChunkName: "SharePage" */ '@/pages/Shar const NotesPage = () => import(/* webpackChunkName: "NotesPage" */ '@/pages/NotesPage') const QuickPage = () => import(/* webpackChunkName: "QuickPage" */ '@/pages/QuickPage') const AttachmentsPage = () => import(/* webpackChunkName: "AttachmentsPage" */ '@/pages/AttachmentsPage') +const OverviewPage = () => import(/* webpackChunkName: "OverviewPage" */ '@/pages/OverviewPage') const NotFoundPage = () => import(/* webpackChunkName: "404Page" */ '@/pages/NotFoundPage') Vue.use(Router) @@ -96,6 +97,12 @@ export default new Router({ meta: {title:'Attachments by Type'}, component: AttachmentsPage }, + { + path: '/overview', + name: 'Overview of Notes', + meta: {title:'Overview of Notes'}, + component: OverviewPage + }, { path: '*', name: 'Page Not Found',