Created a uniform menu for notes that works on mobile

Added list sorting
Added shared notes
Fixed some little bugs here and there
This commit is contained in:
Max G committed 2020-02-10 17:44:43 +00:00
1 parent 133a86e09e
commit 86f7f61933
23 files changed
+1393 -328

No files matched your search

+9
View File
@@ -163,6 +163,12 @@
</div>
</div>
<div class="menu-section" v-if="loggedIn">
<div v-on:click="updateFastFilters(3)" class="menu-item menu-button">
<i class="mail icon"></i>Inbox
</div>
</div>
<div class="menu-section" v-if="loggedIn">
<div v-on:click="updateFastFilters(2)" class="menu-item menu-button">
<i class="archive icon"></i>Archived
@@ -239,6 +245,7 @@
if(this.mobile){
this.menuOpen = false
}
},
computed: {
loggedIn () {
@@ -279,6 +286,7 @@
})
},
destroyLoginToken() {
this.$bus.$emit('notification', 'Logged Out')
this.$store.commit('destroyLoginToken')
this.$router.push('/')
},
@@ -309,6 +317,7 @@
'withLinks', // 'Only Show Notes with Links'
'withTags', // 'Only Show Notes with Tags'
'onlyArchived', //'Only Show Archived Notes'
'onlyShowSharedNotes', //Only show shared notes
]
let filter = {}