Automattic / Automattic/jetpack

Sharing Block: add "Press This" option

Open
#38,932 1 comment 0 reactions 0 assignees View on GitHub
[Block] Sharing Button [Block] Sharing Buttons [Feature] Sharing [Plugin] Jetpack Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

It would be nice to implement a "Press This" sharing block, just like we have for the legacy sharing buttons:
https://github.com/Automattic/jetpack/blob/5c59a37f3d311bee32271f79622c2527f5afb6bb/projects/plugins/jetpack/modules/sharedaddy/sharing-sources.php#L2070-L2073

It would need to be added to `projects/plugins/jetpack/extensions/blocks/sharing-button/class-sharing-source-block.php`.

Contributor guide

Open the contributing guide

Research direction

Start in projects/plugins/jetpack/extensions/blocks/sharing-button/class-sharing-source-block.php and compare the existing sharing sources with the legacy Press This implementation in modules/sharedaddy/sharing-sources.php. Add the corresponding sharing-block option and verify that it appears and behaves like the other sharing buttons.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.