From c1d96bb792046ec984874594cf8504de0bd6c647 Mon Sep 17 00:00:00 2001
From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com>
Date: Sat, 18 Mar 2023 20:00:00 +0200
Subject: [PATCH 01/49] Update codeit-autocomplete.js
---
lib/plugins/codeit-autocomplete.js | 25 +------------------------
1 file changed, 1 insertion(+), 24 deletions(-)
diff --git a/lib/plugins/codeit-autocomplete.js b/lib/plugins/codeit-autocomplete.js
index 963fcc1623..4a10a27d7a 100644
--- a/lib/plugins/codeit-autocomplete.js
+++ b/lib/plugins/codeit-autocomplete.js
@@ -104,7 +104,7 @@ acp.autocomplete = async (lang) => {
// render results in HTML
- const resultsExist = acp.utils.resultsExist(results, query);
+ const resultsExist = (results.length !== 0);
if (resultsExist) {
@@ -682,29 +682,6 @@ acp.utils.sort = (matches) => {
}
-// check if results exist
-acp.utils.resultsExist = (results, query) => {
-
- // if there's no results
- if (results.length === 0) {
-
- return false;
-
- }
-
- // if query matches result
- if (results.length === 1 &&
- results[0] === query) {
-
- return false;
-
- }
-
- return true;
-
-}
-
-
// show autocomplete menu
acp.utils.showAcpMenu = () => {
From 5faa4dbd13bbab6e526903fe80c6ebabd0cafa66 Mon Sep 17 00:00:00 2001
From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com>
Date: Sat, 18 Mar 2023 20:01:36 +0200
Subject: [PATCH 02/49] Update client-channel.js
---
worker/client-channel.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/worker/client-channel.js b/worker/client-channel.js
index 0c3babda9c..cea446efbc 100644
--- a/worker/client-channel.js
+++ b/worker/client-channel.js
@@ -4,7 +4,7 @@
// update worker name when updating worker
-const WORKER_NAME = 'codeit-worker-v649';
+const WORKER_NAME = 'codeit-worker-v650';
// internal paths
From 4e750c3835dd961e4b8989a1c7f859cf6dfb1c88 Mon Sep 17 00:00:00 2001
From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com>
Date: Sun, 19 Mar 2023 10:28:32 +0200
Subject: [PATCH 03/49] Update full.css
---
full.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/full.css b/full.css
index b6a83b2785..8bb0221f50 100644
--- a/full.css
+++ b/full.css
@@ -1158,7 +1158,7 @@ body.mobile .sidebar .header .title .branch-icon.active {
.sidebar .header.searching .logo {
padding-left: 7px;
- max-width: calc(var(--sidebar-width) - 140px - 16px - 7px - 7px - 7px);
+ max-width: calc(var(--sidebar-width) - 139px - 16px - 7px - 7px - 7px);
}
.sidebar .header.searching .title .branch {
From faf17e160aefa5deadd06dccdae9e12bfc296be9 Mon Sep 17 00:00:00 2001
From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com>
Date: Sun, 19 Mar 2023 10:33:38 +0200
Subject: [PATCH 04/49] Update live-view.js
---
live-view/live-view.js | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/live-view/live-view.js b/live-view/live-view.js
index 7a81b5bb8b..98ec3c2c3f 100644
--- a/live-view/live-view.js
+++ b/live-view/live-view.js
@@ -547,16 +547,13 @@ if (isMobile) {
liveButtonOptions.addEventListener('click', () => {
- shareLiveViewLink();
-
- /*
// if clicked on options button, toggle menu
liveViewMenu.classList.toggle('visible');
liveButtonOptions.classList.toggle('active');
- */
});
+
function shareLiveViewLink() {
// share live view link
@@ -573,9 +570,7 @@ if (isMobile) {
});
}
-
- /*
-
+
liveMenuShare.addEventListener('click', shareLiveViewLink);
liveMenuConsole.addEventListener('click', () => {
@@ -612,8 +607,6 @@ if (isMobile) {
liveButtonOptions.classList.remove('active');
});
-
- */
} else {
From d0480add00e26bf33f7f00a029640586d124b173 Mon Sep 17 00:00:00 2001
From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com>
Date: Sun, 19 Mar 2023 10:34:53 +0200
Subject: [PATCH 05/49] Update full.html
---
full.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/full.html b/full.html
index 01ae765809..7850c4b2c7 100644
--- a/full.html
+++ b/full.html
@@ -469,7 +469,7 @@
-
+
-
+
+
+
+
+
+