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

charmbracelet / bubbles / 11264890257
45%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2024 11:59PM UTC
Jobs 1
Files 21
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

09 Oct 2024 11:59PM UTC coverage: 43.806% (-0.06%) from 43.865%
11264890257

push

github

web-flow
feat(list): implement GlobalIndex helper (#574)

* feat(list): implement GlobalIndex helper

This commit introduces a new `filteredItem` field called `index` which
stores the index of the filtered item in the unfiltered list. This
allows to get at runtime the unfiltered list index for the selected (and
possibly filtered) item.

This is the only solution I found to use `SetItem` with a filtered
list.

The name `GlobalIndex` might not be ideal, I'm happy to change it to
something else. (`UnfilteredIndex`?)

Fixes: #550

* docs(list): improve Index() documentation

1 of 8 new or added lines in 1 file covered. (12.5%)

1892 of 4319 relevant lines covered (43.81%)

82.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
46.33
-0.32% list/list.go
Jobs
ID Job ID Ran Files Coverage
1 11264890257.1 09 Oct 2024 11:59PM UTC 21
43.81
GitHub Action Run
Source Files on build 11264890257
  • Tree
  • List 21
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 171a9d61 on github
  • Prev Build on master (#11221690795)
  • Next Build on master (#11280988677)
  • 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

© 2025 Coveralls, Inc