Repository navigation
Compatible environment configuration
⚠️ Breaking changes
Product compare moved to the Product Comparison module
Compare is no longer part of the theme: the /compare page, shared/compare, the compare menu items and the product_compare_enabled / product_compare_limit theme settings are removed.
Before upgrading the theme:
- Install
VirtoCommerce.ProductComparison3.1000.0 or later. - Set the store settings
ProductComparison.EnabledandProductComparison.MaxItems: the old theme settings are not carried over.
Compare lists saved in browsers before the upgrade are dropped. CSS: product-price-block__add-to-compare → product-price-block__action.
PR: #2635
Page frame and header markup
.main-layout__contentis gone: select#main-content, or use--vc-frame-header-offset-bottom,--vc-frame-footer-offset-topand--vc-frame-main-min-height. The footer sits inside.vc-frame__footer, so.main-layout > footerno longer matches.header/vc-header.vue→header/app-header.vue(AppHeader). The desktop and mobile headers are BEM blocks (.app-header,.mobile-header):_custom.scssrules on their utility classes (.sticky.top-0,.h-14) no longer match.- The mobile header is
position: sticky(wasfixed); its placeholderdivis removed.
PR: #2656
Organization switcher moved to its own header control
- The list left the account dropdown and opens from
[data-test-id="organizations-button"]: E2E selectors that look for it underaccount-menumust open the new menu first. top-header-organizations.vue→organization-list.vue;.top-header-organizations→.organization-list(__list→__scroll,__radioremoved).- A fork with its own
menu.jsonmust add theorganizationsitem toheader.desktop.main, or desktop users get no organization switcher. A custom header that rendersdesktopMainMenuItemsmust hide that item for single-organization users (isMultiOrganization). - New locale keys
shared.layout.header.top_header.search_organizationsandshared.layout.header.organization_switcher.trigger_label: forks with their own locales add them.
PR: #2667
Stricter ui-kit boundaries in fork builds
yarn buildfails on a deep import of a ui-kit file (@/ui-kit/components/atoms/button/vc-button.vue,import typeincluded): import from the ui-kit indexes.- A ui-kit component edited in a fork must not import the theme (
@/core,@/shared, generated GraphQL types,useThemeContext,useNotifications): use theVc*Typeglobals anduseUiKitOptions(). - Imports of packages missing from
package.json(e.g.@intlify/core-base) fail the build, even type-only. - A fork that edited
app-runner.tsmust keepsetLogger(Logger)at boot andapp.use(uiKit, { image: { thumbnails }, notifications }): without them thumbnails, the copy toast and kit logging silently stop working.
PR: #2666
Page templates and Page Builder sections
IPageTemplate/IPageContent→IThemePageDocument/IThemeItem(@/core/theme-snapshot). Every block in a fork'sconfig/product-default.jsonandconfig/product_b2c.jsonneeds atype;product_b2c.jsonalso needs"variationsLayout": "b2c".plugins/builder-preview/block-mapping.tsis removed,getBuilderOriginmoved to@/core/theme-snapshot,isPreviewMode→isDesignerPreview().#vc-theme-variablesis filled through the CSSOM: code that copies the<head>styles as HTML (a print window) takes the palette fromgetThemeVariablesCss().- Only registered section types render: a section a fork registered only with
app.componentmust be added totemplateBlocks(product blocks:ProductBlocks).
UI kit and constants
VcTable: clickable rows carryvc-table__row--clickableinstead ofcursor-pointer. PR: #2618VcLineItem: a selected item gets a 4pxprimary-500leading edge instead of thesecondary-50background;--vc-line-item-selected-edge-colorchanges it.cart-item-actionsloses itsselectedprop. PR: #2686MODULE_ID_OTPandOTP_ENABLED_KEYare removed fromcore/constants/modules.ts. PR: #2683
What's Changed
- feat(VCST-6290): give soft headings the design type scale by @vas11yev1work in #2655
- feat(VCST-6233): add VcTabSwitchGroup with a soft segmented look by @vas11yev1work in #2654
- fix(VCST-6570): harden Page Builder content rendering and preview by @ivan-kalachikov in #2626
- chore(deps): bump the actions group across 1 directory with 12 updates by @dependabot[bot] in #2665
- fix(VCST-6688): name the organization when requesting the MFA change code by @DmitryGrishinVirtoworks in #2648
- feat(VCST-6258): Sales Statistics on the account dashboard by @aavolko in #2625
- refactor(VCST-6493): let a kit parent's class win over the VcButton root by @goldenmaya in #2639
- feat(VCST-6876): decouple ui-kit from the theme by @vas11yev1work in #2666
- feat(VCST-6291): give VcTable its soft look by @vkrashenko in #2618
- feat(VCST-6292): give VcPagination its soft look by @vkrashenko in #2617
- feat(VCST-6744): add the VcFrame page frame and set its spacing for the soft design by @goldenmaya in #2656
- fix(VCST-6901): style the in-cart chip in the VcLineItems story by @vas11yev1work in #2675
- feat(VCST-5918): move product compare into the product comparison module by @yuskithedeveloper in #2635
- chore(deps): bump google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml from 2.7.0 to 2.7.1 in the actions group by @dependabot[bot] in #2681
- chore(VCST-5918): install the Product Comparison module in the backend packages by @yuskithedeveloper in #2684
- chore: switch the Atlassian MCP server to the v2 endpoint by @ivan-kalachikov in #2687
- feat(VCST-6572): storefront Site Builder for Release #1 by @ivan-kalachikov in #2630
- feat: report GraphQL request timeouts to Application Insights by @vkrashenko in #1729
- VCST-6129: Pin VirtoCommerce/.github to v3.1000.11, vc-build via setup-vcbuild@stable by @AndrewEhlo in #2682
- feat(VCST-6886): mirror client-app/ui-kit into the vc-frontend-ui-kit repository by @vas11yev1work in #2693
- fix(VCST-6950): exchange the Site Builder preview auth code on the storefront host by @ivan-kalachikov in #2689
- fix(VCST-6949): keep static-content text readable on the dark gray background in dark mode by @ivan-kalachikov in #2688
- feat(VCST-6963): custom section types for Site Builder by @ivan-kalachikov in #2690
- feat(VCST-6958): selected line item — leading edge instead of a tinted background by @godothor in #2686
- test(builder-preview): import the plugin statically in the add-block test by @ivan-kalachikov in #2699
- feat(VCST-6169): show OTP when the store enables it by @artem-dudarev in #2683
- feat(VCST-6237): give the organization switcher its own header control by @goldenmaya in #2667
- fix(VCST-6117): return focus from the share dialog and open delete confirmations on Cancel by @vkrashenko in #2677
- fix(VCST-6679): drop the white box behind the branch search input by @vkrashenko in #2680
- feat: expose the app version in a version meta tag by @Andrew-Orlov in #2702
- chore: update graphql types and backend packages by @vas11yev1work in #2705
New Contributors
Full Changelog: 2.62.0...2.63.0