From 74ad58badaeed9fe4d1d4c70cb236a292d28c263 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 4 Mar 2026 15:14:06 -0600 Subject: [PATCH] fix: hide successful Preseem syncs from activity feed Only show failed Preseem syncs in the activity feed to reduce noise. Successful syncs happen every 10-20 minutes and clutter the dashboard without providing useful information to users. Users can still see all sync history (including successful syncs) in the Preseem integration settings page if needed. --- lib/towerops/activity_feed.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/towerops/activity_feed.ex b/lib/towerops/activity_feed.ex index 6050865f..5b8c5519 100644 --- a/lib/towerops/activity_feed.ex +++ b/lib/towerops/activity_feed.ex @@ -299,6 +299,8 @@ defmodule Towerops.ActivityFeed do query = from(sl in SyncLog, where: sl.organization_id == ^org_id, + # Only show failed syncs in activity feed, not successful ones + where: sl.status != "success", select: %{ id: sl.id, timestamp: sl.inserted_at,