discourse/plugins/discourse-solved/spec/serializers
David Battersby 3b5874f94b
DEV: update solved schema for non text posts (#39253)
This change fixes missing schema fields for solved topics. Since
introducing the `suggestedAnswer` schema entry as part of the Solved
plugin, we are seeing issues with some emoji-only and image-only posts.

These non text posts lead to either `acceptedAnswer` or
`suggestedAnswer` items in the JSON-LD with "text": null, which Google
reports as "Missing field 'text'".

This change filters out posts that have no excerpt value and still
preserves written posts.
2026-04-16 19:42:48 +04:00
..
discourse_solved DEV: update solved schema for non text posts (#39253) 2026-04-16 19:42:48 +04:00
topic_answer_mixin_spec.rb
topic_view_serializer_spec.rb
user_card_serializer_spec.rb DEV: add service objects for accept_answer and unaccept_answer (#37878) 2026-03-04 12:34:37 +04:00
user_summary_serializer_spec.rb DEV: add service objects for accept_answer and unaccept_answer (#37878) 2026-03-04 12:34:37 +04:00