From 27520864c4984dd9ce9666e7435437413c11624c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Thu, 14 Sep 2023 08:35:10 +0200 Subject: [PATCH] frontend: 'instant update' defaults to false --- frontend/src/App.tsx | 2 +- src/pydase/frontend/asset-manifest.json | 6 +++--- src/pydase/frontend/index.html | 2 +- .../static/js/{main.8b208e04.js => main.1adac645.js} | 6 +++--- ...8b208e04.js.LICENSE.txt => main.1adac645.js.LICENSE.txt} | 0 .../js/{main.8b208e04.js.map => main.1adac645.js.map} | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) rename src/pydase/frontend/static/js/{main.8b208e04.js => main.1adac645.js} (99%) rename src/pydase/frontend/static/js/{main.8b208e04.js.LICENSE.txt => main.1adac645.js.LICENSE.txt} (100%) rename src/pydase/frontend/static/js/{main.8b208e04.js.map => main.1adac645.js.map} (96%) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index af9ea09..15c3ba1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -112,7 +112,7 @@ const reducer = (state: State, action: Action): State => { const App = () => { const [state, dispatch] = useReducer(reducer, null); const stateRef = useRef(state); // Declare a reference to hold the current state - const [isInstantUpdate, setIsInstantUpdate] = useState(true); + const [isInstantUpdate, setIsInstantUpdate] = useState(false); const [showSettings, setShowSettings] = useState(false); const [showNotification, setShowNotification] = useState(true); const [notifications, setNotifications] = useState([]); diff --git a/src/pydase/frontend/asset-manifest.json b/src/pydase/frontend/asset-manifest.json index 3b42ac2..359a371 100644 --- a/src/pydase/frontend/asset-manifest.json +++ b/src/pydase/frontend/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { "main.css": "/static/css/main.398bc7f8.css", - "main.js": "/static/js/main.8b208e04.js", + "main.js": "/static/js/main.1adac645.js", "index.html": "/index.html", "main.398bc7f8.css.map": "/static/css/main.398bc7f8.css.map", - "main.8b208e04.js.map": "/static/js/main.8b208e04.js.map" + "main.1adac645.js.map": "/static/js/main.1adac645.js.map" }, "entrypoints": [ "static/css/main.398bc7f8.css", - "static/js/main.8b208e04.js" + "static/js/main.1adac645.js" ] } \ No newline at end of file diff --git a/src/pydase/frontend/index.html b/src/pydase/frontend/index.html index 5746057..79028de 100644 --- a/src/pydase/frontend/index.html +++ b/src/pydase/frontend/index.html @@ -1 +1 @@ -pydase App
\ No newline at end of file +pydase App
\ No newline at end of file diff --git a/src/pydase/frontend/static/js/main.8b208e04.js b/src/pydase/frontend/static/js/main.1adac645.js similarity index 99% rename from src/pydase/frontend/static/js/main.8b208e04.js rename to src/pydase/frontend/static/js/main.1adac645.js index bef2d6d..ae5325b 100644 --- a/src/pydase/frontend/static/js/main.8b208e04.js +++ b/src/pydase/frontend/static/js/main.1adac645.js @@ -1,3 +1,3 @@ -/*! For license information please see main.8b208e04.js.LICENSE.txt */ -!function(){var e={694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t