You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: end each related commit with its own dot - #1459
The "Related commits" section under a commit ran one continuous graph line through every related commit, as if they were a thread. They relate to the commit shown, not to each other, so each one now ends in its own dot, the same way the home feed draws its commits. #1454 does the same for hot topics and #1455 for search results.
Changes
RelatedCommitList draws each CommitCard with endsWithDot and no previousLane or graphAfter, the way commit-feed.tsx draws its cards. The laneOf import, which only the chaining used, is removed.
tests/Unit/StandaloneCommitGraphs.test.tsx now expects one end dot per related commit instead of a single dot below the last one.
BEFORE
AFTER
Summary by CodeRabbit
User Experience
Related commits now appear as independent cards, each ending with its own rail dot, rather than being connected in a chain.
No actionable comments were generated in the recent review.
Walkthrough
Related commit cards no longer form a linked chain. Each card now ends with a dot, and the related-commit test checks for one dot per commit.
Changes: Related commit rendering
Layer / File(s)
Summary
Render and verify independent commit cards resources/js/components/related-commits.tsx, tests/Unit/StandaloneCommitGraphs.test.tsx
The related-commit list renders each card with an ending dot and no longer passes the preceding commit’s lane or ID. The test expects three dots for three commits.
Related commits now render as independent cards with their own endpoints, and the updated regression test runs in CI. No actionable merge-blocking risk remains.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "fix: end each related commit with its own dot" matches the changeset. The raw summary says RelatedCommitList no longer chains related commits through lane and ID, and each card now ends wit…
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "fix: end each related commit with its own dot" matches the changeset. The raw summary says RelatedCommitList no longer chains related commits through lane and ID, and each card now ends with its own dot. The test was updated to expect one end dot per commit. The title is concise, specific, and states the primary change from the developer's perspective.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: c7201867-5574-4197-86c0-add075919a32
Commits
Reviewing files that changed from the base of the PR and between f2423d6 and c209b2b.
Files selected for processing: 2
resources/js/components/related-commits.tsx
tests/Unit/StandaloneCommitGraphs.test.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The "Related commits" section under a commit ran one continuous graph line through every related commit, as if they were a thread. They relate to the commit shown, not to each other, so each one now ends in its own dot, the same way the home feed draws its commits. #1454 does the same for hot topics and #1455 for search results.
Changes
RelatedCommitListdraws eachCommitCardwithendsWithDotand nopreviousLaneorgraphAfter, the waycommit-feed.tsxdraws its cards. ThelaneOfimport, which only the chaining used, is removed.tests/Unit/StandaloneCommitGraphs.test.tsxnow expects one end dot per related commit instead of a single dot below the last one.BEFORE
AFTER
Summary by CodeRabbit