Merged
Conversation
Replaced conditional logic in ContentTypeRepository.cs and PageTypeRepository.cs with new extension methods: WithLinkedItemsAndWebPageData and WithLanguage. Added WithLanguage method to ContentItemQueryBuilderExtensions.cs. Added OrderByWebPageItemOrder and WithLinkedItemsAndWebPageData methods to ContentTypeParametersExtensions.cs. Updated using directives for CMS.DataEngine.
Introduce IWebPageUrlRetriever dependency to PageTypeRepository. Add UpdateWebPageUrls method to update web page URLs. Invoke UpdateWebPageUrls in various async methods. Update using directives to include System.Collections.ObjectModel.
Updated copilot-instructions.md to fix a typo and add a new guideline for using the built-in API of Xperience By Kentico. Upgraded SonarAnalyzer.CSharp to 10.5.0.109200, coverlet.collector to 6.0.4, and NUnit.Analyzers to 4.6.0 in Directory.Packages.props. Removed redundant null check in BaseRepository.cs. Updated XperienceCommunity.DataRepository.csproj and XperienceCommunity.DataRepository.Tests.csproj to include specific assets for the updated packages. Ensured consistency in packages.lock.json for the updated package versions across different .NET versions.
Two new extension methods have been added to retrieve GUIDs from collections of content item fields sources and web page fields sources. - In `IContentItemFieldsSourceExtensions.cs`, the method `GetContentItemGUIDs` retrieves content item GUIDs from a collection of `IContentItemFieldsSource` objects. - In `IWebPageFieldsSourceExtensions.cs`, the method `GetWebPageItemGuids` retrieves web page item GUIDs from a collection of `IWebPageFieldsSource` objects.
Modified PageTypeRepository.cs to set WebPageUrlPath to the AbsoluteUrl of the webpage link instead of the RelativePath. Updated XperienceCommunity.DataRepository.csproj to suppress warning code S3267 during the build process.
Ensure GUIDs are non-empty in TypeExtensions for AssetRelatedItem and WebPageRelatedItem. Add unit tests in IContentItemFieldsSourceExtensionsTests and IWebPageFieldsSourceExtensionsTests. Update TypeExtensionsTests with new tests and properties. Add CMS.MediaLibrary using directive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.