From 3924197ed205130c023724a60113acf1027cf949 Mon Sep 17 00:00:00 2001 From: Ken Lauer Date: Fri, 1 Sep 2023 16:38:02 -0700 Subject: [PATCH 01/12] FIX: offline logs --- frontend/package.json | 4 ++- frontend/src/App.vue | 35 ++++++++++++++++--------- frontend/src/router.ts | 49 +++++++++++++++++++---------------- frontend/src/settings.ts | 1 + frontend/src/stores/api.ts | 6 +++++ frontend/src/stores/cached.ts | 13 ++++++++-- frontend/src/types/index.ts | 1 + frontend/src/views/logs.vue | 22 +++++++--------- frontend/vite.config.ts | 4 +++ frontend/yarn.lock | 26 +++++++++++++++---- whatrecord/server/server.py | 17 +++++++----- 11 files changed, 116 insertions(+), 62 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 12406a5e..6b11a241 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,10 +11,12 @@ }, "dependencies": { "@types/d3-graphviz": "^2.6.7", - "axios": "^1.4.0", + "@types/pako": "^2.0.0", + "axios": "^1.5.0", "d3-graphviz": "^5.1.0", "d3-selection": "^3.0.0", "es6-promise": "^4.2.8", + "pako": "^2.1.0", "pinia": "^2.1.6", "primeflex": "^3.3.1", "primeicons": "^6.0.1", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 23774f17..bc4505e1 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -5,7 +5,7 @@