diff --git a/UpNext.md b/UpNext.md index d1565f6..ebb5193 100644 --- a/UpNext.md +++ b/UpNext.md @@ -7,7 +7,6 @@ * Enable text search for `locationName` on find-code page. * Responsive text sizes for boards. - ### In Progress: @@ -23,7 +22,6 @@ * Issue page: Check for success and then redirect to /. * Add success test for Gitea Issue API and send the result onto the client. - ## Backend: * DB Indexes: diff --git a/static/js/find-code.js b/static/js/find-code.js index 8d679d2..915701e 100644 --- a/static/js/find-code.js +++ b/static/js/find-code.js @@ -67,6 +67,7 @@ async function displayData(data){ document.getElementById("name").value = "Not Found"; } else { log(`find-code.displayData: Inserting data`, "INFO") + vibe("ok") try { document.getElementById("name").value = data['0']['NLCDESC'] } catch (err) {} diff --git a/static/js/lib.board.js b/static/js/lib.board.js index 3b733b2..417d873 100644 --- a/static/js/lib.board.js +++ b/static/js/lib.board.js @@ -237,6 +237,7 @@ async function errorHandler() { sessionStorage.setItem("failcount", errCount.toString()) if (errCount < 10){ await delay(3000); + vibe("err") location.reload() } else { sessionStorage.removeItem("failcount"); diff --git a/static/js/settings.js b/static/js/settings.js index 99b5f89..16d78ea 100644 --- a/static/js/settings.js +++ b/static/js/settings.js @@ -31,6 +31,7 @@ async function setQl(){ log(`settings.setQl: User settings saved`, "INFO") await hideLoading(); await showDone(); + vibe("ok") await delay(600); hideDone(); } @@ -42,8 +43,8 @@ async function clearQl(){ getQl() await hideLoading(); await showDone(); - navigator.vibrate(500); - await delay(600); + vibe("ok"); + await delay(400); hideDone(); }