From be3e7d42bd9d88a4dd135e10f64efe6cbda92212 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 27 Jun 2024 18:12:03 +0000 Subject: [PATCH 1/3] update glob: [skip actions] --- desk/desk.docket-0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desk/desk.docket-0 b/desk/desk.docket-0 index dc8a2f7ab3..0129de3f90 100644 --- a/desk/desk.docket-0 +++ b/desk/desk.docket-0 @@ -2,7 +2,7 @@ info+'Start, host, and cultivate communities. Own your communications, organize your resources, and share documents. Tlon is a decentralized platform that offers a full, communal suite of tools for messaging, writing and sharing media with others.' color+0xde.dede image+'https://bootstrap.urbit.org/tlon.svg?v=1' - glob-http+['https://bootstrap.urbit.org/glob-0v7.f6rgh.7hdem.h7bn0.dibka.phl0k.glob' 0v7.f6rgh.7hdem.h7bn0.dibka.phl0k] + glob-http+['https://bootstrap.urbit.org/glob-0v2.blsuf.uovnn.jlaef.84mu6.9m8lo.glob' 0v2.blsuf.uovnn.jlaef.84mu6.9m8lo] base+'groups' version+[6 0 2] website+'https://tlon.io' From e336b42af50540d4eebbc5e87c5a133660628dec Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Thu, 27 Jun 2024 14:29:11 -0500 Subject: [PATCH 2/3] activity: refine combined count for channels --- desk/app/activity.hoon | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/desk/app/activity.hoon b/desk/app/activity.hoon index dc92ab59e9..1b18504dab 100644 --- a/desk/app/activity.hoon +++ b/desk/app/activity.hoon @@ -100,7 +100,7 @@ =? old ?=(%2 -.old) (state-2-to-3 old) ?> ?=(%3 -.old) =. state old - cor + refresh-all-summaries +$ versioned-state $%(state-3 state-2 state-1) +$ state-3 current-state +$ state-2 @@ -899,7 +899,11 @@ notify-count (^add notify-count.sum notify-count.as) == =/ newest=time :(max newest.cs floor.reads top) - =/ total count.cs + =/ total + :: if we're a channel, we only want thread notify counts, not totals + ?: ?=(%channel -.source) + notify-count.cs + count.cs =/ notify-count notify-count.cs =/ main 0 =/ notified=? notify.cs From 9c71bc48de1cb4f5d8c59dcaa6713e8b182dbc54 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Thu, 27 Jun 2024 15:35:04 -0500 Subject: [PATCH 3/3] activity: learn how to comment Co-authored-by: fang --- desk/app/activity.hoon | 1 + 1 file changed, 1 insertion(+) diff --git a/desk/app/activity.hoon b/desk/app/activity.hoon index 1b18504dab..7d9f6e367b 100644 --- a/desk/app/activity.hoon +++ b/desk/app/activity.hoon @@ -901,6 +901,7 @@ =/ newest=time :(max newest.cs floor.reads top) =/ total :: if we're a channel, we only want thread notify counts, not totals + :: ?: ?=(%channel -.source) notify-count.cs count.cs