VCST-4500: Add methods to preview page in vc-frontend#208
Conversation
src/VirtoCommerce.ContentModule.Web/Scripts/blades/pages/page-detail.js
Outdated
Show resolved
Hide resolved
src/VirtoCommerce.ContentModule.Data/Services/ContentService.cs
Outdated
Show resolved
Hide resolved
src/VirtoCommerce.ContentModule.Web/Scripts/services/files-draft.service.js
Show resolved
Hide resolved
src/VirtoCommerce.ContentModule.Web/Scripts/blades/pages/page-detail.js
Outdated
Show resolved
Hide resolved
src/VirtoCommerce.ContentModule.Web/Scripts/services/files-draft.service.js
Show resolved
Hide resolved
src/VirtoCommerce.ContentModule.Web/Scripts/services/files-draft.service.js
Show resolved
Hide resolved
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.484
Timestamp: 12-01-2026T16:16:14
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.376
Timestamp: 13-01-2026T07:45:38
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.352
Timestamp: 19-01-2026T14:03:31



Description
References
QA-test:
Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-4500
Artifact URL:
https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.Content_3.837.0-pr-208-66a0.zip
Note
Adds support for working with content via encoded document IDs and updates UI flows accordingly.
IContentService/ContentService:GetFileContentAsync(string id)andGetItemStreamAsync(string id); ID parsing viaDocumentIdentifierHelperFullTextContentSearchServicenow retrieves items using_contentService.GetFileContentAsync(document.Id)instead of manually parsing IDspage-detail.jspreview opens storefrontdesigner-previewusingfiles-draft.getDocumentId(...); fallback dialog shown whenstoreUrlis missingfiles-draft.service.js: new helpersgetDocumentId,getRealFileName(uses draft/real filename logic)Written by Cursor Bugbot for commit 66a09b0. This will update automatically on new commits. Configure here.