Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark the Social Links plugin as experimental #17524

Closed
youknowriad opened this issue Sep 23, 2019 · 10 comments
Closed

Mark the Social Links plugin as experimental #17524

youknowriad opened this issue Sep 23, 2019 · 10 comments
Labels
[Block] Social Affects the Social Block - used to display Social Media accounts [Feature] Blocks Overall functionality of blocks [Priority] High Used to indicate top priority items that need quick attention

Comments

@youknowriad
Copy link
Contributor

The social links block is a great block but it's also a very recent addition.
I'm thinking we should give it more time to be used and polished in the plugin before making it available.

I'm proposing that we mark it as experimental (feature flag) in order to avoid including it in the upcoming WordPress 5.3 release.

cc @nicolad @mkaz @jasmussen thoughts?

@youknowriad youknowriad added [Feature] Blocks Overall functionality of blocks [Priority] High Used to indicate top priority items that need quick attention labels Sep 23, 2019
@jasmussen
Copy link
Contributor

Sure! No objections. I've tracked 4 tickets to improve around this, with testing and those fixed it'll be a good time to revisit.

@gziolo
Copy link
Member

gziolo commented Sep 23, 2019

We identified also some potential performance issues when connected with REST API logic as explained in this track issue: https://core.trac.wordpress.org/ticket/48079. It needs to be further investigated and fixed in core if confirmed.

@gziolo gziolo added the [Block] Social Affects the Social Block - used to display Social Media accounts label Sep 23, 2019
@mkaz
Copy link
Member

mkaz commented Sep 23, 2019

I'm fine marking as experimental, especially if there are potential issues. I'd rather get it in WP 5.3 but not if its going to problematic.

@gziolo is the performance issue related to Social Links, or that fact that it introduced a larger number of blocks making it more obvious?

@nicolad
Copy link
Member

nicolad commented Sep 23, 2019

I see that there are 2 experimental editor settings: __experimentalEnableLegacyWidgetBlock and __experimentalEnableMenuBlock .
Not 100% sure if __experimentalEnableLegacyWidgetBlock is the most appropriate flag for this case.

@jasmussen
Copy link
Contributor

I'm fine marking as experimental, especially if there are potential issues. I'd rather get it in WP 5.3 but not if its going to problematic.

Well this will still be testable in 5.3 no? You just have to fiddle ...

@gziolo
Copy link
Member

gziolo commented Sep 23, 2019

@gziolo is the performance issue related to Social Links, or that fact that it introduced a larger number of blocks making it more obvious?

It's an existing issue which gets more prominent since there are now 37 new blocks registered on the server.

@mkaz
Copy link
Member

mkaz commented Sep 24, 2019

@gziolo @youknowriad @jasmussen Would it be worthwhile to scale the number of child blocks down to 8 of the top social sites and then enable a filter or hook that allows people to extend to add more?

It kinds delays the issue of too many blocks during registration, but its a useful feature that would be great to launch and make available to users.

Top site icons I would include:

  1. WordPress
  2. Facebook
  3. Instagram
  4. Twitter
  5. YouTube
  6. Snapchat
  7. Email
  8. RSS

Open to suggestions.

@jasmussen
Copy link
Contributor

Would it be worthwhile to scale the number of child blocks down to 8 of the top social sites and then enable a filter or hook that allows people to extend to add more?

From what I gather there are two reasons to mark this experimental.

  1. It could benefit from (Social Links Block: Add additional flex-based alignments in the Inspector #17275, Social Links Block: Add sizing options #17276, Social Links Block: Allow plugins to add additional logos/social links #17277, Social Links Block: Allow plugins to change the default links inserted #17278) being fixed. None of those I consider blockers for launch, but still.
  2. There's a bug in the editor itself which moans over the amount of blocks registered. Since this registers a lot, and is new, it's the first on the chopping block.

Both of those are sort of "unfair", but such is software development. Triage literally means to select the patients that live. But in this case, with the added benefit that the Social Links block will live — it's just postponed.

In case the magic that Marcus proposes is quick to implement (probably means fixing #17278 right?) and, then I'd be super happy that we can create a canonical social links block. However if triage demands this one to be punted for the WordPress patient to live, I will absorb that and engage my patience :)

@youknowriad
Copy link
Contributor Author

I'm adding @mtias to the discussion.

The reason I think we should give it more time is not just about the issue @gziolo discovered. The main reason is I feel we shouldn't rush it because we may want to do breaking changes

  • Implementing extensibility for the block might require breaking existing content
  • Also, we've been thinking whether this could be a good first "Core" block that lives in the block directory instead of being bundled to experiment with that.

@jasmussen
Copy link
Contributor

I'm totally fine with that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Social Affects the Social Block - used to display Social Media accounts [Feature] Blocks Overall functionality of blocks [Priority] High Used to indicate top priority items that need quick attention
Projects
None yet
Development

No branches or pull requests

5 participants