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

lonnieezell / Bonfire2 / 37839356080
57%

Build:
DEFAULT BRANCH: develop
Ran 08 Oct 2026 08:30PM UTC
Jobs 1
Files 150
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

08 Oct 2026 08:25PM UTC coverage: 53.186% (+4.4%) from 48.83%
37839356080

push

github

web-flow
refactor(#584): give widgets one owner for enabled, dashboard and settings (#590)

* tests(#584): pin widget settings, chart script and dashboard behaviour

Characterise what the Widgets module does today, through the settings
controller, ChartsItem::getScript() and the dashboard cells, so the
deepening in the next commit can be checked against it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* refactor(#584): give widgets one owner for enabled, dashboard and settings

Add ItemSettings (an item's enabled flag and the names it is stored and
posted under), DashboardContext (is this the dashboard, and does this item
show; reached through service('dashboardContext') so tests can inject it
instead of faking current_url()) and WidgetOptions (Stats and per-chart-type
display options as data, driving save, reset and ChartsItem::getScript).

StatsItem, ChartsItem, Users/Module, the cell views, the settings view and
the settings controller ask them instead of building 'Stats.<Kind>_<id>' and
comparing current_url() by hand. Manager::items() replaces manager(), so
items of every collection are listed, not only the first. The Stats.* keys
stored in installs' databases are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* refactor(#584): simplify WidgetOptions and drop unused settings view params

Derive WidgetOptions' custom options from its type instead of passing them
in, share the save line between both loops, and look options up without
rebuilding the name list. Stop passing the unread 'widgets' variable to the
settings views.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(#584): mark widget ownership change as breaking and complete the test example

Item gained settings(), Manager::manager() became items() and the protected
$dashboardRoute properties are gone, so the changelog entry carries the
breaking-change marker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-b... (continued)

74 of 75 new or added lines in 9 files covered. (98.67%)

2 existing lines in 2 files now uncovered.

1828 of 3437 relevant lines covered (53.19%)

22.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
48.84
48.84% src/Widgets/Controllers/WidgetsSettingsController.php

Coverage Regressions

Lines Coverage ∆ File
1
92.68
71.85% src/Widgets/Types/Charts/ChartsItem.php
1
83.64
29.09% src/Widgets/Types/Stats/StatsItem.php
Jobs
ID Job ID Ran Files Coverage
1 PHP 8.2 - MySQLi - 37839356080.1 08 Oct 2026 08:30PM UTC 150
53.19
GitHub Action Run
Source Files on build 37839356080
  • Tree
  • List 150
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 245e1591 on github
  • Prev Build on develop (#37835748787)
  • Next Build on develop (#37848134273)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc