Automattic / Automattic/jetpack

Blocks: Hiding vs overwriting saved content

Open
#14,854 1 comment 0 reactions 0 assignees View on GitHub
[Focus] Blocks [Pri] Low [Size] S [Type] Question Task
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

I noticed that in some blocks we replace the saved version of the blocks with a server side render (e.g. Calendly and OpenTable) whereas in others we append the server side render to the saved version and then hide the saved version (e.g. Eventbrite).

Is there a reason for taking one approach vs the other?

Contributor guide

Open the contributing guide

Research direction

Compare the Calendly, OpenTable, and Eventbrite block implementations to trace how each handles saved content and server-side rendering. Determine whether the different approaches are intentional, then record the rationale and expected behavior for each block so the inconsistency is explained or a follow-up change can be scoped.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.