Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Recipe component #1218

Merged
merged 2 commits into from
Feb 11, 2025
Merged

Conversation

dlh01
Copy link
Member

@dlh01 dlh01 commented Feb 11, 2025

No description provided.

],
'recipe_background_color_dark' => [
'default' => '',
'label' => __( 'Recipe background color', 'apple-news' ),
Copy link

@scottnelle scottnelle Feb 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these dark colors need additional labeling to specify that they're for the dark variant (here and on line 1371, 1381, etc...)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In practice, they appear in a dedicated section of fields for dark mode.

}

// Second, try to find schema in the HEAD of the post on the frontend.
// Could check BODY as well, but the post content is already being scanned. That might be enough.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any update needed to this comment after testing in development?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the "serious" revision of the comment 😆 But I wanted to leave it because I don't really know whether it will be confirmed when actual sites start to use the feature and leave feedback about whether the schema is being picked up.

@dlh01 dlh01 merged commit e996a63 into release/2.7.0 Feb 11, 2025
11 checks passed
@dlh01 dlh01 deleted the feature/APPLE10-9/new-component branch February 11, 2025 20:17
Copy link
Member

@kevinfodness kevinfodness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🍣

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.

3 participants