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

MushroomObserver / mushroom-observer / 26946735949
98%

Build:
DEFAULT BRANCH: main
Ran 04 Jun 2026 10:44AM UTC
Jobs 1
Files 1373
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

04 Jun 2026 10:40AM UTC coverage: 97.002% (+0.005%) from 96.997%
26946735949

push

github

web-flow
ERB→Phlex: alt_descriptions panel + Descriptions::List view (#4437)

Three new Phlex views replace the two `_alt_descriptions_panel.html.erb`
partials and the inline iteration code they shared:

- `Views::Controllers::Descriptions::List` — renders the visible
  descriptions for a Name or Location as either `<div>`-wrapped
  items (default, matches the pre-Phlex names partial) or
  `<br>`-separated items (`separator: :br`, matches the locations
  partial's `safe_join(safe_br)` shape). Wraps the existing
  `DescriptionsHelper#list_descriptions` helper as a registered
  value-helper rather than re-implementing the filter / sort /
  link / mod-link chain inline — that chain composes 5+ helper
  methods (`reviewer?`, `in_admin_mode?`, `sort_description_list`,
  `make_list_links`, `DescriptionIconsHelper#description_mod_links`,
  etc.); per `.claude/rules/phlex_conversions.md`, helpers that
  themselves compose other helpers stay registered for now.
- `Views::Controllers::Names::Show::AltDescriptionsPanel` — panel
  chrome (Panel + create-description icon-link + empty-state
  message) rendering the List view.
- `Views::Controllers::Locations::Show::AltDescriptionsPanel` —
  same shape, plus the optional "create draft for project" row at
  the bottom when callers pass a `projects:` array. Uses `:br`
  separator to preserve the locations partial's pre-Phlex DOM.

Both show ERBs (`names/show.html.erb`, `locations/show.html.erb`)
switch from `render(partial: ...)` to
`render(Views::Controllers::...::AltDescriptionsPanel.new(...))`.

The two `_alt_descriptions_panel.html.erb` partials are deleted.
`list_descriptions` stays in `descriptions_helper.rb` (still called
internally by `Views::Controllers::Descriptions::List` and by
`tabs/observations_helper.rb#obs_name_description_tabs` until those
callers' parent contexts migrate to Phlex too).

5 component tests cover `Descriptions::List`'s div/br separator
modes and the empty-text fallback.

Co-authored-by: Claude O... (continued)

67 of 67 new or added lines in 3 files covered. (100.0%)

42287 of 43594 relevant lines covered (97.0%)

688.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26946735949.1 04 Jun 2026 10:44AM UTC 1373
97.0
GitHub Action Run
Source Files on build 26946735949
  • Tree
  • List 1373
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26946735949
  • 2628484d on github
  • Prev Build on main (#26946666492)
  • Next Build on main (#26950798156)
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