Skip to content

Latest commit

 

History

History
29 lines (29 loc) · 1.31 KB

2020-09-08-Upgrate-Rating-Components.md

File metadata and controls

29 lines (29 loc) · 1.31 KB
title issue author author_email author_github
Upgrade rating components
NEXT-10063
Marcel Brode
m.brode@shopware.com

Core

  • Changed Shopware\Core\Content\Product\SalesChannel\Review\ProductReviewRoute.php to aknowledge reviews active state again

Administration

  • Changed sw-review module
    • Added sidebar and refresh button for sw-review-list
    • Extracted star display into new component sw-rating-stars, which also can e.g. work with float values
    • Fixed a display bug in sw-review-detail, to break to long texts in headline & description
  • Removed unused snippet keys from src/Administration/Resources/app/administration/src/module/sw-review/snippet/de-DE.json:
    • sw-review.detail.messageSaveSuccess
    • sw-review.detail.buttonSave
    • sw-review.detail.buttonCancel
  • Removed unused snippet keys from src/Administration/Resources/app/administration/src/module/sw-review/snippet/en-GB.json:
    • sw-review.detail.messageSaveSuccess
    • sw-review.detail.buttonSave
    • sw-review.detail.buttonCancel

Storefront

  • Added float value handling for ProductReview handling of product detail page
  • Deprecated in \Shopware\Storefront\Page\Product\Review\RatingMatrix.php:
    • getTotalPoints() use getPointSum() instead
    • $totalPoints use $pointSum instead