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

MushroomObserver / mushroom-observer / 26316311962
96%
main: 99%

Build:
Build:
LAST BUILD BRANCH: nimmo-modal-close-button
DEFAULT BRANCH: main
Ran 22 May 2026 11:13PM UTC
Jobs 1
Files 1005
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

22 May 2026 11:09PM UTC coverage: 96.392% (+0.004%) from 96.388%
26316311962

Pull #4320

github

nimmolo
Inline filter form: shared Phlex component + visual_groups refactor

Two GET-method filter forms in the codebase had similar structure
but drifted Bootstrap-class details:

- field_slips/index — autocompleter filter by project
- visual_groups/edit — text filter for image list

Extract the shared shell into `Components::InlineFilterForm` —
canonical Bootstrap-3 layout owned in one place:

- `.form-inline` on the `<form>` element (per BS3 spec, not on a
  child div)
- `.d-flex.gap-2.align-items-end` row inside so children align to
  the input's baseline regardless of whether the field carries a
  label-on-top stack (autocompleter widgets do; plain inputs may)
- Single source of truth for future inline filter forms

Callers pass `url:`, `submit_text:`, an optional `form_id:`, and a
block that receives the Rails FormBuilder for rendering the field
type appropriate to that page.

Visual-groups filter — combined into one proper form

The status (Included / Excluded / Needs Review) selector was three
separate `<a>` link toggles, separate from the text-filter form.
Rolled both into one `<form>` so:

- Status submit buttons (`name=status value=<s>`) carry the current
  filter text along when clicked
- A hidden `status` field (placed FIRST in DOM) preserves the
  current status when the text-input's submit button is clicked.
  Rails' last-value-wins parsing means a status button's value
  (later in DOM) wins when both are sent.

Reordered "Needs Review" to first position (it's the default).
The active button is rendered as `<span class="btn ... active
disabled" aria-disabled="true">` — non-clickable but visually
selected so users see the current state without a useless click
target. New "Filter text" label distinguishes the input from the
form-wide "Filter Options" heading. Reload button (only on
needs_review) stays as a separate JS-reload link.

`.btn-outline-default.disabled` color fix

BS3's default `.btn.disabled` applies `opacity: 0.65` which greys
out the... (continued)
Pull Request #4320: Inline filter form component + visual_groups filter refactor

10 of 10 new or added lines in 1 file covered. (100.0%)

38788 of 40240 relevant lines covered (96.39%)

663.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26316311962.1 22 May 2026 11:13PM UTC 1005
96.39
GitHub Action Run
Source Files on build 26316311962
  • Tree
  • List 1005
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26316311962
  • Pull Request #4320
  • PR Base - main (#26312707761)
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