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

native: fix contact activity showing up in feed #4244

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

latter-bolden
Copy link
Member

OTT

Fixes TLON-3345 by always permitting contact update events to be included while bundling (irrespective of notify status).

Also updates the logic to include contact events in separate "activity bundles". Since we don't roll them up on the client, we need to treat them as distinct sources to avoid misrepresenting the timeline (similar to how we treat mentions).

Copy link

linear bot commented Dec 3, 2024

@@ -590,7 +590,7 @@
:: we only care about posts/replies events that are notified, and we
:: don't want to include events from sources whose latest event is
:: after the start so we always get "new" sources when paging
?. ?& notified.event
?. ?& ?|(notified.event ?=(%contact -<.event))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like this circumvents the intended logic, but @arthyn approved this for now.

Copy link
Member

Choose a reason for hiding this comment

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

yeah I think this is an ok compromise for now. what we really want are volume settings related to "where" an activity item should show up like unreads, feed, push notifications, etc. we had talked about it when first building activity, but it had already gone long so we decided to go with what we have.

Copy link
Collaborator

@mikolajpp mikolajpp left a comment

Choose a reason for hiding this comment

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

One nit, otherwise is good to go.

desk/app/activity.hoon Outdated Show resolved Hide resolved
@mikolajpp
Copy link
Collaborator

Last commit fixed it, merging!

@mikolajpp mikolajpp merged commit bcbfcb2 into staging Dec 4, 2024
1 check passed
@mikolajpp mikolajpp deleted the lb/contact-activity-notify branch December 4, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants