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

MushroomObserver / mushroom-observer / 26790746995
97%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 12:35AM UTC
Jobs 1
Files 1221
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

02 Jun 2026 12:31AM UTC coverage: 96.808% (+0.03%) from 96.779%
26790746995

push

github

web-flow
Tab POROs: convert descriptions (10 single Tabs + helper cleanup) (#4416)

* Tab POROs: convert descriptions (10 single Tabs + helper cleanup)

Converts `tabs/descriptions_helper.rb` to 10 `Tab::Description::*`
single-tab POROs and deletes 3 helper files
(`tabs/descriptions_helper.rb` + `tabs/names/descriptions_helper.rb` +
`tabs/locations/descriptions_helper.rb`). Closes out the
descriptions side of the names/locations work that landed in #4411
and #4412.

10 single Tab POROs under Tab::Description::*

- Create, Edit, Clone, Merge, Move, AdjustPermissions, MakeDefault,
  Project, PublishDraft, NewForProject.

Each derives `type` (`:name`/`:location`) from the description's
parent — callers no longer pass it explicitly. Permission checks
(admin / writer / public-source / draft-status) move into the
calling helpers, not the POROs themselves.

Tab::NameDescription::FormEdit absorbs AdjustPermissions

The form_edit Collection now accepts `admin:` and appends
Tab::Description::AdjustPermissions when set. The ERB caller
(`names/descriptions/edit.html.erb`) computes
`@description.is_admin?(@user) || in_admin_mode?` and passes it in.
Replaces the helper-delegator append that previously lived in
`tabs/names/descriptions_helper.rb`.

Icon-link strip extracted

`description_change_links` (the inline Edit / Destroy / Clone /
Move / Merge / Adjust / MakeDefault / Project / Publish strip
shown in description panel headings) moves to a new top-level
`DescriptionIconsHelper` (`app/helpers/description_icons_helper.rb`)
along with the 6 supporting per-icon helpers. Kept as a helper
rather than a Collection because it composes `edit_button` /
`destroy_button` (which are not tabs) alongside tab POROs and
renders inline HTML, not a context-nav menu. New module so
`DescriptionsHelper` itself stays under the Metrics/ModuleLength
limit.

`descriptions_index_sorts` moves to top-level `DescriptionsHelper`
(used by both `names/descriptions/index.html.erb` and
`locations/descri... (continued)

173 of 173 new or added lines in 13 files covered. (100.0%)

41432 of 42798 relevant lines covered (96.81%)

669.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26790746995.1 02 Jun 2026 12:35AM UTC 1221
96.81
GitHub Action Run
Source Files on build 26790746995
  • Tree
  • List 1221
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26790746995
  • fb5e7c7d on github
  • Prev Build on main (#26790704702)
  • Next Build on main (#26791335673)
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