From 919442c1d87b20e4eae9e1ceaf87c763bc2dddde Mon Sep 17 00:00:00 2001 From: skittishcat Date: Tue, 3 Jun 2025 03:53:25 -0700 Subject: [PATCH 1/2] Added tree info text and made it visible once subgoal is made --- templates/popup.html | 3 +++ ui/uiController.js | 1 + 2 files changed, 4 insertions(+) diff --git a/templates/popup.html b/templates/popup.html index 9cebe430..e2bdbccf 100644 --- a/templates/popup.html +++ b/templates/popup.html @@ -53,6 +53,9 @@
+
diff --git a/ui/uiController.js b/ui/uiController.js index 9ac677ac..abe4a3e2 100644 --- a/ui/uiController.js +++ b/ui/uiController.js @@ -52,6 +52,7 @@ function addToSandwich(type, item){ // add the new subgoal to the sidebar if (!foundIt) { sidebarBody().find("#subgoalList").append(sideSubgoal); + sidebarBody().find("#treeInfo").show(); } } From 807415ef259ee144fab22afdc2efc033aee6f5d2 Mon Sep 17 00:00:00 2001 From: skittishcat Date: Tue, 3 Jun 2025 04:01:07 -0700 Subject: [PATCH 2/2] Fixing formatting --- templates/popup.html | 9 +++++---- ui/uiController.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/popup.html b/templates/popup.html index e2bdbccf..a3a18e70 100644 --- a/templates/popup.html +++ b/templates/popup.html @@ -52,10 +52,11 @@

- - +
diff --git a/ui/uiController.js b/ui/uiController.js index abe4a3e2..5b77bb63 100644 --- a/ui/uiController.js +++ b/ui/uiController.js @@ -52,7 +52,7 @@ function addToSandwich(type, item){ // add the new subgoal to the sidebar if (!foundIt) { sidebarBody().find("#subgoalList").append(sideSubgoal); - sidebarBody().find("#treeInfo").show(); + sidebarBody().find("#treeInfo").show(); } }