0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-solved/spec/lib/discourse_solved
David Battersby 524e44794c
FIX: prevent empty QA Page schema in Solved (#40471)
Fixes a gap where the crawler's `qa_page_schema?` gating emits an empty
QAPage on topics whose only replies had no real text.

The QAPage/answer schema in Discourse Solved now consistently excludes
textless posts (onebox/image/emoji-only replies) across all paths by
routing every eligibility check through a single shared
`SchemaUtils.eligible_answer?`
2026-06-02 22:43:49 +08:00
..
schema_utils_spec.rb
seed_admin_dashboard_reports_spec.rb