webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Page Builder - Allow Category module customization

Open Pavel910 opened this issue 3 years ago • 3 comments

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 to api-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.

Pavel910 avatar Jul 06 '21 17:07 Pavel910

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.

webiny-bot avatar Sep 10 '21 07:09 webiny-bot

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.

webiny-bot avatar Feb 20 '22 07:02 webiny-bot

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.

webiny-bot avatar Jun 21 '22 07:06 webiny-bot