Skip to content

Block Generation for Universal Editor #8

@tarunrajaadobe

Description

@tarunrajaadobe

Is your enhancement related to a problem? Please describe.

The current block component creation is based on the doc-based EDS approach. It lacks the ability to generate JSON configuration code snippets for component-definition and component-models in the universal editor. This enhancement aims to address this issue.

Describe the solution you would like

The proposed solution is to allow users to choose between Universal Editor or Doc-Based before creating a block component. This choice will guide the creation of the block folder and the code skeleton for the component definition and model JSON snippets.

Describe alternatives you have considered

An alternative considered is to abstract component configuration to the block level. This involves creating separate model and definition JSON files in the block folder. This could enhance the developer experience, especially when using the Copilot extension, as it would automatically create the block's respective JSON files.

Additional context

Screenshot 2024-07-27 at 2 51 21 PM Screenshot 2024-07-27 at 2 54 48 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions