adobe / adobe/aem-project-archetype

Limitation of components authoring in the React and Angular included projects

Open
#560 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

The pages created in the React and Angular frontendModule projects allow only Text and Layout Container components to be authored. All the other components(made available by editing the page policy) are not being rendered upon selection in the page to be authored.

The archetype command for the frontendModule **react** project creation:
```
mvn archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=24 -DappTitle="Archetype 24 Test Site React" -DappId="archetype24TestSiteReact" -DgroupId="com.archetype24TestSiteReact" -DartifactId="archetype-24-test-site-react" -DfrontendModule=react
```

The archetype command for the frontendModule **angular** project creation:
```
mvn archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=24 -DappTitle="Archetype 24 Test Site Angular" -DappId="archetype24TestSiteAngular" -DgroupId="com.archetype24TestSiteAngular" -DartifactId="archetype-24-test-site-angular" -DfrontendModule=angular
```

Here is a snapshot of the allowed components in the pages after the project creation:
![frontendModule-error](https://user-images.githubusercontent.com/59619809/100087027-29f5f100-2e74-11eb-9246-94529c27a360.PNG)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by generating the React and Angular frontendModule projects with the Maven archetype commands in the report. Check whether components beyond Text and Layout Container, after being enabled in the page policy, render in the authoring page; done means the available components can be selected and rendered in both generated projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.