Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%activity agent #3219

Merged
merged 19 commits into from
Mar 5, 2024
Merged

%activity agent #3219

merged 19 commits into from
Mar 5, 2024

Conversation

midsum-salrux
Copy link
Collaborator

@midsum-salrux midsum-salrux commented Feb 8, 2024

PR Checklist

  • Includes changes to desk files
  • Describes how you tested the PR locally (test ship vs livenet)
  • If a new feature, includes automated tests
  • Comments added anywhere logic may be confusing without context

@midsum-salrux midsum-salrux changed the title Ns/activity agent %activity agent Feb 8, 2024
midsum-salrux and others added 9 commits February 15, 2024 12:09
We also implement logic for finding the "floor", timestamp of oldest
unread activity, for a certain category (everything, or a specific
thread).

(The reader should also note that the struggle with "time id" types
continues...)
desk/sur/activity.hoon Outdated Show resolved Hide resolved
[%club p=id:club]
[%club p=@uvH]
==
+$ timid time
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just time-id?

^- (unit (unit cage))
?+ pole [~ ~]
[%x ~]
``activity-full+!>([stream indices])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would maybe add unreads summary to this

desk/desk.bill Outdated
@@ -7,5 +7,6 @@
%groups-ui
%channels
%channels-server
%activity
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should probably leave it out and turn it on manually until we're ready for it to run in production. This won't be released for a while but it would be nice to let it flow through the release pipeline, but not be on by default.

Comment on lines 4 to 6
++ eon ((on time event) lte)
++ emp ((mp time event) lte)
++ mep ((on time event-parent) lte)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might need clearer names here

@arthyn
Copy link
Member

arthyn commented Feb 28, 2024

overall this looks good, I think we can address some of the comments here and get a test thread then move on to integrating it, because that's where will find real issues.

Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, good to see tests! let's move on to integrating

@midsum-salrux midsum-salrux merged commit 05c14c3 into develop Mar 5, 2024
1 check passed
@midsum-salrux midsum-salrux deleted the ns/activity-agent branch March 5, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants