webiny-js
webiny-js copied to clipboard
Page Builder - Allow Category module customization
This is:
- Feature request
Detailed Description
We want to be able to add new fields to Page Builder Category module (both API and UI).
Action Items
- [ ] Add
CategoryPlugin
toapi-page-builder
(following the same principles as in the other models) - [ ] Add view plugins for each individual Category view:
CategoryFormViewPlugin
,CategoryDataListViewPlugin
- [ ] Refactor Category views using hooks (this is a smart thing to do while digging through that CRUD module)
- [ ] How-to guide on how to customize API and UI
Brainstorming
Ideally, each view would have its own view class with render
methods, which return React elements. We need this extra layer of control to allow developers to extend the base view, and add completely override or extend certain parts of the view.
We can also add support for route views override, but that would require the developer to completely reimplement React views. I'm not a huge fan of this approach.
If we have a class per view, that class can have very business-specific customizations in place, which will greatly simplify extension without reimplementing anything.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue is stale because it was opened 120 days with no activity. Remove the "stale-issue" label or leave a comment to revive the issue. Otherwise, it will be closed in 7 days.
This issue is stale because it was opened 120 days with no activity. Remove the "stale-issue" label or leave a comment to revive the issue. Otherwise, it will be closed in 7 days.