.vbw-planning/milestones/ui-fixes-and-smart-scraping/phases/01-ui-polish-and-bug-fixes/03-PLAN.md
Restructure the fetch event view model so the domain/URL leads the label.
Files:
lib/source_monitor/dashboard/recent_activity_presenter.rb — change fetch_event methodDetails:
label: "Fetch ##{event.id}", url_display: domainlabel: "#{domain} — Fetch ##{event.id}" where domain comes from source_domain(event.source_feed_url)"Fetch ##{event.id}" (no change)url_display and url_href from fetch events since URL is now in the headingAdjust the view to match the new heading structure. The URL display section below the heading can be removed for fetch events since the domain is now in the label.
Files:
app/views/source_monitor/dashboard/_recent_activity.html.erbDetails:
url_display block (lines 24-31) only renders if event[:url_display].present?url_display, this block won't render for fetchesurl_display so the block remainsFiles:
test/lib/source_monitor/dashboard/recent_activity_presenter_test.rbAcceptance: