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

MushroomObserver / mushroom-observer / 26446262574
96%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 10:18AM UTC
Jobs 1
Files 1009
Run time 3min
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

26 May 2026 10:14AM UTC coverage: 96.415% (+0.001%) from 96.414%
26446262574

push

github

web-flow
observations: move 6 forms to Views/ (#4357)

* observations: move 6 forms to Views/

Per #4331. Six single-use observation forms move; two flagged in the
audit (LightboxObservationTitle, MatrixBoxTitle) stay because they
also render from reusable components (LightboxCaption, MatrixBox).

| Old | New |
|---|---|
| Components::IdentifyFilterForm | Views::Controllers::Observations::Identify::Form |
| Components::ImageEditForm | Views::Controllers::Observations::Images::Form |
| Components::ImportedSourceBanner | Views::Controllers::Observations::ImportedSourceBanner |
| Components::NamingForm | Views::Controllers::Observations::Namings::Form |
| Components::ObservationForm | Views::Controllers::Observations::Form |
| Components::ObserverQuestionForm | Views::Controllers::Observations::Emails::Form |

Notes-panel mixin follows ObservationForm:
`app/components/observation_form/notes_panel.rb` →
`app/views/controllers/observations/form/notes_panel.rb`
(class becomes `Views::Controllers::Observations::Form::NotesPanel`).

Tests moved and namespaced to match. 364 tests pass (34 view +
330 controller, including all `observations/*` nested controllers).

The `IdentifyFilterForm` keeps its explicit `id: "identify_filter"`
override — the navbar search Stimulus controllers depend on that
specific DOM id, and the new all-segments heuristic would yield
`observation_identify_form` otherwise. `NamingForm` keeps its
dynamic per-naming id (`obs_<id>_naming_<n>_form`) so multiple
namings on one obs can render without colliding.

Stays in `app/components/` (audit was imprecise — rendered by
reusable components):
- LightboxObservationTitle (used by LightboxCaption)
- MatrixBoxTitle (used by MatrixBox)
- Carousel components (carousel_thumbnail, form_carousel,
  form_carousel_item) — planned reuse in other model forms.

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

* Update NamingFields + NamingReasonsFields tests for moved NamingForm

`Components::N... (continued)

348 of 351 new or added lines in 15 files covered. (99.15%)

38993 of 40443 relevant lines covered (96.41%)

664.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
93.88
app/views/controllers/observations/namings/form.rb
Jobs
ID Job ID Ran Files Coverage
1 26446262574.1 26 May 2026 10:18AM UTC 1009
96.41
GitHub Action Run
Source Files on build 26446262574
  • Tree
  • List 1009
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26446262574
  • 7f52e977 on github
  • Prev Build on main (#26446260061)
  • Next Build on main (#26446270247)
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