Skip to content

Commit

Permalink
Jetpack AI: change image modals placeholders (#40504)
Browse files Browse the repository at this point in the history
* cleanup

* change placeholders on image generation modals
  • Loading branch information
CGastrell authored Dec 6, 2024
1 parent 549c75c commit b04da38
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Jetpack AI: change placeholders on image generation modals to try and improve styles discoverability
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ export default function AiImageModal( {
value={ style }
options={ styles }
onChange={ updateStyle }
// TODO: disable when necessary
// disabled={ isBusy || requireUpgrade }
/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export default function FeaturedImage( {
acceptButton={ acceptButton }
generateButtonLabel={ pointer?.current > 0 ? generateAgainText : generateText }
instructionsPlaceholder={ __(
"Describe the image you'd like to create, or have the prompt written for you if you've added content to your post.",
"Describe the featured image you'd like to create and select a style.",
'jetpack'
) }
imageStyles={ imageStyles }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,10 @@ export default function GeneralPurposeImage( {
handleNextImage={ handleNextImage }
acceptButton={ acceptButton }
generateButtonLabel={ pointer?.current > 0 ? generateAgainText : generateText }
instructionsPlaceholder={ __( "Describe the image you'd like to create.", 'jetpack' ) }
instructionsPlaceholder={ __(
"Describe the image you'd like to create and select a style.",
'jetpack'
) }
imageStyles={ imageStyles }
onGuessStyle={ guessStyle }
prompt={ prompt }
Expand Down

0 comments on commit b04da38

Please sign in to comment.