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

Yoast / wordpress-seo / 03c3019b5c0bfcd83bfb7335e2e53dab022d9813

13 May 2026 12:18PM UTC coverage: 34.203%. First build
03c3019b5c0bfcd83bfb7335e2e53dab022d9813

Pull #23233

github

web-flow
Merge 925525a6d into a9e486240
Pull Request #23233: Update design of focus keyphrase field and improve validation messages

3218 of 10524 branches covered (30.58%)

Branch coverage included in aggregate %.

36 of 40 new or added lines in 6 files covered. (90.0%)

6115 of 16763 relevant lines covered (36.48%)

9.18 hits per line

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

0.0
/packages/js/src/components/EditorIntro.js
1
import classNames from "classnames";
2
import { ReactComponent as Yoast } from "../../images/yoast.svg";
3
import { __ } from "@wordpress/i18n";
4

5
/**
6
 * The introduction component for the editor.
7
 *
8
 * @param {Object} props The component props.
9
 * @param {boolean} props.withPromptForContentSuggestions Whether to show the prompt for content suggestions.
10
 * @param {boolean} props.isPost Whether the current post type is a post.
11
 * @param {string} props.children The children to render inside the component.
12
 * @returns {JSX.Element} The editor introduction component.
13
 */
NEW
14
export const EditorIntro = ( { withPromptForContentSuggestions, isPost, children } ) => {
×
15
        return <div className="yst-px-4 yst-pt-4">
×
16
                <Yoast className="yst-w-14 yst-text-primary-500" />
17
                { children }
18
                <p className={ classNames( "yst-text-slate-600 yst-mt-3", isPost ? "yst-mb-0" : "yst-mb-3" ) }>
×
19
                        { withPromptForContentSuggestions ? __( "Optimize your content for discovery or get new content suggestions.", "wordpress-seo" )
×
20
                                : __( "Optimize your content for discovery.", "wordpress-seo" ) }
21
                </p>
22
        </div>;
23
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc