diff --git a/CHANGELOG.md b/CHANGELOG.md index c992f6f437045e5da6bfcf3401c8a170ca2dc2cc..94072dadef6337fa145b9fca08d288a01ecaa502 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +# 0.1.26 + +_6th October 2020_ + +### Changed + +- Renamed Mobile to List +- Refactored the way the list and discarded view work +- Added some basic style to list and discarded views + +### Added + +- the toolbar now shows (in basic form) to you only your device name and the microcosm you are currently viewing + # 0.1.25 _2nd October 2020_ diff --git a/app/package.json b/app/package.json index 3c523206f60e745711f2216c1367ba367b09b559..79e1b6f9487ebce0b07120911cf9a913b8c338ae 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "nodenogg.in", - "version": "0.1.25", + "version": "0.1.26", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/app/src/experimental/ModeToolbar.vue b/app/src/experimental/ModeToolbar.vue index f6e0c8d959ed90d48124296b3f132e0929b54992..60e1a184daea768bc9de106ac77d1b7d9f3060d3 100644 --- a/app/src/experimental/ModeToolbar.vue +++ b/app/src/experimental/ModeToolbar.vue @@ -11,6 +11,9 @@ v-bind:theme="isActive(mode) ? 'light' : 'dark'" /> </button> + + {{ clientid }} / + {{ microcosm }} </nav> </template> @@ -24,6 +27,8 @@ export default { mounted() { window.addEventListener('online', this.handleConnection) window.addEventListener('offline', this.handleConnection) + this.clientid = localStorage.myNNClient + this.microcosm = localStorage.mylastMicrocosm }, computed: { ...mapState({ @@ -33,6 +38,7 @@ export default { activeMode: 'ui/activeMode', }), }, + methods: { setMode(mode) { this.$store.commit('ui/setMode', mode) @@ -105,6 +111,8 @@ export default { }, data() { return { + clientid: String, + microcosm: String, allModes, } },