Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Helping out with the react-streamfield #3

Open
roelio opened this issue Oct 7, 2018 · 1 comment
Open

Helping out with the react-streamfield #3

roelio opened this issue Oct 7, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@roelio
Copy link

roelio commented Oct 7, 2018

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
Copy link
Contributor

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 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants