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

MushroomObserver / mushroom-observer / 27105701459
98%

Build:
DEFAULT BRANCH: main
Ran 07 Jun 2026 09:48PM UTC
Jobs 1
Files 1438
Run time 2min
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

07 Jun 2026 09:44PM UTC coverage: 97.482% (+0.02%) from 97.461%
27105701459

push

github

web-flow
Phlexify rest of observations/namings + dismantle ObservationsHelper (#4458)

* Phlexify namings/{index,votes/index,votes/_table,_update_matrix_box}; header d-flex fix

Five conversions in the obs-show/namings domain plus a one-line
visual fix on the namings panel header:

- `Views::Controllers::Observations::Show::Namings::Header`:
  `COLUMN_BEHAVIOR` constant gains `d-flex` so the
  `flex-column justify-content-end` actually bottom-aligns the
  column-label text. Without `d-flex`, `.col` is not a flex
  container and the layout props are no-ops — the labels hover
  at the top of the row whenever "Community Vote" wraps to two
  lines on `sm`.

- `Views::Controllers::Observations::Namings::Index` replaces
  `namings/index.erb` — derives the consensus from the
  observation internally so the controller doesn't carry an
  `@consensus` ivar whose only job is to pass through.

- `Views::Controllers::Observations::Namings::Votes::Table`
  replaces `votes/_table.erb`. Renders the per-naming vote
  breakdown. Includes a NOTE explaining why
  `Components::Table` isn't used (mixed-shape rows + custom
  `table-naming-votes` styling). `String#%` is preferred over
  `format` throughout because `format` resolves to Phlex's
  `<format>` HTML element method inside a view scope.

- `Views::Controllers::Observations::Namings::Votes::Index`
  replaces `votes/index.erb`. Takes `naming:` only — Table
  derives consensus when not passed.

- `Views::Controllers::Observations::Namings::Votes::Modal`
  wraps the Table in `Components::Modal` for the turbo_stream
  modal response. Needs to live as a Phlex view (not inline at
  the controller) because `ActionController#render` treats a
  trailing block as a layout block rather than passing it to
  Phlex slot setters.

- The `_update_matrix_box.erb` turbo_stream partial (7
  turbo_stream actions: title swaps + modal dismissals + identify
  strip removal) is inlined as `render_update_matrix_box_streams`
  in `NamingsController` a... (continued)

287 of 289 new or added lines in 16 files covered. (99.31%)

2 existing lines in 1 file now uncovered.

44139 of 45279 relevant lines covered (97.48%)

765.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.67
app/views/controllers/observations/namings/votes/table.rb

Coverage Regressions

Lines Coverage ∆ File
2
96.97
-3.03% app/controllers/observations/namings/votes_controller.rb
Jobs
ID Job ID Ran Files Coverage
1 27105701459.1 07 Jun 2026 09:48PM UTC 1438
97.48
GitHub Action Run
Source Files on build 27105701459
  • Tree
  • List 1438
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27105701459
  • 29cd440d on github
  • Prev Build on 4466-allow-whitespace-delimiters-in-inat-importer (#27101544406)
  • Next Build on main (#27105860662)
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