WIP: Social links block.#14855
WIP: Social links block.#14855v9ai wants to merge 17 commits intoWordPress:masterfrom v9ai:block/social-links
Conversation
|
I haven't tested it in the editor yet, but we should follow #14770 and add a |
|
@NicolaD thanks for taking this on! I tried testing this PR and couldn't get through it. Here's a screencast of my experience. I'm also aware this is probably a work in progress so feel free to ignore my comments right now. A couple design notes:
|
Thank you for review, had added |
Yes, it is in progress. Was a little busy and did not had the chance to make a lot of things here. Will have more time upcoming days and will try to do more. |
Looks good, |
…block/social-links
|
|
||
| icon, | ||
|
|
||
| category: 'layout', |
There was a problem hiding this comment.
What will be the better category fit?
|
Thanks @Soean, updated. |
|
I think the icon shouldn't be the Facebook logo, as people would think it is a Facebook-specific block. Instead, I recommend replacing it with a Share icon. |
| return { | ||
| addLink() { | ||
| const created = createBlock( 'core/social-link', { verticalAlignment: 'top' } ); | ||
| dispatch( 'core/editor' ).insertBlock( created, undefined, clientId ); |
There was a problem hiding this comment.
Hello @gziolo, on this action I want to create a sub-child, for some reason it won't fire the needed result.
I am not sure what I am doing wrong here.
There was a problem hiding this comment.
It seems that insertBlock isn't the best approach here, tried a different solution, based of columns block approach: 792401a
|
As this had needs design feedback, I thought I would give the current PR a go. I am not sure if something went wrong as the experience I don't think was what intended. For example on loading I saw this: Then I get: I'd be happy to test again but I do think either something is a little weird my end or the PR needs a little nurturing. If this is a 'me' issue, I would be happy to review based on screenshots of the flow. |
|
hey @karmatosed, you're right - this PR needs a little bit of nurture since it's still a work in progress. I will let you know when it's ready to be reviewed. Thanks. |
|
@NicolaD here is a quick GIF demo of what I have currently in place. I put that together prior to seeing the prototype from #1873 I have it as a separate plugin which is pretty rough with the interactions. I can put it up somewhere if we want iterate, but after looking at the prototype in that issue and your work, maybe I can combine the two efforts to some degree |
|
@NicolaD if it is alright with you, I'm going to combine our efforts, though I'm not quite sure how. |




Description
Implements: #1873
References
slack discussion
Prototype
How has this been tested?
Screenshots
Types of changes
Checklist: