• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / github-pr-dashboard / 22077403403
56%

Build:
DEFAULT BRANCH: main
Ran 16 Feb 2026 09:03PM UTC
Jobs 1
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Feb 2026 09:02PM UTC coverage: 55.556%. Remained the same
22077403403

push

github

web-flow
feat: add lazy-loaded PR comment count component (#290)

* feat: add lazy-loaded PR comment count component

Introduce a new `CommentCount` component that provides a more accurate
total of comments by including review comments and the PR body.

- Use `useInView` to trigger data fetching only when the item enters the
  viewport.
- Calculate total count by summing `comments`, `review_comments`, and
  the PR description.
- Replace the static comment count in `PullRequestListItem` with this
  dynamic component.

```mermaid
sequenceDiagram
    participant List as PullRequestListItem
    participant CC as CommentCount
    participant Hook as usePullRequestDetail
    participant API as GitHub API

    List->>CC: Mounts with PR details
    CC->>CC: Monitor visibility (useInView)
    Note over CC: User scrolls to item
    CC->>Hook: Set isActive to true
    Hook->>API: Fetch full PR details
    API-->>Hook: Return comments & reviews
    Hook-->>CC: Update data
    CC->>List: Render total comment count
```

* Update src/components/CommentCount.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

9 of 11 branches covered (81.82%)

Branch coverage included in aggregate %.

31 of 61 relevant lines covered (50.82%)

2.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22077403403.1 16 Feb 2026 09:03PM UTC 3
55.56
GitHub Action Run
Source Files on build 22077403403
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22077403403
  • 7b41aa23 on github
  • Prev Build on main (#22054205229)
  • Next Build on main (#22090463018)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc