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

MushroomObserver / mushroom-observer / 26886934039
97%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 01:14PM UTC
Jobs 1
Files 1353
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

03 Jun 2026 01:10PM UTC coverage: 96.943% (+0.02%) from 96.925%
26886934039

push

github

web-flow
Tab POROs: sidebar batch (8 helpers, ~37 POROs) (#4427)

* Tab POROs: sidebar batch (8 helpers, ~38 POROs)

Converts all 8 tabs/sidebar/*.rb files to Tab::Sidebar::* POROs.
Drops the explicit Tabs::Sidebar::*Helper includes from
Views::Layouts::ApplicationSidebar and Views::Layouts::Sidebar::User,
and replaces the sidebar_*_tabs(...) calls with Tab Collections.

Per-domain POROs (37 single tabs + 8 Collections)

- Tab::Sidebar::Admin::{Jobs, BlockedIps, SwitchUsers, Users, Banners,
  Licenses} + AdminActions Collection (admin-only top section)
- Tab::Sidebar::{Login, Signup} + LoginActions Collection (logged-out
  top section)
- Tab::Sidebar::Indexes::{Glossary, Herbaria, Locations, Names,
  Projects} + IndexesActions Collection (user-only)
- Tab::Sidebar::Info::{MobileApp, Intro, HowToUse, Donate,
  HowToHelp, ReportABug, SendAComment, Contributors, SiteStats,
  TranslatorsNote, Publications, PrivacyPolicy} + InfoActions
- Tab::Sidebar::Latest::{News, Changes, Images, Comments} +
  LatestActions Collection (News always shown; rest user-only)
- Tab::Sidebar::Observations::{Latest, New, Yours, Identify} +
  ObservationsActions Collection (Latest always shown; rest user-only)
- Tab::Sidebar::SpeciesLists::{Yours, All, New} +
  SpeciesListsActions Collection (user-only)
- Tab::Sidebar::User::JoinMailingList + UserActions Collection
  (mobile-only sidebar user section; composes Tab::User::* +
  Tab::Account::* + the mailing-list tab)

Dead code dropped

- nav_qr_code_tab (tabs/sidebar/observations_helper.rb) — defined
  but never composed into sidebar_observations_tabs and not called
  anywhere else.

ApplicationSidebar refactor

Inlined `render_section` helper to keep `render_info_sections`
under Metrics/AbcSize after the Tab Collection insertions.
Sidebar/User view's `render_tabs` switched from `.compact.each` to
`.filter_map(&:to_a).each` (rubocop autocorrect; semantically
identical since Tab::Base#to_a never returns nil).

Tests

11 collection composi... (continued)

331 of 331 new or added lines in 49 files covered. (100.0%)

42241 of 43573 relevant lines covered (96.94%)

671.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26886934039.1 03 Jun 2026 01:14PM UTC 1353
96.94
GitHub Action Run
Source Files on build 26886934039
  • Tree
  • List 1353
  • Changed 6
  • Source Changed 6
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26886934039
  • 65222e92 on github
  • Prev Build on main (#26840638044)
  • Next Build on main (#26895067292)
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