Automattic / Automattic/jetpack

Enhancement: Don't display the stripe warning in the inserter

Open
#30,591 0 comments 0 reactions 0 assignees View on GitHub
[Block] Donations [Block] Paid Content [Plugin] Jetpack Earn Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

The pattern/block inserter displays an admin-only message for connecting to stripe:
![image](https://github.com/Automattic/jetpack/assets/93301/9837823d-ce6f-4680-a782-d59be7fe8b87)

### How

Ideally this would only display in the editor canvas itself, not in the previews. It's only a temporary situation - an unfair preview, and in any case website viewers wouldn't see it.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the pattern/block inserter and the Stripe connection warning in the Jetpack codebase, comparing how the editor canvas and previews render the message. Done means the warning is absent from inserter previews but remains visible in the editor canvas.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.