Skip to content

fix(feed): drop redundant added/modified breakdown from sync rows - #1911

Merged
canalesb93 merged 1 commit into
mainfrom
claude/awesome-lovelace-5iduy7
Jun 24, 2026
Merged

fix(feed): drop redundant added/modified breakdown from sync rows#1911
canalesb93 merged 1 commit into
mainfrom
claude/awesome-lovelace-5iduy7

Conversation

@canalesb93

@canalesb93 canalesb93 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Closes #1910.

What

In the home timeline feed (/), each sync row showed an added/modified chip breakdown ("• 1 added • 1 modified") directly under the headline. The headline already states the primary count — "1 new transaction", "3 transactions updated", "2 transactions removed" — so repeating it as chips is redundant noise.

This is the issue's exact ask: "we don't need to show added / modified as generally the event title has enough context."

Change

feedSyncBody in internal/templates/components/pages/feed.templ:

  • Removed the added / modified / removed count chips.
  • Kept the trigger context (manual run, webhook, first sync) — that is not in the headline, so it is genuinely additive. It now renders on its own gated line, without the orphaned leading separator it used to inherit from the chip row.
  • Counts remain one click away on the linked sync-log detail page (/logs/sync-logs/{id}), and the sample-transaction list below each row is untouched.

Net diff: 7 insertions, 13 deletions, one file.

Evidence

Captured at the issue's mobile viewport (402px wide, dark). Seed data covers every case: added+modified (the exact screenshot from the issue), added-only, modified-only + webhook trigger, and added+removed + manual trigger.

(Screenshots are linked rather than inlined — this PR is authored through an API layer that strips inline image embeds; the links open the JPEGs directly.)

The two red "Sync failed … unknown provider: teller" rows at the top of the captures are an artifact of the seed connections (no real Teller provider in the dev box) — unrelated to this change.

Validation

  • templ generate + go build ./... + go vet ./internal/templates/... — all clean.
  • Before/after rendered in headless Chromium against a local server with seeded sync logs.

The sync event headline already states the primary count ("1 new
transaction", "5 transactions updated"), so repeating it as a
"• 1 added • 1 modified" chip row directly below is redundant noise.

Remove the added/modified/removed chips from feedSyncBody. The trigger
context (manual run / webhook / first sync) is NOT in the headline, so
it stays — now on its own gated line without the orphaned leading
separator.

Closes #1910

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013p9DKQtNfzb4Jjsu2KXsYB
@canalesb93
canalesb93 merged commit 2d60950 into main Jun 24, 2026
8 checks passed
@canalesb93
canalesb93 deleted the claude/awesome-lovelace-5iduy7 branch June 24, 2026 05:36
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.

[Task] In the timeline feed, remove redundant information

2 participants