Skip to content

Conversation

@tf
Copy link
Member

@tf tf commented Oct 15, 2025

REDMINE-21154

Entries can now use different schema.org types instead of being
hardcoded to Article. This allows representing content as AboutPage,
FAQPage, or other schema.org types that better match the entry's
purpose.

The registry system respects feature flags - types registered in
feature blocks are only available when the feature is enabled for
an entry.

REDMINE-21154
@tf tf added this to the v17.2 milestone Oct 15, 2025
tf added 3 commits October 16, 2025 08:37
Simplifies test setup by using the dedicated factory instead of
manually wrapping entries with PublishedEntry.new. The factory now
supports first_published_at to handle all test scenarios cleanly.

REDMINE-21154
Allow editors to choose between different Schema.org structured data
types for their entries. The selector appears in the general metadata
tab when multiple structured data types are configured.

The default article type is always available, and additional types can
be registered via the configuration system. The selector only appears
when more than one type is configured to avoid cluttering the UI for
the common single-type case.

REDMINE-21154
Implements FAQPage Schema.org structured data generation for entries
with question content elements. Allows search engines to display
rich FAQ results in search listings.

The implementation recursively extracts text from Slate.js JSON
structures used by question content elements and outputs valid
Schema.org FAQPage markup.

REDMINE-21154
Our feature tests using Capybara and Chromedriver are intermittently
failing with the following error:

  unknown error: unhandled inspector error:
  {"code":-32000,"message":"Node with given id does not belong to the document"}

This can usually be fixed by rerunning the tests.

This commit can be reverted once the issue is resolved.

teamcapybara/capybara#2800
@tf tf merged commit 54caf3c into codevise:master Oct 16, 2025
16 checks passed
@tf tf deleted the faq-page branch October 16, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant