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

atsanna / Bonfire2 / 42597122180

09 Nov 2026 08:15AM UTC coverage: 78.396% (+0.1%) from 78.249%
42597122180

push

github

web-flow
feat(#825): search text from blocks (#868)

* feat(#825): search text from blocks

Admin search and content()->search() now match the title and a new
search_text column in place of the raw Markdown body. The parser fills it
with the body and every string inside a block (a map with a `type` in a
front matter list), each rendered to HTML and stripped to plain text, so
block-built pages are found and Markdown syntax and component attributes
are not. Components aren't expanded, so an embedded fragment's text stays
out of the page.

Fragment collections are left out of content()->search() unless one is
named. Admin search still finds them.

Installs must run `php spark migrate` and `php spark content:reindex`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(#825): match wrapped phrases and share the markup stripping

Collapse whitespace in the search text so a phrase is found across a
wrapped Markdown line. Keep one Markdown converter, since indexing now
converts every body and block string. Entry descriptions and search
text share Markdown::htmlToText().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

34 of 34 new or added lines in 8 files covered. (100.0%)

314 existing lines in 23 files now uncovered.

7838 of 9998 relevant lines covered (78.4%)

166.92 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.06
/src/Content/Controllers/EntryAdminController.php


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc