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

kiva / ui / 29113820262
85%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 06:18PM UTC
Jobs 1
Files 427
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

10 Jul 2026 06:14PM UTC coverage: 85.167% (+0.03%) from 85.139%
29113820262

push

github

web-flow
feat: roll out AI loan pills across My Kiva, Checkout, and borrower profile (#7051)

* feat: roll out AI loan pills across My Kiva, Checkout, and borrower profile

Remove the experiment gate that kept AI loan pills dark in the ui repo so
pills now render whenever the backend returns them for a loan.

- Delete the ai-loan-pills-mixin plugin (and its spec), which hardcoded the
  feature off and owned the experiment enrollment/tracking. Enrollment
  continues to run on the combo page in cms-page-server, so no analytics is
  lost by removing it here.
- Drop the enableAiLoanPills/enableAILoanPills prop threaded through
  CheckoutPage -> EmptyBasketCarousel -> KvClassicLoanCardContainer and
  MyKivaPage -> MyKivaPageContent -> LendingCategorySection /
  BorrowerSideSheetWrapper -> BorrowerSideSheetContent -> SideSheetLoanTags.
  Pills now render unconditionally when present and fall back to the default
  loan callouts otherwise.
- Add a withAiPills(apollo, loans) helper that consolidates getLoansIds +
  fetchAiLoanPills + addAiPillsToLoans, skips the network request when there
  are no loans, and degrades gracefully to empty pills when the query fails.
- Show loans first, then enrich with AI pills in EmptyBasketCarousel and
  MyKivaPageContent so the pills query no longer blocks the grid/carousel.
- Fix a reactivity bug in BorrowerSideSheetContent: aiPills is now a ref so the
  async pills result actually re-renders, and guard the first result to avoid a
  crash on an empty response.
- Rename randomLoans -> suggestedLoans in EmptyBasketCarousel (data-testid
  preserved).
- Add specs for SideSheetLoanTags, KvClassicLoanCardContainer AI pills, and
  withAiPills covering the happy path, empty/null loans, and query failure.

* refactor: address AI loan pills PR feedback

- Fix util filename typo (aiLoanPIillsUtils -> aiLoanPillsUtils) and update imports
- Consolidate loan fallback into a single safeLoans constant in withAiPills
- Simplify redundant aiPills leng... (continued)

5724 of 6330 branches covered (90.43%)

Branch coverage included in aggregate %.

26 of 39 new or added lines in 7 files covered. (66.67%)

1 existing line in 1 file now uncovered.

43650 of 51643 relevant lines covered (84.52%)

34.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
56.31
-0.22% src/components/BorrowerProfile/BorrowerSideSheetContent.vue
3
66.04
0.82% src/components/Checkout/EmptyBasketCarousel.vue
3
58.04
-0.03% src/pages/MyKiva/MyKivaPageContent.vue

Coverage Regressions

Lines Coverage ∆ File
1
66.04
0.82% src/components/Checkout/EmptyBasketCarousel.vue
Jobs
ID Job ID Ran Files Coverage
1 29113820262.1 10 Jul 2026 06:18PM UTC 427
85.17
GitHub Action Run
Source Files on build 29113820262
  • Tree
  • List 427
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29113820262
  • 94fbc2d2 on github
  • Prev Build on main (#29040081739)
  • Next Build on main (#29121608769)
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