From 710ac10fb537ddac27803d12e30ea60059409225 Mon Sep 17 00:00:00 2001 From: richardkeep Date: Wed, 4 Nov 2026 09:37:56 +0300 Subject: [PATCH] fix: end each hot topic commit with its own dot --- resources/js/components/commit-search-results.tsx | 12 ++++++++++++ resources/js/pages/headline/show.tsx | 1 + 2 files changed, 13 insertions(+) diff --git a/resources/js/components/commit-search-results.tsx b/resources/js/components/commit-search-results.tsx index e653ba29c1..3f4cc9e892 100644 --- a/resources/js/components/commit-search-results.tsx +++ b/resources/js/components/commit-search-results.tsx @@ -12,11 +12,13 @@ export function SearchResults({ isWaiting = false, heading = 'Most relevant commits', empty = 'Try describing the idea in other words, or pick one of the searches below.', + isStandalone = false, }: { results: SearchResultSet | null; isWaiting?: boolean; heading?: string; empty?: ReactNode; + isStandalone?: boolean; }) { if (results === null) { return ( @@ -57,6 +59,16 @@ export function SearchResults({ ) : ( {results.commits.map((commit, index) => { + if (isStandalone) { + return ( + + ); + } + const previous = results.commits[index - 1]; return ( diff --git a/resources/js/pages/headline/show.tsx b/resources/js/pages/headline/show.tsx index fb659c9246..be6415108c 100644 --- a/resources/js/pages/headline/show.tsx +++ b/resources/js/pages/headline/show.tsx @@ -38,6 +38,7 @@ export default function Show({ results={{ term: name, commits }} heading="What nullers have been saying" empty="No matching commits from the past week." + isStandalone /> );