wagtail-deprecated / react-streamfield

Powerful field for inserting multiple blocks with nesting. (NO LONGER MAINTAINED - See Wagtail 2.13 Release Notes)
https://wagtail.github.io/react-streamfield/public/
35 stars 12 forks source link

Helping out with the react-streamfield #3

Open roelio opened 5 years ago

roelio commented 5 years ago

Hi @BertrandBordage,

We are extending the react-streamfield on https://github.com/stamkracht/react-streamfield. Already did some minor updates that gives us a bit more control through the blockDefinitions. We are manipulating the blockDefinition through get_definition so we didn't need todo any Python changes yet.

I've seen the RFC and a lot of it is stuff we can also use and I wonder if we can help you achieving those features? We have a lot of in-house experience with both Python and JS. It would be a shame if we do the same stuff but slightly different, so maybe you can give your thoughts on this.

BertrandBordage commented 5 years ago

That’s very nice of you @roelio!

I think the best you can do to help me is work on what’s not in the RFC and that will be very useful for you: being able to extend react-streamfield easily to use a customized version in Wagtail, and obviously to extend react-streamfield without using Wagtail.

Currently, as you probably saw, it’s almost impossible to customize one component without forking the repository.

Ideally, I would like this library to be highly customizable, like Material UI is. Unfortunately, I will not have enough time to do it in the upcoming year since my focus is merging it in Wagtail. So it’s going to stay tightly linked to Wagtail unless devs like you make a clean API for extending it.

Helping with the API will help you directly, as you’ll be able to do exactly what you want, and it will make the library more mature & generic :smile: