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 @@ - + - + + + + + + + From 0981dfc99ea685ee807edd1c90061f0681616d09 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Mon, 20 Mar 2023 21:54:48 +0200 Subject: [PATCH 16/49] Rename link.html to _link.html --- api/{link.html => _link.html} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename api/{link.html => _link.html} (100%) diff --git a/api/link.html b/api/_link.html similarity index 100% rename from api/link.html rename to api/_link.html From 118a77c438c9036a054b5aac91d992d376decd15 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Mon, 20 Mar 2023 21:55:46 +0200 Subject: [PATCH 17/49] Update full.css --- full.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/full.css b/full.css index 8bb0221f50..5096f25836 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) - 139px - 16px - 7px - 7px - 7px); + max-width: calc(var(--sidebar-width) - 139px - 16px - 7px - 7px - 7px - env(safe-area-inset-left)); } .sidebar .header.searching .title .branch { From ebe1e93291d4a641e3010920ba9f3a4d88bcaebf Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Tue, 21 Mar 2023 14:28:19 +0200 Subject: [PATCH 18/49] Update filebrowser.js --- filebrowser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filebrowser.js b/filebrowser.js index d9b466b61d..c08db480f3 100644 --- a/filebrowser.js +++ b/filebrowser.js @@ -509,7 +509,8 @@ async function renderSidebarHTML(pageNum = 1) { // if item is a file if (item.type == 'file') { - + + // get the file's latest version let file = getLatestVersion(item); // search for matching eclipsed files From 9aa163354a28e47d9a64afe96bfe1a8b3da64992 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Tue, 21 Mar 2023 14:32:46 +0200 Subject: [PATCH 19/49] Update live-view.js --- live-view/live-view.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/live-view/live-view.js b/live-view/live-view.js index 98ec3c2c3f..973ccb8314 100644 --- a/live-view/live-view.js +++ b/live-view/live-view.js @@ -221,6 +221,9 @@ async function setupLiveView() { (file.dir == treeLoc.join() && file.name == fileName))[0]; + // get the file's latest version + modFile = getLatestVersion(modFile); + } @@ -962,6 +965,9 @@ async function handleLiveViewRequest(requestPath) { (file.dir == liveFileDir.join(',') && file.name == fileName))[0]; + // get the file's latest version + modFile = getLatestVersion(modFile); + // if matching modified file exists if (modFile) { From c1b47732291b85933b5818704eccb0909513638b Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:00:55 +0200 Subject: [PATCH 20/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 115875e888..457ba97677 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-v651'; +const WORKER_NAME = 'codeit-worker-v652'; // internal paths From 68e1df8811cc4e09d011dc1258b0130c8d169a67 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:05:02 +0200 Subject: [PATCH 21/49] Update live-view.js --- live-view/live-view.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/live-view/live-view.js b/live-view/live-view.js index 973ccb8314..258d3b8f05 100644 --- a/live-view/live-view.js +++ b/live-view/live-view.js @@ -221,8 +221,13 @@ async function setupLiveView() { (file.dir == treeLoc.join() && file.name == fileName))[0]; - // get the file's latest version - modFile = getLatestVersion(modFile); + // if modified file exists + if (modFile) { + + // get the file's latest version + modFile = getLatestVersion(modFile); + + } } @@ -965,12 +970,12 @@ async function handleLiveViewRequest(requestPath) { (file.dir == liveFileDir.join(',') && file.name == fileName))[0]; - // get the file's latest version - modFile = getLatestVersion(modFile); - // if matching modified file exists if (modFile) { + // get the file's latest version + modFile = getLatestVersion(modFile); + // return modified file content respContent = modFile.content; From 4ae857f49a3e4d66f1cb9b130f5058953701b1fa Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:05:16 +0200 Subject: [PATCH 22/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 457ba97677..8c0f67c6c3 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-v652'; +const WORKER_NAME = 'codeit-worker-v653'; // internal paths From 74f0fc7b3c61a56e389537bbde6652ce4da2bfe0 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:13:10 +0200 Subject: [PATCH 23/49] Update filebrowser.js --- filebrowser.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/filebrowser.js b/filebrowser.js index c08db480f3..391e1c2f5b 100644 --- a/filebrowser.js +++ b/filebrowser.js @@ -3328,8 +3328,16 @@ function setupEditor() { // show file content in codeit try { - - cd.textContent = decodeUnicode(selectedFile.content); + + const fileContent = decodeUnicode(selectedFile.content); + + // compare current code with new code + if (hashCode(cd.textContent) !== hashCode(fileContent)) { + + // if the code is different, swap it + cd.textContent = fileContent; + + } // change codeit lang cd.lang = selectedFile.lang; From 2d290c8809e9a56cea0f02f7e87c073b146cd939 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:15:52 +0200 Subject: [PATCH 24/49] Update full.css --- full.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/full.css b/full.css index 5096f25836..c0850f3bff 100644 --- a/full.css +++ b/full.css @@ -705,7 +705,7 @@ body.expanded .sidebar-toggle svg .left { overflow-y: overlay; overscroll-behavior-y: contain; pointer-events: none; - padding-left: env(safe-area-inset-left); + padding-left: env(safe-area-inset-left, 0px); box-sizing: border-box; z-index: 998; } @@ -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) - 139px - 16px - 7px - 7px - 7px - env(safe-area-inset-left)); + max-width: calc(var(--sidebar-width) - 139px - 16px - 7px - 7px - 7px - env(safe-area-inset-left, 0px)); } .sidebar .header.searching .title .branch { From 398cb4e23afec856620756e5b1bb2865b36ef6ef Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:18:21 +0200 Subject: [PATCH 25/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 8c0f67c6c3..a97a33f832 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-v653'; +const WORKER_NAME = 'codeit-worker-v654'; // internal paths From be5fecbf1ec9959791efcc87467d5d0b09016ee3 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:41:07 +0200 Subject: [PATCH 26/49] Update and rename _link.html to _link-cache.html --- api/{_link.html => _link-cache.html} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename api/{_link.html => _link-cache.html} (98%) diff --git a/api/_link.html b/api/_link-cache.html similarity index 98% rename from api/_link.html rename to api/_link-cache.html index f9ff51c75c..411ffd4c8e 100644 --- a/api/_link.html +++ b/api/_link-cache.html @@ -1,6 +1,6 @@ - + From 4583824f1e21b89c8b32c0ca4606a3c9bbef6f17 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:46:41 +0200 Subject: [PATCH 27/49] Update _link-cache.html --- api/_link-cache.html | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/api/_link-cache.html b/api/_link-cache.html index 411ffd4c8e..ed25e343d2 100644 --- a/api/_link-cache.html +++ b/api/_link-cache.html @@ -1,6 +1,7 @@ - + + @@ -17,30 +18,10 @@ - - - - - - - - - - - - - - - - - - - - - + From b8583ceb0938cb6f5710c7ce7fce3eecd9f7edde Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:59:49 +0200 Subject: [PATCH 28/49] Update service-worker.js --- service-worker.js | 1 - 1 file changed, 1 deletion(-) diff --git a/service-worker.js b/service-worker.js index 640868c81a..eb0b94d256 100644 --- a/service-worker.js +++ b/service-worker.js @@ -35,7 +35,6 @@ const FILES_TO_CACHE = [ '/live-view/live-view.js', '/live-view/extensions/beautifier.min.js', - '/live-view/extensions/console.js', '/live-view/extensions/marked.min.js', '/live-view/extensions/markdown-dark.css', From d5ae8f0932493db9272f5631b3836e9689494d55 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:01:02 +0200 Subject: [PATCH 29/49] Update and rename api/_link-cache.html to api-link-cache.html --- api/_link-cache.html => api-link-cache.html | 1 - 1 file changed, 1 deletion(-) rename api/_link-cache.html => api-link-cache.html (99%) diff --git a/api/_link-cache.html b/api-link-cache.html similarity index 99% rename from api/_link-cache.html rename to api-link-cache.html index ed25e343d2..5982a20e47 100644 --- a/api/_link-cache.html +++ b/api-link-cache.html @@ -83,4 +83,3 @@ - From b9a777119199d6299eb153e20888e4b2612e81ec Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:05:42 +0200 Subject: [PATCH 30/49] Update link.js --- api/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/link.js b/api/link.js index 4e411ec19f..d406576d4f 100644 --- a/api/link.js +++ b/api/link.js @@ -143,7 +143,7 @@ const html = ` const resp = decodeLink(link); // redirect to decoded URL - window.location.replace(resp); + //window.location.replace(resp); } else { From 0dc092f59aecd7b112e016b8271185ee72cd6b2c Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:10:15 +0200 Subject: [PATCH 31/49] Update link.js --- api/link.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/link.js b/api/link.js index d406576d4f..d382ce678c 100644 --- a/api/link.js +++ b/api/link.js @@ -132,6 +132,18 @@ const html = ` } + if (link && link.startsWith('https://cde.run/github.com/')) { + + link = link.replace('https://cde.run/github.com/', 'https://cde.run/'); + + } + + if (link && link.startsWith('https://dev.cde.run/github.com/')) { + + link = link.replace('https://dev.cde.run/github.com/', 'https://dev.cde.run/'); + + } + if (link && notLiveView) { link += '?live=false'; From 722980685b2d53c0a3c06ac7002d2d90a726d4d9 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:10:29 +0200 Subject: [PATCH 32/49] Update link.js --- api/link.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/link.js b/api/link.js index d382ce678c..2140d79112 100644 --- a/api/link.js +++ b/api/link.js @@ -112,18 +112,21 @@ const html = ` const isDev = (window.location.hostname === 'dev.codeit.codes'); + if (link && link.startsWith('https://codeit.codes/api/link?url=')) { link = link.replace('https://codeit.codes/api/link?url=', 'https://cde.run/'); } + if (link && link.includes('https:/github.com')) { link = link.replace('https:/github.com', 'https://github.com'); } + if (link && !link.startsWith('https://cde.run') && !link.startsWith('https://dev.cde.run')) { @@ -132,6 +135,7 @@ const html = ` } + if (link && link.startsWith('https://cde.run/github.com/')) { link = link.replace('https://cde.run/github.com/', 'https://cde.run/'); @@ -144,6 +148,7 @@ const html = ` } + if (link && notLiveView) { link += '?live=false'; From 203d0e5a0852b39d45ab7f7384c178605e4f18cf Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:11:31 +0200 Subject: [PATCH 33/49] Update link.js --- api/link.js | 111 +++++++++++++++++++++++++++------------------------- 1 file changed, 57 insertions(+), 54 deletions(-) diff --git a/api/link.js b/api/link.js index 2140d79112..917b0af66e 100644 --- a/api/link.js +++ b/api/link.js @@ -98,79 +98,82 @@ const html = ` - + + + + + + - - - + `; From 417a722dbb927371263d098fbeee841867c45492 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:12:14 +0200 Subject: [PATCH 34/49] Update api-link-cache.html --- api-link-cache.html | 110 ++++++++++++++++++++++++++------------------ 1 file changed, 65 insertions(+), 45 deletions(-) diff --git a/api-link-cache.html b/api-link-cache.html index 5982a20e47..cc6bc322ba 100644 --- a/api-link-cache.html +++ b/api-link-cache.html @@ -16,70 +16,90 @@ - - + - + + + + + + + +if (link && notLiveView) { - + link += '?live=false'; + +} + +if (link) { + + const resp = decodeLink(link); + + // redirect to decoded URL + window.location.replace(resp); + +} else { + + window.location.replace(window.location.origin); + +} + + + + + From 2f2de8e9e6b184859a654af68f3de97d3c36944a Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:13:32 +0200 Subject: [PATCH 35/49] Update api-link-cache.html --- api-link-cache.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-link-cache.html b/api-link-cache.html index cc6bc322ba..1504afbab5 100644 --- a/api-link-cache.html +++ b/api-link-cache.html @@ -68,13 +68,13 @@ if (link && link.startsWith('https://cde.run/github.com/')) { - link = link.replace('https://cde.run/github.com/', 'https://cde.run/'); + link = link.replace('https://cde.run/github.com/', 'https://cde.run/https://github.com/'); } if (link && link.startsWith('https://dev.cde.run/github.com/')) { - link = link.replace('https://dev.cde.run/github.com/', 'https://dev.cde.run/'); + link = link.replace('https://dev.cde.run/github.com/', 'https://dev.cde.run/https://github.com/'); } From 28f3ce46384b87efa850a1ebc3a78b107075dc2b Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:14:55 +0200 Subject: [PATCH 36/49] Update link.js --- api/link.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/link.js b/api/link.js index 917b0af66e..6d1e94c247 100644 --- a/api/link.js +++ b/api/link.js @@ -141,13 +141,13 @@ if (link && !link.startsWith('https://cde.run') if (link && link.startsWith('https://cde.run/github.com/')) { - link = link.replace('https://cde.run/github.com/', 'https://cde.run/'); + link = link.replace('https://cde.run/github.com/', 'https://cde.run/https://github.com/'); } if (link && link.startsWith('https://dev.cde.run/github.com/')) { - link = link.replace('https://dev.cde.run/github.com/', 'https://dev.cde.run/'); + link = link.replace('https://dev.cde.run/github.com/', 'https://dev.cde.run/https://github.com/'); } From 07268b4a0a9cc3d8d3b3f5bd014a75f1f8ff973e Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:18:59 +0200 Subject: [PATCH 37/49] Update link.js --- api/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/link.js b/api/link.js index 6d1e94c247..b78770a7c6 100644 --- a/api/link.js +++ b/api/link.js @@ -163,7 +163,7 @@ if (link) { const resp = decodeLink(link); // redirect to decoded URL - //window.location.replace(resp); + window.location.replace(resp); } else { From d10dc2c919285f777915889d66c4e4b59b584798 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:21:57 +0200 Subject: [PATCH 38/49] Update full.css --- full.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/full.css b/full.css index c0850f3bff..7bf034baf8 100644 --- a/full.css +++ b/full.css @@ -2310,7 +2310,7 @@ body:not(.mobile) .dialog .button:not(:active):hover { align-items: center; justify-content: center; pointer-events: none; - z-index: 1002; + z-index: 1003; } .message { From 31a6a8450166c1148d0ec3e206722d0215eff83d Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:26:06 +0200 Subject: [PATCH 39/49] Update full.css --- full.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/full.css b/full.css index 7bf034baf8..2346acfd34 100644 --- a/full.css +++ b/full.css @@ -1107,7 +1107,7 @@ body.mobile .sidebar .header .title .branch-icon.active { } .sidebar .header .search-screen .search-input { - width: calc(var(--sidebar-width) - 102px + 38px); + width: calc(var(--sidebar-width) - 102px + 38px - env(safe-area-inset-left, 0px)); white-space: nowrap; line-height: 20px; color: #d4d5d7; @@ -1121,7 +1121,7 @@ body.mobile .sidebar .header .title .branch-icon.active { } .sidebar .header .search-screen:has(> .clear.visible) .search-input { - width: calc(var(--sidebar-width) - 102px); + width: calc(var(--sidebar-width) - 102px - env(safe-area-inset-left, 0px)); } .sidebar .header .search-screen .search-input:empty::before { From 783c9e96f6c1092b851484fa6f9dd7baef1dae3b Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:26:16 +0200 Subject: [PATCH 40/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 a97a33f832..64cd4b68cd 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-v654'; +const WORKER_NAME = 'codeit-worker-v655'; // internal paths From 4dee4cfd96bb806ad598dc8434e00a5910d9aaec Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:26:42 +0200 Subject: [PATCH 41/49] Delete api-link-cache.html --- api-link-cache.html | 105 -------------------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 api-link-cache.html diff --git a/api-link-cache.html b/api-link-cache.html deleted file mode 100644 index 1504afbab5..0000000000 --- a/api-link-cache.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - Codeit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 1646cfe6ea315420aa104847618c66a747b01da0 Mon Sep 17 00:00:00 2001 From: Ben Hatsor <34835685+benhatsor@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:29:24 +0200 Subject: [PATCH 42/49] Restore full.html --- full.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/full.html b/full.html index 4dbc6fec7a..01ae765809 100644 --- a/full.html +++ b/full.html @@ -469,7 +469,7 @@ - +