From 5aa02608768e7aec665b49b5fd7fb0a791331029 Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Tue, 1 Apr 2025 17:00:59 +0100 Subject: [PATCH 1/7] lazygit --- workflowy-helper/style.css | 65 +++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index 1fd2229..6ba29fd 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -44,6 +44,10 @@ body { /* .root:not(.board) > .name { */ /* /1* max-width: 800px; *1/ */ /* } */ +.name > .content::before { + margin-right: 4px; +} + body::-webkit-scrollbar { display: none; @@ -119,10 +123,18 @@ body::-webkit-scrollbar { .tagged-GOAL > .notes .innerContentContainer { color: var(--yellow); } - .tagged-GOAL > .name .innerContentContainer { font-weight: bold; } +.tagged-GOAL > .name > .content::before { + content: "🏆"; + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(355deg) brightness(100%) contrast(100%); +} + +.tagged-RESPONSIBILITY > .name > .content::before { + content: "💼"; + filter: invert(50%) sepia(100%) saturate(600%) hue-rotate(315deg) brightness(100%) contrast(300%); +} .tagged-RESPONSIBILITY > .name .innerContentContainer, .tagged-RESPONSIBILITY > .notes .innerContentContainer { @@ -133,6 +145,11 @@ body::-webkit-scrollbar { font-weight: bold; } +.tagged-VISUALISATION > .name > .content::before { + content: "💭"; + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(100deg) brightness(100%) contrast(100%); +} + .tagged-VISUALISATION > .name .innerContentContainer, .tagged-VISUALISATION > .notes .innerContentContainer { color: var(--green); @@ -146,32 +163,66 @@ body::-webkit-scrollbar { .tagged-PROJECT > .name .innerContentContainer { font-weight: bold; } +.tagged-PROJECT > .name > .content::before { + content: "📁"; +} +.tagged-PROJECT.tagged-ACTIVE > .name > .content::before { + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(300deg) brightness(100%) contrast(300%); +} .tagged-PROJECT.tagged-ACTIVE > .name .innerContentContainer, .tagged-PROJECT.tagged-ACTIVE > .notes .innerContentContainer { color: var(--magenta); } +.tagged-PROJECT.tagged-PLANT > .name > .content::before { + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(340deg) brightness(100%) contrast(100%); +} .tagged-PROJECT.tagged-PLANT > .name .innerContentContainer, .tagged-PROJECT.tagged-PLANT > .notes .innerContentContainer { color: var(--orange); } +.tagged-PROJECT.tagged-STALLED > .name > .content::before { + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(120deg) brightness(100%) contrast(100%); +} .tagged-PROJECT.tagged-STALLED > .name .innerContentContainer, .tagged-PROJECT.tagged-STALLED > .notes .innerContentContainer { color: var(--cyan); } +.tagged-PROJECT.tagged-SOMEDAY > .name > .content::before { + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(100%) contrast(100%); +} .tagged-PROJECT.tagged-SOMEDAY > .name .innerContentContainer, .tagged-PROJECT.tagged-SOMEDAY > .notes .innerContentContainer { color: var(--violet); } +.tagged-HABIT > .name > .content::before { + content: "🎒"; + filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(330deg) brightness(100%) contrast(100%); +} + + .tagged-HABIT > .name .innerContentContainer, .tagged-HABIT > .notes .innerContentContainer { color: var(--orange); } +.tagged-TASK > .name > .content::before { + content: "✔️"; +} + +.tagged-TASK.tagged-READY > .name > .content::before { + filter: invert(90%) sepia(100%) saturate(300%) hue-rotate(160deg) brightness(90%) contrast(100%); +} .tagged-TASK.tagged-READY > .name .innerContentContainer, .tagged-TASK.tagged-READY > .notes .innerContentContainer { color: var(--blue); } +.tagged-TASK.tagged-DAILY > .name > .content::before , +.tagged-TASK.tagged-WEEKLY > .name > .content::before , +.tagged-TASK.tagged-MONTHLY > .name > .content::before , +.tagged-TASK.tagged-IRREGULAR > .name > .content::before { + filter: invert(90%) sepia(100%) saturate(300%) hue-rotate(90deg) brightness(90%) contrast(100%); +} .tagged-TASK.tagged-DAILY > .name .innerContentContainer, .tagged-TASK.tagged-DAILY > .notes .innerContentContainer, .tagged-TASK.tagged-WEEKLY > .name .innerContentContainer, @@ -182,14 +233,26 @@ body::-webkit-scrollbar { .tagged-TASK.tagged-IRREGULAR > .notes .innerContentContainer { color: var(--green); } + +.tagged-TASK.tagged-WAITING > .name > .content::before { + filter: invert(90%) sepia(100%) saturate(300%) hue-rotate(110deg) brightness(90%) contrast(100%); +} .tagged-TASK.tagged-WAITING > .name .innerContentContainer, .tagged-TASK.tagged-WAITING > .notes .innerContentContainer { color: var(--cyan); } + +.tagged-TASK.tagged-BLOCKED > .name > .content::before { + filter: invert(40%) sepia(100%) saturate(300%) hue-rotate(310deg) brightness(90%) contrast(100%); +} .tagged-TASK.tagged-BLOCKED > .name .innerContentContainer, .tagged-TASK.tagged-BLOCKED > .notes .innerContentContainer { color: var(--red); } + +.tagged-TASK.tagged-MAYBE > .name > .content::before { + filter: invert(60%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(90%) contrast(100%); +} .tagged-TASK.tagged-MAYBE > .name .innerContentContainer, .tagged-TASK.tagged-MAYBE > .notes .innerContentContainer { color: var(--violet); From e95cd4ae9e44c4662582f7bc7e6a30dea70dd2bf Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Wed, 2 Apr 2025 11:20:32 +0100 Subject: [PATCH 2/7] lazygit --- workflowy-helper/style.css | 47 +++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index 6ba29fd..d122cb8 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -127,13 +127,13 @@ body::-webkit-scrollbar { font-weight: bold; } .tagged-GOAL > .name > .content::before { - content: "🏆"; - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(355deg) brightness(100%) contrast(100%); + content: "♥︎"; + color: var(--yellow); } .tagged-RESPONSIBILITY > .name > .content::before { - content: "💼"; - filter: invert(50%) sepia(100%) saturate(600%) hue-rotate(315deg) brightness(100%) contrast(300%); + content: "✦"; + color: var(--red); } .tagged-RESPONSIBILITY > .name .innerContentContainer, @@ -146,8 +146,8 @@ body::-webkit-scrollbar { } .tagged-VISUALISATION > .name > .content::before { - content: "💭"; - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(100deg) brightness(100%) contrast(100%); + content: "☁︎"; + color: var(--green); } .tagged-VISUALISATION > .name .innerContentContainer, @@ -164,31 +164,35 @@ body::-webkit-scrollbar { font-weight: bold; } .tagged-PROJECT > .name > .content::before { - content: "📁"; + content: "⚑"; } .tagged-PROJECT.tagged-ACTIVE > .name > .content::before { - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(300deg) brightness(100%) contrast(300%); + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(300deg) brightness(100%) contrast(300%); */ + color: var(--magenta); } .tagged-PROJECT.tagged-ACTIVE > .name .innerContentContainer, .tagged-PROJECT.tagged-ACTIVE > .notes .innerContentContainer { color: var(--magenta); } .tagged-PROJECT.tagged-PLANT > .name > .content::before { - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(340deg) brightness(100%) contrast(100%); + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(340deg) brightness(100%) contrast(100%); */ + color: var(--orange); } .tagged-PROJECT.tagged-PLANT > .name .innerContentContainer, .tagged-PROJECT.tagged-PLANT > .notes .innerContentContainer { color: var(--orange); } .tagged-PROJECT.tagged-STALLED > .name > .content::before { - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(120deg) brightness(100%) contrast(100%); + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(120deg) brightness(100%) contrast(100%); */ + color: var(--cyan); } .tagged-PROJECT.tagged-STALLED > .name .innerContentContainer, .tagged-PROJECT.tagged-STALLED > .notes .innerContentContainer { color: var(--cyan); } .tagged-PROJECT.tagged-SOMEDAY > .name > .content::before { - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(100%) contrast(100%); + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(100%) contrast(100%); */ + color: var(--violet); } .tagged-PROJECT.tagged-SOMEDAY > .name .innerContentContainer, .tagged-PROJECT.tagged-SOMEDAY > .notes .innerContentContainer { @@ -196,8 +200,9 @@ body::-webkit-scrollbar { } .tagged-HABIT > .name > .content::before { - content: "🎒"; - filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(330deg) brightness(100%) contrast(100%); + content: "↻"; + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(330deg) brightness(100%) contrast(100%); */ + color: var(--orange); } @@ -207,11 +212,13 @@ body::-webkit-scrollbar { } .tagged-TASK > .name > .content::before { - content: "✔️"; + /* content: "✔️"; */ + content: "✓"; } .tagged-TASK.tagged-READY > .name > .content::before { - filter: invert(90%) sepia(100%) saturate(300%) hue-rotate(160deg) brightness(90%) contrast(100%); + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(160deg) brightness(90%) contrast(100%); */ + color: var(--blue); } .tagged-TASK.tagged-READY > .name .innerContentContainer, .tagged-TASK.tagged-READY > .notes .innerContentContainer { @@ -221,7 +228,8 @@ body::-webkit-scrollbar { .tagged-TASK.tagged-WEEKLY > .name > .content::before , .tagged-TASK.tagged-MONTHLY > .name > .content::before , .tagged-TASK.tagged-IRREGULAR > .name > .content::before { - filter: invert(90%) sepia(100%) saturate(300%) hue-rotate(90deg) brightness(90%) contrast(100%); + content: "↻"; + color: var(--green); } .tagged-TASK.tagged-DAILY > .name .innerContentContainer, .tagged-TASK.tagged-DAILY > .notes .innerContentContainer, @@ -235,7 +243,7 @@ body::-webkit-scrollbar { } .tagged-TASK.tagged-WAITING > .name > .content::before { - filter: invert(90%) sepia(100%) saturate(300%) hue-rotate(110deg) brightness(90%) contrast(100%); + color: var(--cyan); } .tagged-TASK.tagged-WAITING > .name .innerContentContainer, .tagged-TASK.tagged-WAITING > .notes .innerContentContainer { @@ -243,7 +251,7 @@ body::-webkit-scrollbar { } .tagged-TASK.tagged-BLOCKED > .name > .content::before { - filter: invert(40%) sepia(100%) saturate(300%) hue-rotate(310deg) brightness(90%) contrast(100%); + color: var(--red); } .tagged-TASK.tagged-BLOCKED > .name .innerContentContainer, .tagged-TASK.tagged-BLOCKED > .notes .innerContentContainer { @@ -251,7 +259,8 @@ body::-webkit-scrollbar { } .tagged-TASK.tagged-MAYBE > .name > .content::before { - filter: invert(60%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(90%) contrast(100%); + /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(90%) contrast(100%); */ + color: var(--violet); } .tagged-TASK.tagged-MAYBE > .name .innerContentContainer, .tagged-TASK.tagged-MAYBE > .notes .innerContentContainer { From 7ff084cc7e79b5082af59ab7e46550340a4fdd8a Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Wed, 2 Apr 2025 11:34:07 +0100 Subject: [PATCH 3/7] lazygit --- workflowy-helper/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index d122cb8..5452a78 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -127,7 +127,7 @@ body::-webkit-scrollbar { font-weight: bold; } .tagged-GOAL > .name > .content::before { - content: "♥︎"; + content: "★"; color: var(--yellow); } From 2d9f2b93d120fd3ed60f3c77a8c1c07b4de4b374 Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Fri, 4 Apr 2025 14:10:12 +0100 Subject: [PATCH 4/7] lazygit --- workflowy-helper/main.js | 8 ++++---- workflowy-helper/style.css | 39 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/workflowy-helper/main.js b/workflowy-helper/main.js index b4659b8..5c2d598 100644 --- a/workflowy-helper/main.js +++ b/workflowy-helper/main.js @@ -183,10 +183,10 @@ }); }); - if (isIosSafari()) { - const content = n.querySelector('.content'); - removeKeyboard(content); - } + // if (isIosSafari()) { + // const content = n.querySelector('.content'); + // removeKeyboard(content); + // } } }); diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index 5452a78..246f231 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -44,11 +44,10 @@ body { /* .root:not(.board) > .name { */ /* /1* max-width: 800px; *1/ */ /* } */ -.name > .content::before { +.name > .content > .innerContentContainer::before { margin-right: 4px; } - body::-webkit-scrollbar { display: none; } @@ -126,12 +125,12 @@ body::-webkit-scrollbar { .tagged-GOAL > .name .innerContentContainer { font-weight: bold; } -.tagged-GOAL > .name > .content::before { +.tagged-GOAL > .name > .content > .innerContentContainer::before { content: "★"; color: var(--yellow); } -.tagged-RESPONSIBILITY > .name > .content::before { +.tagged-RESPONSIBILITY > .name > .content > .innerContentContainer::before { content: "✦"; color: var(--red); } @@ -145,7 +144,7 @@ body::-webkit-scrollbar { font-weight: bold; } -.tagged-VISUALISATION > .name > .content::before { +.tagged-VISUALISATION > .name > .content > .innerContentContainer::before { content: "☁︎"; color: var(--green); } @@ -163,10 +162,10 @@ body::-webkit-scrollbar { .tagged-PROJECT > .name .innerContentContainer { font-weight: bold; } -.tagged-PROJECT > .name > .content::before { +.tagged-PROJECT > .name > .content > .innerContentContainer::before { content: "⚑"; } -.tagged-PROJECT.tagged-ACTIVE > .name > .content::before { +.tagged-PROJECT.tagged-ACTIVE > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(300deg) brightness(100%) contrast(300%); */ color: var(--magenta); } @@ -174,7 +173,7 @@ body::-webkit-scrollbar { .tagged-PROJECT.tagged-ACTIVE > .notes .innerContentContainer { color: var(--magenta); } -.tagged-PROJECT.tagged-PLANT > .name > .content::before { +.tagged-PROJECT.tagged-PLANT > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(340deg) brightness(100%) contrast(100%); */ color: var(--orange); } @@ -182,7 +181,7 @@ body::-webkit-scrollbar { .tagged-PROJECT.tagged-PLANT > .notes .innerContentContainer { color: var(--orange); } -.tagged-PROJECT.tagged-STALLED > .name > .content::before { +.tagged-PROJECT.tagged-STALLED > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(120deg) brightness(100%) contrast(100%); */ color: var(--cyan); } @@ -190,7 +189,7 @@ body::-webkit-scrollbar { .tagged-PROJECT.tagged-STALLED > .notes .innerContentContainer { color: var(--cyan); } -.tagged-PROJECT.tagged-SOMEDAY > .name > .content::before { +.tagged-PROJECT.tagged-SOMEDAY > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(100%) contrast(100%); */ color: var(--violet); } @@ -199,7 +198,7 @@ body::-webkit-scrollbar { color: var(--violet); } -.tagged-HABIT > .name > .content::before { +.tagged-HABIT > .name > .content > .innerContentContainer::before { content: "↻"; /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(330deg) brightness(100%) contrast(100%); */ color: var(--orange); @@ -211,12 +210,12 @@ body::-webkit-scrollbar { color: var(--orange); } -.tagged-TASK > .name > .content::before { +.tagged-TASK > .name > .content > .innerContentContainer::before { /* content: "✔️"; */ content: "✓"; } -.tagged-TASK.tagged-READY > .name > .content::before { +.tagged-TASK.tagged-READY > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(160deg) brightness(90%) contrast(100%); */ color: var(--blue); } @@ -224,10 +223,10 @@ body::-webkit-scrollbar { .tagged-TASK.tagged-READY > .notes .innerContentContainer { color: var(--blue); } -.tagged-TASK.tagged-DAILY > .name > .content::before , -.tagged-TASK.tagged-WEEKLY > .name > .content::before , -.tagged-TASK.tagged-MONTHLY > .name > .content::before , -.tagged-TASK.tagged-IRREGULAR > .name > .content::before { +.tagged-TASK.tagged-DAILY > .name > .content > .innerContentContainer::before, +.tagged-TASK.tagged-WEEKLY > .name > .content > .innerContentContainer::before, +.tagged-TASK.tagged-MONTHLY > .name > .content > .innerContentContainer::before, +.tagged-TASK.tagged-IRREGULAR > .name > .content > .innerContentContainer::before { content: "↻"; color: var(--green); } @@ -242,7 +241,7 @@ body::-webkit-scrollbar { color: var(--green); } -.tagged-TASK.tagged-WAITING > .name > .content::before { +.tagged-TASK.tagged-WAITING > .name > .content > .innerContentContainer::before { color: var(--cyan); } .tagged-TASK.tagged-WAITING > .name .innerContentContainer, @@ -250,7 +249,7 @@ body::-webkit-scrollbar { color: var(--cyan); } -.tagged-TASK.tagged-BLOCKED > .name > .content::before { +.tagged-TASK.tagged-BLOCKED > .name > .content > .innerContentContainer::before { color: var(--red); } .tagged-TASK.tagged-BLOCKED > .name .innerContentContainer, @@ -258,7 +257,7 @@ body::-webkit-scrollbar { color: var(--red); } -.tagged-TASK.tagged-MAYBE > .name > .content::before { +.tagged-TASK.tagged-MAYBE > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(90%) contrast(100%); */ color: var(--violet); } From 22ddf81b1b0acd3478caf455933401e2f53e447b Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Fri, 4 Apr 2025 17:22:01 +0100 Subject: [PATCH 5/7] lazygit --- workflowy-helper/diary.opml | 2 +- workflowy-helper/diary.py | 2 +- workflowy-helper/style.css | 150 +++++++++++++++++------------------- 3 files changed, 73 insertions(+), 81 deletions(-) diff --git a/workflowy-helper/diary.opml b/workflowy-helper/diary.opml index 58716c8..3b17cf2 100644 --- a/workflowy-helper/diary.opml +++ b/workflowy-helper/diary.opml @@ -1,2 +1,2 @@ -contact@gregoryleeman.com \ No newline at end of file +contact@gregoryleeman.com \ No newline at end of file diff --git a/workflowy-helper/diary.py b/workflowy-helper/diary.py index aa89b0b..5b4164a 100644 --- a/workflowy-helper/diary.py +++ b/workflowy-helper/diary.py @@ -26,7 +26,7 @@ def generate_weekly_opml(week_num, year=2025): day_outline = ET.SubElement( week_outline, "outline", - text=f"{weekday} {ordinal(day_date.day)} {day_date.strftime('%b')}", + text=f"{weekday} {ordinal(day_date.day)} {day_date.strftime('%b')}", _note=f"" ) if weekday in ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']: diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index 246f231..d2e8860 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -101,8 +101,8 @@ body::-webkit-scrollbar { .project .breadcrumbs { position: absolute; z-index: 20; - left: 25px; - top: -3px; + right: 25px; + top: 10px; } .project .breadcrumbs > a, .project .breadcrumbs > svg, @@ -118,151 +118,150 @@ body::-webkit-scrollbar { content: "→"; } -.tagged-GOAL > .name .innerContentContainer, -.tagged-GOAL > .notes .innerContentContainer { +.linked-xGOAL > .name .innerContentContainer, +.linked-xGOAL > .notes .innerContentContainer { color: var(--yellow); } -.tagged-GOAL > .name .innerContentContainer { +.linked-xGOAL > .name .innerContentContainer { font-weight: bold; } -.tagged-GOAL > .name > .content > .innerContentContainer::before { +.linked-xGOAL > .name > .content > .innerContentContainer::before { content: "★"; color: var(--yellow); } -.tagged-RESPONSIBILITY > .name > .content > .innerContentContainer::before { +.linked-xRESPONSIBILITY > .name > .content > .innerContentContainer::before { content: "✦"; color: var(--red); } -.tagged-RESPONSIBILITY > .name .innerContentContainer, -.tagged-RESPONSIBILITY > .notes .innerContentContainer { +.linked-xRESPONSIBILITY > .name .innerContentContainer, +.linked-xRESPONSIBILITY > .notes .innerContentContainer { color: var(--red); } -.tagged-RESPONSIBILITY > .name .innerContentContainer { +.linked-xRESPONSIBILITY > .name .innerContentContainer { font-weight: bold; } -.tagged-VISUALISATION > .name > .content > .innerContentContainer::before { +.linked-xVISUALISATION > .name > .content > .innerContentContainer::before { content: "☁︎"; color: var(--green); } -.tagged-VISUALISATION > .name .innerContentContainer, -.tagged-VISUALISATION > .notes .innerContentContainer { +.linked-xVISUALISATION > .name .innerContentContainer, +.linked-xVISUALISATION > .notes .innerContentContainer { color: var(--green); } -.tagged-VISUALISATION > .name .innerContentContainer { +.linked-xVISUALISATION > .name .innerContentContainer { font-weight: bold; } -.tagged-PROJECT > .name .innerContentContainer { +.linked-xPROJECT > .name .innerContentContainer { font-weight: bold; } -.tagged-PROJECT > .name > .content > .innerContentContainer::before { +.linked-xPROJECT > .name > .content > .innerContentContainer::before { content: "⚑"; } -.tagged-PROJECT.tagged-ACTIVE > .name > .content > .innerContentContainer::before { +.linked-xPROJECT.tagged-ACTIVE > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(300deg) brightness(100%) contrast(300%); */ color: var(--magenta); } -.tagged-PROJECT.tagged-ACTIVE > .name .innerContentContainer, -.tagged-PROJECT.tagged-ACTIVE > .notes .innerContentContainer { +.linked-xPROJECT.tagged-ACTIVE > .name .innerContentContainer, +.linked-xPROJECT.tagged-ACTIVE > .notes .innerContentContainer { color: var(--magenta); } -.tagged-PROJECT.tagged-PLANT > .name > .content > .innerContentContainer::before { +.linked-xPROJECT.tagged-PLANT > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(340deg) brightness(100%) contrast(100%); */ color: var(--orange); } -.tagged-PROJECT.tagged-PLANT > .name .innerContentContainer, -.tagged-PROJECT.tagged-PLANT > .notes .innerContentContainer { +.linked-xPROJECT.tagged-PLANT > .name .innerContentContainer, +.linked-xPROJECT.tagged-PLANT > .notes .innerContentContainer { color: var(--orange); } -.tagged-PROJECT.tagged-STALLED > .name > .content > .innerContentContainer::before { +.linked-xPROJECT.tagged-STALLED > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(120deg) brightness(100%) contrast(100%); */ color: var(--cyan); } -.tagged-PROJECT.tagged-STALLED > .name .innerContentContainer, -.tagged-PROJECT.tagged-STALLED > .notes .innerContentContainer { +.linked-xPROJECT.tagged-STALLED > .name .innerContentContainer, +.linked-xPROJECT.tagged-STALLED > .notes .innerContentContainer { color: var(--cyan); } -.tagged-PROJECT.tagged-SOMEDAY > .name > .content > .innerContentContainer::before { +.linked-xPROJECT.tagged-SOMEDAY > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(100%) contrast(100%); */ color: var(--violet); } -.tagged-PROJECT.tagged-SOMEDAY > .name .innerContentContainer, -.tagged-PROJECT.tagged-SOMEDAY > .notes .innerContentContainer { +.linked-xPROJECT.tagged-SOMEDAY > .name .innerContentContainer, +.linked-xPROJECT.tagged-SOMEDAY > .notes .innerContentContainer { color: var(--violet); } -.tagged-HABIT > .name > .content > .innerContentContainer::before { +.linked-xHABIT > .name > .content > .innerContentContainer::before { content: "↻"; /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(330deg) brightness(100%) contrast(100%); */ color: var(--orange); } -.tagged-HABIT > .name .innerContentContainer, -.tagged-HABIT > .notes .innerContentContainer { +.linked-xHABIT > .name .innerContentContainer, +.linked-xHABIT > .notes .innerContentContainer { color: var(--orange); } -.tagged-TASK > .name > .content > .innerContentContainer::before { +.linked-xTASK > .name > .content > .innerContentContainer::before { /* content: "✔️"; */ content: "✓"; } -.tagged-TASK.tagged-READY > .name > .content > .innerContentContainer::before { +.linked-xTASK.tagged-NEXT > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(160deg) brightness(90%) contrast(100%); */ color: var(--blue); } -.tagged-TASK.tagged-READY > .name .innerContentContainer, -.tagged-TASK.tagged-READY > .notes .innerContentContainer { +.linked-xTASK.tagged-NEXT > .name .innerContentContainer, +.linked-xTASK.tagged-NEXT > .notes .innerContentContainer { color: var(--blue); } -.tagged-TASK.tagged-DAILY > .name > .content > .innerContentContainer::before, -.tagged-TASK.tagged-WEEKLY > .name > .content > .innerContentContainer::before, -.tagged-TASK.tagged-MONTHLY > .name > .content > .innerContentContainer::before, -.tagged-TASK.tagged-IRREGULAR > .name > .content > .innerContentContainer::before { +.linked-xTASK.tagged-DAILY > .name > .content > .innerContentContainer::before, +.linked-xTASK.tagged-WEEKLY > .name > .content > .innerContentContainer::before, +.linked-xTASK.tagged-MONTHLY > .name > .content > .innerContentContainer::before, +.linked-xTASK.tagged-IRREGULAR > .name > .content > .innerContentContainer::before { content: "↻"; color: var(--green); } -.tagged-TASK.tagged-DAILY > .name .innerContentContainer, -.tagged-TASK.tagged-DAILY > .notes .innerContentContainer, -.tagged-TASK.tagged-WEEKLY > .name .innerContentContainer, -.tagged-TASK.tagged-WEEKLY > .notes .innerContentContainer, -.tagged-TASK.tagged-MONTHLY > .name .innerContentContainer, -.tagged-TASK.tagged-MONTHLY > .notes .innerContentContainer, -.tagged-TASK.tagged-IRREGULAR > .name .innerContentContainer, -.tagged-TASK.tagged-IRREGULAR > .notes .innerContentContainer { +.linked-xTASK.tagged-DAILY > .name .innerContentContainer, +.linked-xTASK.tagged-DAILY > .notes .innerContentContainer, +.linked-xTASK.tagged-WEEKLY > .name .innerContentContainer, +.linked-xTASK.tagged-WEEKLY > .notes .innerContentContainer, +.linked-xTASK.tagged-MONTHLY > .name .innerContentContainer, +.linked-xTASK.tagged-MONTHLY > .notes .innerContentContainer, +.linked-xTASK.tagged-IRREGULAR > .name .innerContentContainer, +.linked-xTASK.tagged-IRREGULAR > .notes .innerContentContainer { color: var(--green); } - -.tagged-TASK.tagged-WAITING > .name > .content > .innerContentContainer::before { +.linked-xTASK.tagged-WAITING > .name > .content > .innerContentContainer::before { color: var(--cyan); } -.tagged-TASK.tagged-WAITING > .name .innerContentContainer, -.tagged-TASK.tagged-WAITING > .notes .innerContentContainer { +.linked-xTASK.tagged-WAITING > .name .innerContentContainer, +.linked-xTASK.tagged-WAITING > .notes .innerContentContainer { color: var(--cyan); } -.tagged-TASK.tagged-BLOCKED > .name > .content > .innerContentContainer::before { +.linked-xTASK.tagged-BLOCKED > .name > .content > .innerContentContainer::before { color: var(--red); } -.tagged-TASK.tagged-BLOCKED > .name .innerContentContainer, -.tagged-TASK.tagged-BLOCKED > .notes .innerContentContainer { +.linked-xTASK.tagged-BLOCKED > .name .innerContentContainer, +.linked-xTASK.tagged-BLOCKED > .notes .innerContentContainer { color: var(--red); } -.tagged-TASK.tagged-MAYBE > .name > .content > .innerContentContainer::before { +.linked-xTASK.tagged-MAYBE > .name > .content > .innerContentContainer::before { /* filter: invert(50%) sepia(100%) saturate(300%) hue-rotate(210deg) brightness(90%) contrast(100%); */ color: var(--violet); } -.tagged-TASK.tagged-MAYBE > .name .innerContentContainer, -.tagged-TASK.tagged-MAYBE > .notes .innerContentContainer { +.linked-xTASK.tagged-MAYBE > .name .innerContentContainer, +.linked-xTASK.tagged-MAYBE > .notes .innerContentContainer { color: var(--violet); } @@ -283,7 +282,8 @@ body::-webkit-scrollbar { color: var(--red) !important; } -.tag-RELAX { +.tag-RELAX, +.tag-REVIEW { color: var(--yellow) !important; } @@ -316,7 +316,7 @@ body::-webkit-scrollbar { .project.collapsed > .name, .project.open > .name, .root > .name { - color: var(--white) !important; + /* color: var(--white) !important; */ } .tagged-done > .name > .content, @@ -353,39 +353,31 @@ body::-webkit-scrollbar { color: var(--blue) !important; } -.tagged-event > .name > .content > .innerContentContainer, -.tagged-event > .name > .content > .innerContentContainer > .contentTag { - background-color: var(--red) !important; - color: var(--black) !important; +.tagged-event > .name > .content > .innerContentContainer { + color: var(--red) !important; } -.tagged-reminder > .name > .content > .innerContentContainer, -.tagged-reminder > .name > .content > .innerContentContainer > .contentTag { - background-color: var(--blue) !important; - color: var(--black) !important; +.tagged-reminder > .name > .content > .innerContentContainer { + color: var(--blue) !important; } -.tagged-gym > .name > .content > .innerContentContainer, -.tagged-gym > .name > .content > .innerContentContainer > .contentTag { - background-color: var(--yellow) !important; - color: var(--black) !important; +.tagged-gym > .name > .content > .innerContentContainer { + color: var(--yellow) !important; } -.tagged-meeting > .name > .content > .innerContentContainer, -.tagged-meeting > .name > .content > .innerContentContainer > .contentTag { - background-color: var(--magenta) !important; - color: var(--black) !important; +.tagged-plan > .name > .content > .innerContentContainer { + color: var(--green) !important; } .tagged-work > .name > .content > .innerContentContainer { - color: var(--red) !important; + color: var(--magenta) !important; } - -.tagged-plan > .name > .content > .innerContentContainer { - color: var(--green) !important; +.tagged-birthday > .name > .content > .innerContentContainer { + color: var(--violet) !important; } + .half-open.tagged-a > .name > .bullet, .collapsed.tagged-a > .name > .bullet, .tagged-a > .name > .bullet { From 2a1c896bf4d54c3ad31dab747d8d70271bf5754a Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Sun, 6 Apr 2025 17:40:18 +0100 Subject: [PATCH 6/7] lazygit --- workflowy-helper/main.js | 27 +++++++++++++++++++++++++ workflowy-helper/style.css | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/workflowy-helper/main.js b/workflowy-helper/main.js index 5c2d598..b2e3b7e 100644 --- a/workflowy-helper/main.js +++ b/workflowy-helper/main.js @@ -135,6 +135,7 @@ removeClassesStartingWith(projectNode, "time"); const names = []; const notes = []; + const text = []; for (let i = 0; i < projectNode.children.length; i++) { const child = projectNode.children[i]; if (child.classList.contains('name')) { @@ -143,11 +144,37 @@ if (child.classList.contains('notes')) { notes.push(child); } + if (child.classList.contains('leading-s')) { + text.push(child); + } } + const hotspots = ["admin", "art","mind","health","social","church","career","work"] + text.forEach(function(t) { + const breadcrumb = t.querySelector('.breadcrumbs'); + if (breadcrumb !== null) { + const breadcrumbs = breadcrumb.querySelectorAll('a'); + breadcrumbs.forEach(bc => { + var text = bc.innerText.trim(); + if (hotspots.some(hotspot => text.includes(hotspot))) { + const hotspot = hotspots.find(hotspot => text.includes(hotspot)); + projectNode.classList.add(`hotspot-${hotspot}`); + } + }); + } + }); [notes, names].forEach(function(ns) { if (ns.length > 0) { const n = ns[0]; const text = safeGetContent(n, ".content > .innerContentContainer"); + if (hotspots.some(hotspot => text.includes(hotspot))) { + const hotspot = hotspots.find(hotspot => text.includes(hotspot)); + projectNode.classList.add(`hotspot-${hotspot}`); + const children = projectNode.querySelectorAll('.project'); + children.forEach(child => { + console.log(child); + child.classList.add(`hotspot-${hotspot}`); + }); + } const tags = n.querySelectorAll('.contentTag'); tags.forEach(tag => { var tagText = safeGetContent(tag, ".contentTagText").trim(); diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index d2e8860..0adcf44 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -407,3 +407,43 @@ body::-webkit-scrollbar { .timed-late > .children > .project:not(.timed) { opacity: .5 !important; } + +.hotspot-admin > .name .innerContentContainer::after { + content: "✏️"; + margin-left: 4px; +} + +.hotspot-mind > .name .innerContentContainer::after { + content: "🧠"; + margin-left: 4px; +} + +.hotspot-health > .name .innerContentContainer::after { + content: "💪"; + margin-left: 4px; +} + +.hotspot-art > .name .innerContentContainer::after { + content: "🎨"; + margin-left: 4px; +} + +.hotspot-social > .name .innerContentContainer::after { + content: "👥"; + margin-left: 4px; +} + +.hotspot-career > .name .innerContentContainer::after { + content: "💻"; + margin-left: 4px; +} + +.hotspot-church > .name .innerContentContainer::after { + content: "☦️"; + margin-left: 4px; +} + +.hotspot-work > .name .innerContentContainer::after { + content: "💼"; + margin-left: 4px; +} From 731258f548159a5e1538966032f97c1113fd1d47 Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Sun, 6 Apr 2025 17:45:21 +0100 Subject: [PATCH 7/7] lazygit --- workflowy-helper/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflowy-helper/main.js b/workflowy-helper/main.js index b2e3b7e..b1c425d 100644 --- a/workflowy-helper/main.js +++ b/workflowy-helper/main.js @@ -155,8 +155,8 @@ const breadcrumbs = breadcrumb.querySelectorAll('a'); breadcrumbs.forEach(bc => { var text = bc.innerText.trim(); - if (hotspots.some(hotspot => text.includes(hotspot))) { - const hotspot = hotspots.find(hotspot => text.includes(hotspot)); + if (hotspots.includes(text)) { + const hotspot = text; projectNode.classList.add(`hotspot-${hotspot}`); } }); @@ -166,8 +166,8 @@ if (ns.length > 0) { const n = ns[0]; const text = safeGetContent(n, ".content > .innerContentContainer"); - if (hotspots.some(hotspot => text.includes(hotspot))) { - const hotspot = hotspots.find(hotspot => text.includes(hotspot)); + if (hotspots.includes(text)) { + const hotspot = text; projectNode.classList.add(`hotspot-${hotspot}`); const children = projectNode.querySelectorAll('.project'); children.forEach(child => {