Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48263 closed defect (bug) (fixed)

Block Editor: Remove experimental Social Links blocks

Reported by: gziolo Owned by: gziolo
Priority: normal Milestone: 5.3
Component: Editor Version: 5.3
Severity: normal Keywords: has-patch dev-feedback commit
Cc: Focuses: javascript, performance

Description (last modified by gziolo)

We decided to mark Social Links block as an experimental feature in Gutenberg. In effect, we are moving all related code from WordPress 5.3 release. This PR handles it.

I also tested whether removing Social Links blocks will have an impact on the size of code sent to the users.

I used wordpress-develop without gzip enabled.

Trunk/master

https://core.trac.wordpress.org/raw-attachment/ticket/48263/Screen%20Shot%202019-10-09%20at%2013.28.17.png
https://core.trac.wordpress.org/raw-attachment/ticket/48263/Screen%20Shot%202019-10-09%20at%2013.31.44.png

Patch/branch

https://core.trac.wordpress.org/raw-attachment/ticket/48263/Screen%20Shot%202019-10-09%20at%2013.21.39.png
https://core.trac.wordpress.org/raw-attachment/ticket/48263/Screen%20Shot%202019-10-09%20at%2013.23.26.png

Attachments (5)

social-links-blocks.diff​ (117.5 KB ) - added by gziolo 7 years ago.
Screen Shot 2019-10-09 at 13.21.39.png​ (78.9 KB ) - added by gziolo 7 years ago.
Diff - size of the document
Screen Shot 2019-10-09 at 13.28.17.png​ (80.4 KB ) - added by gziolo 7 years ago.
Trunk - size of the document
Screen Shot 2019-10-09 at 13.23.26.png​ (153.9 KB ) - added by gziolo 7 years ago.
Branch - size of JS files
Screen Shot 2019-10-09 at 13.31.44.png​ (140.0 KB ) - added by gziolo 7 years ago.
Trunk - size of JS files

Download all attachments as: .zip

Change History (15)

#1 @gziolo
7 years ago

  • Description modified (diff)

#2 @gziolo
7 years ago

  • Description modified (diff)

#3 @gziolo
7 years ago

  • Description modified (diff)

#5 @youknowriad
7 years ago

Do we need to remove the php files? I mean can't we just remove the includes. The issue I see if we remove the php files is that we might get a diff locally, each time we do npm install && npm run grunt build.

#6 @gziolo
7 years ago

Do we need to remove the php files? I mean can't we just remove the includes. The issue I see if we remove the php files is that we might get a diff locally, each time we do npm install && npm run grunt build.

You shouldn't experience this issue as long as the related PHP isn't whitelisted:
​https://github.com/WordPress/wordpress-develop/pull/107/files#diff-df0280933db62a33cd94973b5ec4871eL106

#7 @davidbaumwald
7 years ago

  • Milestone 5.3 → Future Release

With 5.3 RC1 releasing today and work still left on this ticket, it is being moved to Future Release. If any committer feels this can be worked in quickly for 5.3 or can assume ownership in 5.4, feel free to move it back up.

#8 @youknowriad
7 years ago

  • Milestone Future Release → 5.3
  • Type enhancement → defect (bug)

Actually, this is ready to ship and I forgot to approve. LGTM commit it @gziolo

#9 @youknowriad
7 years ago

  • Keywords commit added

#10 @gziolo
7 years ago

  • Resolution → fixed
  • Status assigned → closed

In 46543:

Block Editor: Remove experimental Social Links blocks

We decided to mark Social Links block as an experimental feature in Gutenberg. In effect, we are moving all related code from WordPress 5.3 release.

Props youknowriad.

Fixes #48263.

Note: See TracTickets for help on using tickets.