Quick Actions & global search (#528)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/528
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
This commit is contained in:
konrad 2021-05-30 18:30:08 +00:00
parent dff84209f0
commit b85beb06eb
13 changed files with 630 additions and 114 deletions

View file

@ -20,6 +20,8 @@
>
<a @click="$store.commit('menuActive', false)" class="mobile-overlay" v-if="menuActive"></a>
<quick-actions/>
<router-view/>
<transition name="modal">
@ -43,10 +45,11 @@
import {mapState} from 'vuex'
import {CURRENT_LIST, KEYBOARD_SHORTCUTS_ACTIVE, MENU_ACTIVE} from '@/store/mutation-types'
import Navigation from '@/components/home/navigation'
import QuickActions from '@/components/quick-actions/quick-actions'
export default {
name: 'contentAuth',
components: {Navigation},
components: {QuickActions, Navigation},
watch: {
'$route': 'doStuffAfterRoute',
},
@ -83,7 +86,7 @@ export default {
this.$route.name === 'user.settings' ||
this.$route.name === 'namespaces.index'
) {
this.$store.commit(CURRENT_LIST, {})
this.$store.commit(CURRENT_LIST, null)
}
},
renewTokenOnFocus() {