-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Add speaker component with Content Fragment support and update filters #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ | |
| "image", | ||
| "quote", | ||
| "search", | ||
| "speaker", | ||
| "tabs", | ||
| "table", | ||
| "text", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -364,6 +364,17 @@ | |
| } | ||
| ] | ||
| }, | ||
| { | ||
| "id": "speaker", | ||
| "fields": [ | ||
| { | ||
| "component": "aem-content", | ||
| "name": "fragmentPath", | ||
| "label": "Content Fragment Path", | ||
| "description": "Path to the Content Fragment containing speaker data" | ||
| } | ||
| ] | ||
| }, | ||
|
Comment on lines
+367
to
+377
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new model for the 'speaker' component appears to be a duplicate of the model defined in |
||
| { | ||
| "id": "table", | ||
| "fields": [ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the new 'Speaker' component definition is functionally correct, it seems to duplicate the configuration found in the new file
ue/models/blocks/_speaker.json. This can lead to maintenance issues if the two definitions diverge. If this duplication is not part of an automated build process, consider consolidating them into a single source of truth to improve maintainability.