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

MushroomObserver / mushroom-observer / 27614423117
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: njw-4529-image-provenance
DEFAULT BRANCH: main
Ran 16 Jun 2026 11:35AM UTC
Jobs 1
Files 1634
Run time 4min
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 Jun 2026 11:30AM UTC coverage: 97.114% (-0.7%) from 97.777%
27614423117

push

github

nimmolo
controllers: ERB→Phlex sweep for licenses, publications, interests, support, theme, policy, info, locations

Converts ~38 ERB action templates / partials across eight controller areas to Phlex view classes under `app/views/controllers/`. Each controller's implicit `render(:action)` is replaced with an explicit `render(Views::Controllers::<Area>::<Action>.new(...))`. The Phlex 2.4 prop contracts surface what each page actually consumes.

Highlights:

- locations/index moves the per-location observation count from inside the view (where it had been running an aggregated AR query) to a controller-side `known_observation_counts` helper, mirroring the existing `attach_undef_counts` shape used for the undefined-locations panel. The count is passed in as a typed `observation_counts` prop.
- theme: HTML was being built in `ThemeController` via `view_context.link_to(...).html_safe`. Pushed all of that into a new `Views::Controllers::Theme::SpeciesParagraph` Phlex view, with a `SpeciesRow` Data PORO replacing the raw Array tuples. The controller goes back to one-liner renders.
- `Components::Base` includes `Phlex::Rails::Helpers::NumberWithPrecision` so every Phlex view/component gets `number_with_precision` for free (used by donate-confirm amount formatting).
- `Components::Table` block arg renamed `tbl` (was `tab`) — `tab` collides with the `Tab::*` PORO concept.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

1037 of 1367 new or added lines in 66 files covered. (75.86%)

33 existing lines in 5 files now uncovered.

48967 of 50422 relevant lines covered (97.11%)

669.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
139
0.0
app/views/controllers/locations/help/show.rb
97
0.0
app/views/controllers/info/letter_to_community.rb
44
0.0
app/views/controllers/info/risd_terminology.rb
24
0.0
app/views/controllers/info/translators_note.rb
8
84.0
app/views/controllers/support/confirm.rb
5
83.33
app/views/controllers/info/site_stats.rb
3
95.31
app/views/controllers/interests/index.rb
3
93.88
app/views/controllers/publications/index.rb
3
93.18
app/views/controllers/publications/show.rb
1
96.67
-3.33% app/controllers/info_controller.rb
1
80.0
-20.0% app/controllers/locations/help_controller.rb
1
98.65
-1.35% app/controllers/publications_controller.rb
1
98.28
app/views/controllers/locations/index.rb

Coverage Regressions

Lines Coverage ∆ File
11
38.89
-61.11% app/helpers/licenses_helper.rb
10
87.3
-7.94% app/controllers/concerns/searchable.rb
6
70.0
-30.0% app/helpers/locations_helper.rb
5
86.67
-11.11% app/helpers/link_helper.rb
1
99.51
-0.49% app/helpers/forms_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 27614423117.1 16 Jun 2026 11:35AM UTC 1634
97.11
GitHub Action Run
Source Files on build 27614423117
  • Tree
  • List 1634
  • Changed 21
  • Source Changed 16
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27614423117
  • 22347d9f on github
  • Prev Build on main (#27581919426)
  • Next Build on nimmo-phlex-locations (#27614511778)
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