Skip to content

VCST-4500: Add methods to preview page in vc-frontend#208

Merged
basilkot merged 7 commits intodevfrom
fix/VCST-4500
Jan 27, 2026
Merged

VCST-4500: Add methods to preview page in vc-frontend#208
basilkot merged 7 commits intodevfrom
fix/VCST-4500

Conversation

@basilkot
Copy link
Contributor

@basilkot basilkot commented Jan 8, 2026

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.

  • New overloads in IContentService/ContentService: GetFileContentAsync(string id) and GetItemStreamAsync(string id); ID parsing via DocumentIdentifierHelper
  • FullTextContentSearchService now retrieves items using _contentService.GetFileContentAsync(document.Id) instead of manually parsing IDs
  • UI: page-detail.js preview opens storefront designer-preview using files-draft.getDocumentId(...); fallback dialog shown when storeUrl is missing
  • UI: search index blade fixes and robustness (corrected blade ID, guard nulls, enable button only when index data exists)
  • files-draft.service.js: new helpers getDocumentId, getRealFileName (uses draft/real filename logic)

Written by Cursor Bugbot for commit 66a09b0. This will update automatically on new commits. Configure here.

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.484
Timestamp: 12-01-2026T16:16:14

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.376
Timestamp: 13-01-2026T07:45:38

OlegoO
OlegoO previously approved these changes Jan 19, 2026
@sonarqubecloud
Copy link

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

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.

Copy link
Contributor

@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.352
Timestamp: 19-01-2026T14:03:31

@basilkot basilkot merged commit c159195 into dev Jan 27, 2026
9 checks passed
@basilkot basilkot deleted the fix/VCST-4500 branch January 27, 2026 08:49
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