Skip to content

Regenerate option is being shown even though there’s no content yet. #391

@hemant7405

Description

@hemant7405

Description

ThisThis appears to be a UX issue: the “Regenerate” option is visible even when no content has been added. The button should be hidden or disabled until there is existing content to regenerate.

Step-by-step reproduction instructions

  1. Go to the Post
  2. Click add new post
  3. Click on the Title.
  4. You will see the regenerate options even though we haven't added yet anything.

Screenshots, screen recording, code snippet

Image

Environment info

  • WordPress: 7.0-RC2
  • Device: Windows 11
  • Browser: Chrome
  • Plugin: AI Dev plugin version 0.6.0
  • Theme: Twenty Twenty-Five

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except the AI plugin.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions