From 854c8fae3ce7385d1475de24f461dd9f36fc4791 Mon Sep 17 00:00:00 2001 From: Adam Procter <adamprocter@researchnot.es> Date: Tue, 6 Oct 2020 18:18:06 +0100 Subject: [PATCH] updated changelog added way for you to see your device name and microcosm you are working on just in toolbar (rough design) --- CHANGELOG.md | 14 ++++++++++++++ app/package.json | 2 +- app/src/experimental/ModeToolbar.vue | 8 ++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c992f6f..94072da 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 3c52320..79e1b6f 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 f6e0c8d..60e1a18 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, } }, -- GitLab