adobe / adobe/aem-github-copilot

Block Generation for Universal Editor

Offen
#8 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
10
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Im Issue werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, den bestehenden Ablauf zur Erstellung von Block-Komponenten zu finden, und ermittle, wo die Auswahl Doc-Based, der Block-Ordner und die JSON-Snippets für component-definition/component-model ausgewählt und generiert würden. Als erledigt gilt die Aufgabe, wenn Benutzer Universal Editor oder Doc-Based auswählen und das jeweils passende Ordnergerüst sowie die JSON-Snippets erhalten können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
developer-experience, tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.