-
Notifications
You must be signed in to change notification settings - Fork 467
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
chore(edit-content): Basic Relationship field Layout #30794
chore(edit-content): Basic Relationship field Layout #30794
Conversation
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.
Copilot reviewed 5 out of 18 changed files in this pull request and generated no suggestions.
Files not reviewed (13)
- core-web/libs/dotcms-scss/shared/_colors.scss: Language not supported
- core-web/libs/edit-content/src/lib/components/dot-edit-content-field/dot-edit-content-field.component.html: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/components/pagination/pagination.component.html: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/components/search/search.compoment.html: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/dot-select-existing-content.component.html: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/dot-select-existing-content.component.scss: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/dot-edit-content-relationship-field.component.html: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/dot-edit-content-relationship-field.component.scss: Language not supported
- dotCMS/src/main/webapp/WEB-INF/messages/Language.properties: Language not supported
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/dot-edit-content-relationship-field.component.ts: Evaluated as low risk
- core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/store/relationship-field.store.ts: Evaluated as low risk
- core-web/libs/edit-content/src/lib/models/dot-edit-content-field.enum.ts: Evaluated as low risk
- core-web/libs/edit-content/src/lib/components/dot-edit-content-form/utils.ts: Evaluated as low risk
Comments skipped due to low confidence (1)
core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/components/search/search.compoment.ts:1
- The filename and selector have a typo. It should be 'search.component.ts' and 'dot-search', respectively.
import { Component, inject, output } from '@angular/core';
…ure-for-edit-contentlet
Quality Gate passedIssues Measures |
…ure-for-edit-contentlet
…ure-for-edit-contentlet
…ure-for-edit-contentlet
…ure-for-edit-contentlet
Parent Issue
#30515
Proposed Changes
This pull request introduces a new
RELATIONSHIP
field type in the dotCMS content editing module. The most important changes include the addition of theDotEditContentRelationshipFieldComponent
, updates to theFIELD_TYPES
enum, and the creation of supporting components and stores for managing relationship fields.Introduction of
RELATIONSHIP
Field Type:core-web/libs/edit-content/src/lib/models/dot-edit-content-field.enum.ts
: AddedRELATIONSHIP
to theFIELD_TYPES
enum.New Components for Relationship Fields:
core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/dot-edit-content-relationship-field.component.ts
: CreatedDotEditContentRelationshipFieldComponent
to handle relationship fields.core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/dot-select-existing-content.component.ts
: AddedDotSelectExistingContentComponent
for selecting existing content.Supporting Stores and Utilities:
core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/store/relationship-field.store.ts
: CreatedRelationshipFieldStore
to manage state for relationship fields.core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/store/existing-content.store.ts
: AddedExistingContentStore
to manage state for selecting existing content.Template and Style Updates:
core-web/libs/edit-content/src/lib/components/dot-edit-content-field/dot-edit-content-field.component.html
: Updated template to includeRELATIONSHIP
field type.core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/dot-select-existing-content.component.html
: Added template for selecting existing content.core-web/libs/edit-content/src/lib/fields/dot-edit-content-relationship-field/components/dot-select-existing-content/dot-select-existing-content.component.scss
: Added styles for selecting existing content.Checklist
2024-11-28.14-18-18.mp4
This PR fixes: #30515