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

MushroomObserver / mushroom-observer / 26519524675
97%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 03:06PM UTC
Jobs 1
Files 1022
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

27 May 2026 03:01PM UTC coverage: 96.436% (+0.02%) from 96.419%
26519524675

push

github

web-flow
species_lists: convert 5 ERB forms + action templates to Phlex (#4375)

* species_lists: convert uploads + observations forms to Phlex; delete dead checklist sub-partial

Two ERB → Phlex conversions, and a dead-code removal:

1. `species_lists/uploads/new.html.erb`'s inline `form_with` →
   `Views::Controllers::SpeciesLists::Uploads::Form`.
   Posts `species_list[file]` (multipart) to
   `SpeciesLists::UploadsController#create`. No controller-contract
   changes — the form binds to the existing `@species_list` model
   and `species_list[file]` matches what the controller already
   reads.

2. `species_lists/observations/_form.html.erb` →
   `Views::Controllers::SpeciesLists::Observations::Form`.
   Posts under `species_list[title]` (model-namespaced) instead of
   the previous top-level scalar `params[:species_list]`. The
   controller's `lookup_species_list_by_id_or_name` is unchanged —
   it accepts a title-string or a numeric id either way — but the
   param read centralizes into a new `species_list_query_param`
   helper that dig's the nested shape. Two helper / test sites also
   updated to the new shape (the link in
   `tabs/species_lists_helper.rb`, the controller test, and the
   `find_field` selector in the autocompleter system test).

3. Delete `species_lists/form/_fields_for_checklist.erb`. Audit
   confirms zero callers anywhere — `grep -rln "fields_for_checklist"`
   only matched the file itself.

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

* species_lists/downloads: convert report form to Phlex

`_form_species_list_report.html.erb` →
`Views::Controllers::SpeciesLists::Downloads::ReportForm`.

Posts under `species_list_report[format]` via a small new
`FormObject::SpeciesListReport` rather than the previous top-level
`params[:type]` scalar. The report form represents an operation
(format choice) not a model lookup, so a FormObject is the natural
binding. Controller's `@type` setter and the `make_report` case
state... (continued)

238 of 238 new or added lines in 18 files covered. (100.0%)

1 existing line in 1 file now uncovered.

39206 of 40655 relevant lines covered (96.44%)

661.11 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.39
-1.61% app/helpers/tabs/species_lists_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 26519524675.1 27 May 2026 03:06PM UTC 1022
96.44
GitHub Action Run
Source Files on build 26519524675
  • Tree
  • List 1022
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26519524675
  • c6dba13d on github
  • Prev Build on main (#26503187301)
  • Next Build on main (#26519536024)
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