diff --git a/app/public/face-weather-b.png b/app/public/face-weather-b.png new file mode 100644 index 0000000..2583f6a Binary files /dev/null and b/app/public/face-weather-b.png differ diff --git a/app/public/face-weather-w.png b/app/public/face-weather-w.png new file mode 100644 index 0000000..871d09d Binary files /dev/null and b/app/public/face-weather-w.png differ diff --git a/app/src/assets/app.css b/app/src/assets/app.css index 7be9580..38fe4a3 100644 --- a/app/src/assets/app.css +++ b/app/src/assets/app.css @@ -5,4 +5,9 @@ .v-btn__content .v-icon--left, .v-btn__content .v-icon--right { width: 24px !important; height: 24px !important; +} + +/* FIX https://github.com/vuetifyjs/vuetify/issues/9130 */ +.v-card__text, .v-card__title { + word-break: normal !important; } \ No newline at end of file diff --git a/app/src/assets/case.svg b/app/src/assets/case_editor.svg similarity index 76% rename from app/src/assets/case.svg rename to app/src/assets/case_editor.svg index 1f6e0f9..7cb73ea 100644 --- a/app/src/assets/case.svg +++ b/app/src/assets/case_editor.svg @@ -1,18 +1,24 @@ - + - + + + + + + + - + diff --git a/app/src/components/DeviceSimulator.vue b/app/src/components/DeviceSimulator.vue new file mode 100644 index 0000000..8c80174 --- /dev/null +++ b/app/src/components/DeviceSimulator.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/app/src/components/SetupPanel.vue b/app/src/components/SetupPanel.vue index c745b17..6c7541a 100644 --- a/app/src/components/SetupPanel.vue +++ b/app/src/components/SetupPanel.vue @@ -31,6 +31,7 @@ > diff --git a/app/src/store/index.js b/app/src/store/index.js index dc190e5..34c2938 100644 --- a/app/src/store/index.js +++ b/app/src/store/index.js @@ -22,7 +22,15 @@ const store = new Vuex.Store({ state.notifications = payload }, updateSettings (state, payload) { - state.settings = { ...state.settings, ...payload } + const commit = { ...state.settings } + + Object.keys(payload).forEach(group => { + if (commit[group]) { + commit[group] = { ...commit[group], ...payload[group] } + } + }) + + state.settings = commit }, }, actions: { diff --git a/app/src/views/Setup/Appearance.vue b/app/src/views/Setup/Appearance.vue index bb94dcc..c95126a 100644 --- a/app/src/views/Setup/Appearance.vue +++ b/app/src/views/Setup/Appearance.vue @@ -3,24 +3,40 @@ back @back="stepBack" > - + - - - - + + + + +
+ + + + +
diff --git a/app/src/views/Setup/Name.vue b/app/src/views/Setup/Name.vue index eb65635..e85bef6 100644 --- a/app/src/views/Setup/Name.vue +++ b/app/src/views/Setup/Name.vue @@ -90,13 +90,11 @@ }, }) - /* this.saveSettings().then(() => { this.nextStep() }) - */ - this.nextStep() + // this.nextStep() }, resetChanges () { this.form.name = this.settings.device.name diff --git a/app/src/views/Setup/Start.vue b/app/src/views/Setup/Start.vue index 8292fa2..22b5532 100644 --- a/app/src/views/Setup/Start.vue +++ b/app/src/views/Setup/Start.vue @@ -1,98 +1,39 @@ diff --git a/app/src/views/Setup/Wifi.vue b/app/src/views/Setup/Wifi.vue index fdf6a1a..d2bae7e 100644 --- a/app/src/views/Setup/Wifi.vue +++ b/app/src/views/Setup/Wifi.vue @@ -1,121 +1,101 @@