adobe / adobe/aem-github-copilot

Block Generation for Universal Editor

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.