From fda1fb2bee4d820ef35b604a1ee0fca079b7fbf3 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 18 Feb 2026 04:35:42 +0530 Subject: [PATCH 01/10] Bug-1999558: Display complete commit message even when newline is absent (#1000) * Bug-1999558: Display complete commit message even when newline is absent This change ensures that single line commit messages with absent newlines are displayed correctly. If a newline is present in the message summary, then it is treated as the commit message. If no newline is present in the message summary, then the entire summary is taken as commit message. A new test has been added to verify the change. The snapshots have been regenerated to reflect the changes. @kala-moz @davehunt Fixes [Bug-1999558](https://bugzilla.mozilla.org/show_bug.cgi?id=1999558) * Bug-1999558: Implement review comment Implement review comment by making the added comment into a multiline comment. * Bug-1999558: Implement review comments Remove Bug number from comment as suggested in review comment * Bug-1999558: Fix merge conflicts Fix merge conflicts by rebasing code over latest changes in main. --- .../CompareOverTime.test.tsx.snap | 2 +- .../CompareWithBase.test.tsx.snap | 2 +- .../SearchResultsList.test.tsx.snap | 228 +++++++++++++++++- .../__snapshots__/SearchView.test.tsx.snap | 4 +- src/__tests__/helpers.test.ts | 10 + src/__tests__/utils/fixtures.ts | 24 ++ src/utils/helpers.ts | 10 +- 7 files changed, 273 insertions(+), 7 deletions(-) diff --git a/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap b/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap index 9a80f1771..aeb23c114 100644 --- a/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap +++ b/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap @@ -2498,7 +2498,7 @@ exports[`Compare Over Time should update base repo, revisions and time-range aft - You've got two empty 'alves of coconuts and you're bangin' 'em togetha + You've got two empty 'alves of coconuts and you're bangin' 'em togetha!