Skip to content
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

[sitecore-jss] [sitecore-jss-angular] Field metadata chromes in editMode metadata #1926

Merged
merged 8 commits into from
Sep 13, 2024

Conversation

stasmaxymov
Copy link
Contributor

Description / Motivation

This PR enables editing support for the fields in editing mode for editMode metadata. When a field is rendered in metadata mode it will be surrounded with open and close code elements with metadata content. This elements indicate location of the field and provide required metadata to enable editing in editor applications like Pages.
The fields with this functionality are:

[sitecore-jss-angular] image.directive.ts
[sitecore-jss-angular] date.directive.ts
[sitecore-jss-angular] rich-text.directive.ts
[sitecore-jss-angular] text.directive.ts
[sitecore-jss-angular] link.directive.ts
[sitecore-jss-angular] router-link.directive.ts
[sitecore-jss-angular] generic-link.directive.spec.ts

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Copy link
Contributor

@art-alexeyenko art-alexeyenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Stas!
The implementation is solid and I left a few comments about unit tests.

Copy link
Contributor

@art-alexeyenko art-alexeyenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks 👍 Just one small addition and merge conflict to resolve and it's fully ready.

@art-alexeyenko art-alexeyenko merged commit 6d1a803 into dev Sep 13, 2024
1 check passed
@art-alexeyenko art-alexeyenko deleted the feature/JSS-3506 branch September 13, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants