From 3abc2546856769784c5f7c772c882f49a6dcf0a9 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 17 Nov 2018 23:03:58 -0500 Subject: [PATCH] feat: TOC, scroll to header, page UI improvements --- client/client-app.js | 2 - client/components/common/page-selector.vue | 5 +- client/components/editor.vue | 8 +- client/scss/components/markdown-content.scss | 2 +- client/scss/components/v-dialog.scss | 6 + client/store/page.js | 2 + client/themes/default/components/page.vue | 101 +- client/themes/default/scss/app.scss | 3 +- package.json | 100 +- server/db/migrations/2.0.0.js | 1 + server/jobs/render-page.js | 33 +- server/models/pageHistory.js | 4 +- server/models/pages.js | 13 +- server/views/page.pug | 1 + yarn.lock | 1558 ++++++++++-------- 15 files changed, 1054 insertions(+), 785 deletions(-) diff --git a/client/client-app.js b/client/client-app.js index f592f2d7..6c943378 100644 --- a/client/client-app.js +++ b/client/client-app.js @@ -21,7 +21,6 @@ import Hammer from 'hammerjs' import moment from 'moment' import VueMoment from 'vue-moment' import VueTour from 'vue-tour' -import VueTreeNavigation from 'vue-tree-navigation' import store from './store' import Cookies from 'js-cookie' @@ -149,7 +148,6 @@ Vue.use(VeeValidate, { events: '' }) Vue.use(Vuetify) Vue.use(VueMoment, { moment }) Vue.use(VueTour) -Vue.use(VueTreeNavigation) Vue.prototype.Velocity = Velocity diff --git a/client/components/common/page-selector.vue b/client/components/common/page-selector.vue index d90c7711..42853b9c 100644 --- a/client/components/common/page-selector.vue +++ b/client/components/common/page-selector.vue @@ -1,7 +1,8 @@