silvershop / silvershop-core

SilverShop is an e-commerce shopping cart module for the SilverStripe CMS
http://silvershop.github.io
BSD 2-Clause "Simplified" License
113 stars 119 forks source link

FEAT: Add new VisibleToCustomer flag to OrderStatusLog #736

Closed madmatt closed 4 years ago

madmatt commented 4 years ago

Should be backwards-compatible. Includes an upgrade task that correctly sets the flag for old records

codecov-io commented 4 years ago

Codecov Report

Merging #736 into master will decrease coverage by 0.14%. The diff coverage is 26.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #736      +/-   ##
============================================
- Coverage     46.08%   45.94%   -0.15%     
- Complexity     1568     1572       +4     
============================================
  Files           115      115              
  Lines          4550     4575      +25     
============================================
+ Hits           2097     2102       +5     
- Misses         2453     2473      +20
Impacted Files Coverage Δ Complexity Δ
src/Model/OrderStatusLog.php 30.43% <0%> (-19.57%) 16 <3> (+3)
src/Model/Order.php 57.5% <100%> (+0.17%) 60 <0> (ø) :arrow_down:
src/Checkout/OrderEmailNotifier.php 69.81% <66.66%> (-0.19%) 21 <0> (+1)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a3070ab...90f8a6c. Read the comment docs.