Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gutenberg support #190
the theme I'm workin on currently will be a WordPress 5.0 theme, so I'm working local on nightly builds of WordPress beta. Because of selfdogfooding I'm supporting many of your indieweb related plugins by default. In case of post kinds I've noticed, that there (in Gutenberg) aren't any of the special form fields visible, to be able adding the url I'm responding to.
The other strange thing I noticed, after posting a bookmark (as mentioned above, without bookmark url), the post got the css class "kind-note". Does this happen because of the missing relation?
I'm wondering about your plans for Gutenberg. Will you release something for wp beta or do you start active development after the public release of WordPress 5.0?
BTW: If you need / want some help according to UI elements or the UX of this plugin, I'd love to get involved.
@chrisbergr Thank you for the request. Gutenberg is something of a worry for me, as I haven't quite figured out in my mind how it would work with the plugin. Post Kinds consists of a few elements
If you are using Gutenberg, I've made no modifications to ensure the behavior works. The taxonomy being set, which is what I assumed you did in Gutenberg, wouldn't trigger any of the other behavior.
I have been following Gutenberg a bit, but I haven't figured out how the block based philosophy would work with different Post Kinds. Because I'm not sure how that would work in the long run, I'm hedging my bets by working on Micropub integration so that, in the event Gutenberg causes major issues to integrate, people can use Micropub client apps to post to their sites while I figure it out.
Micropub integration is a great win. Beside that I bet the Classic Editor Plugin https://wordpress.org/plugins/classic-editor/ will grow it's installations count very high after the release of 5.0.
The Gutenberg block based editor is a great tool for writing articles. For all other post kinds it's a bit too much I think. 99% of all rsvp's, replies, bookmarks etc.. I'll not need multiple paragraph blocks, images, columns and so on. But it will be the new default way of writing in WordPress..
I can see if I find some time in the next couple days to povide you some sketches how the post kinds elements can be implemented into Gutenberg to get a great experience.
Just a little update:
Instead of just sketching my ideas I thought it would be better (according to your interest in this topic) to contribute some code.
With very little changes (https://github.com/chrisbergr/indieweb-post-kinds/tree/gutenberg) I got the meta boxes appear at the right sidebar of the editor. There are some problems now:
Maybe I can digg deeper into both, the post kinds plugin and the gutenberg editor. But hopefuly some gen 1 indieweb citizen got inspired by my observations and can solve this by a fraction of the time I would need to spend.
At the end, I'm just a designer :)