From 6e35fdfaef128b5e0bd48e368726f6d31fa1b303 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Tue, 16 Jun 2026 19:28:12 -0700 Subject: [PATCH] editor: promote Keep to a top-level tab + guard Learn refs during Monaco load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Keep is now a top-level tab (Learn / List / Music / Keep) instead of a sub-tab under List. Moved the embedded keeps.html iframe into a #keep-content panel with its own tab handler (lazy-load + post current piece). Removed the old Keeps list-subtab, its subcontent, and now-dead CSS. - onDidChangeCursorPosition skips Learn-tab reference lookups while content is set programmatically (initial restore / code-load / decrypt) — Monaco is still chunking in then and they fired spuriously. Co-Authored-By: Claude Opus 4.8 --- system/public/kidlisp.com/index.html | 76 +++++++++++++--------------- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/system/public/kidlisp.com/index.html b/system/public/kidlisp.com/index.html index f62dad28b3..10261efcb4 100644 --- a/system/public/kidlisp.com/index.html +++ b/system/public/kidlisp.com/index.html @@ -4132,16 +4132,6 @@ color: #5c3d1e; } - /* Sub-tab colors - Keeps (Gray) */ - .list-subtab[data-subtab="keeps"] { - background: rgba(250, 204, 21, 0.65); - color: #78716c; - } - .list-subtab[data-subtab="keeps"].active { - background: linear-gradient(to bottom, #a3a3a3 0%, #d4d4d4 100%); - color: #262626; - } - /* Dark mode sub-tabs */ [data-theme="dark"] .list-subtab[data-subtab="examples"] { background: rgba(253, 224, 71, 0.8); @@ -4167,14 +4157,6 @@ background: linear-gradient(to bottom, #a3724a 0%, #6b4423 100%); color: #e8d4bc; } - [data-theme="dark"] .list-subtab[data-subtab="keeps"] { - background: rgba(253, 224, 71, 0.8); - color: #57534e; - } - [data-theme="dark"] .list-subtab[data-subtab="keeps"].active { - background: linear-gradient(to bottom, #737373 0%, #525252 100%); - color: #f5f5f5; - } /* Slideshow icon button in subtabs bar */ .slideshow-icon-btn { @@ -4944,11 +4926,6 @@ background: linear-gradient(to bottom, rgba(180, 130, 90, 0.35) 0%, rgba(180, 130, 90, 0.1) 40%, rgba(250, 204, 21, 0.05) 100%); } - #keeps-subcontent:not(.hidden) { - display: flex; - overflow: hidden; - } - .language-tab { border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); @@ -9293,6 +9270,7 @@
Learn
List
Music
+
Keep
@@ -9308,7 +9286,6 @@
Top Hits
Recent
History
-
Keeps
@@ -9327,11 +9304,11 @@
Loading...
- +