Automattic / Automattic/jetpack

Jetpack AI Assistant: Hide or Disable Incompatible AI Options Based on Post Type Capabilities

Open
#43,204 0 comments 0 reactions 0 assignees View on GitHub
[Block] AI Assistant [Feature] AI [Plugin] Jetpack [Pri] Low [Status] Auto-allocated Bug Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

**Description:**

When using the Jetpack AI Assistant in the block editor for certain custom post types, such as *Social Notes*, some AI-generated features (e.g., title suggestions) appear in the UI but do not function correctly because the post type does not support those features.

For example, Social Notes don’t appear to support titles, yet title suggestions are still available and selectable via the Assistant. The generated titles may appear in the Jetpack sidebar UI but do not persist on publish. This creates confusion and a broken experience. Screenshot below:

---

![Image](https://github.com/user-attachments/assets/da35c4c7-ce87-4f1b-a3eb-df9d154e2e42)

---

**Steps to Reproduce:**

1. Create a new post using a custom post type that does **not** support certain post features (e.g., titles, excerpts).
2. Open the Jetpack AI Assistant in the sidebar.
3. Use features like “Generate title options.”
4. Observe that some options don’t apply or save correctly.

**Expected Behavior:**

The AI Assistant should respect the capabilities of the post type. If the post type doesn’t support a particular feature (like `title`, `excerpt`, `thumbnail`, etc.), then:
- The corresponding AI Assistant options should be hidden or disabled.
- If shown, a clear message should explain why the feature is unavailable.

---

Ref: 9665

Contributor guide

Open the contributing guide

Research direction

Start in the Jetpack AI Assistant in the block editor sidebar and trace how post-type capabilities determine which AI options are available. Reproduce the issue with Social Notes, then verify that unsupported title, excerpt, or thumbnail actions are hidden or disabled, or explain their unavailability clearly when shown.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.