From d62234ac65be842fbf84951f45870efcbcc882a9 Mon Sep 17 00:00:00 2001 From: Moritz Lerch Date: Tue, 2 Jan 2024 23:40:21 +0100 Subject: [PATCH 01/22] webapp: add missing button spacing --- webapp/src/views/DeviceAdminView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/views/DeviceAdminView.vue b/webapp/src/views/DeviceAdminView.vue index 1f350993a..1be7a72a0 100644 --- a/webapp/src/views/DeviceAdminView.vue +++ b/webapp/src/views/DeviceAdminView.vue @@ -39,7 +39,7 @@
- From 7b5d31efcadfc8f4bb0a3b3cad9315ae6f3e9bd2 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Fri, 5 Jan 2024 17:26:02 +0100 Subject: [PATCH 02/22] Added .editorconfig --- .editorconfig | 9 +++++++++ .vscode/extensions.json | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..559f9bfd2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +# http://editorconfig.org +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true diff --git a/.vscode/extensions.json b/.vscode/extensions.json index d14c6bfee..0d84eb653 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,7 +5,8 @@ "DavidAnson.vscode-markdownlint", "Vue.volar", "Vue.vscode-typescript-vue-plugin", - "platformio.platformio-ide" + "platformio.platformio-ide", + "EditorConfig.EditorConfig" ], "unwantedRecommendations": [ "ms-vscode.cpptools-extension-pack" From 024ee26705badbfca9f8d1f9b6a4f7eb5b9da17b Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Sat, 6 Jan 2024 20:03:52 +0100 Subject: [PATCH 03/22] Feature: Added pull to refresh and websocket indicator --- webapp/package.json | 2 + webapp/src/components/BasePage.vue | 84 +++++++++++++++++++++++++++++- webapp/src/locales/de.json | 5 +- webapp/src/locales/en.json | 5 +- webapp/src/locales/fr.json | 5 +- webapp/src/views/HomeView.vue | 56 +++++++++++++++----- webapp/yarn.lock | 10 ++++ 7 files changed, 148 insertions(+), 19 deletions(-) diff --git a/webapp/package.json b/webapp/package.json index 8b36555a9..a785674ed 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -28,6 +28,7 @@ "@tsconfig/node18": "^18.2.2", "@types/bootstrap": "^5.2.10", "@types/node": "^20.10.6", + "@types/pulltorefreshjs": "^0.1.7", "@types/sortablejs": "^1.15.7", "@types/spark-md5": "^3.0.4", "@vitejs/plugin-vue": "^5.0.2", @@ -36,6 +37,7 @@ "eslint": "^8.56.0", "eslint-plugin-vue": "^9.19.2", "npm-run-all": "^4.1.5", + "pulltorefreshjs": "^0.1.22", "sass": "^1.69.7", "terser": "^5.26.0", "typescript": "^5.3.3", diff --git a/webapp/src/components/BasePage.vue b/webapp/src/components/BasePage.vue index 8bb463b53..10b924a89 100644 --- a/webapp/src/components/BasePage.vue +++ b/webapp/src/components/BasePage.vue @@ -4,7 +4,12 @@