Skip to content

Commit 5929ea2

Browse files
bcomerfordBC-tymurbiedukhinbc-alexsaiannyiyurytut1993bdav87
authored
Cornerstone update 6.4.1 (#58)
* fix(storefront): BCTHEME-104 Selecting product options doesn't update image on PDP in Internet Explorer (bigcommerce#1913) * fix(storefront): BCTHEME-11 hide product options that are out of stock on cart (bigcommerce#1911) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-301 Header content placed out of the header block on mobile (bigcommerce#1908) (bigcommerce#1908) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-85 “Sort by” dropdown selection not reflected on search results page for News and Information tab (bigcommerce#1910) (bigcommerce#1910) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-86 Cornerstone - Text hover color does not change when Dropdown menu display mode is set to Alternative (bigcommerce#1918) (bigcommerce#1918) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-321 fix social icon tooltip overlaying (bigcommerce#1914) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * Resolving eslint error after merging * fix(storefront): BCTHEME-30 fix misaligned tooltip for required product option (bigcommerce#1915) Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com> * fix(storefront): BCTHEME-87 Product images squashed in Category view in AMP (bigcommerce#1921) (bigcommerce#1921) * fix(storefront): BCTHEME-313 Parse HTML entities in jsContext (bigcommerce#1917) * Added Changelog item for BCTHEME-313 * Releasing 5.0.0-rc.1 * feat(payments): PAYPAL-823 Add new banner on the cart page (bigcommerce#1901) * Releasing 5.0.0-rc.2 * Releasing 5.0.0 * feat(storefront): BCTHEME-304 add pagination for wishlists (bigcommerce#1906) * fix(storefront): BCTHEME-341 fix placeholder contrast ratio (bigcommerce#1933) * fix(storefront): BCTHEME-37 Cornerstone - Image Zoom Does Not Work on Internet Explorer (bigcommerce#1923) (bigcommerce#1923) * feat(storefront): BCTHEME-306 show price range on option selection (bigcommerce#1924) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-16 Cornerstone - loading of thumbnail image delayed on cart page (bigcommerce#1925 (bigcommerce#1925) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-193 fix not being able to change product qty with keyboard multiple times (bigcommerce#1927) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-345 define a main region on pages (bigcommerce#1929) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * fix(storefront): BCTHEME-346 add announcement for shipping estimator error messages (bigcommerce#1932) Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> * feat(storefront): BCTHEME-343 No tooltips provided for carousel buttons (bigcommerce#1934) (bigcommerce#1934) * feature(storefront): Empty cart message not read by screen reader (bigcommerce#1935) (bigcommerce#1935) * feat(storefront): BCTHEME-344 Carousel buttons do not receive focus (bigcommerce#1937) (bigcommerce#1937) * fix(storefront): BCTHEME-155 fix recaptcha announcement for hidden content (bigcommerce#1943) * fix(storefront): BCTHEME-379 fix non-text contrast on add to cart button (bigcommerce#1946) * fix(storefront): BCTHEME-369 fix announcement on adding to cart by screen reader (bigcommerce#1950) * feat(storefront): BCTHEME-373 Alt text not provided for ratings (bigcommerce#1949) * feat(storefront): BCTHEME-78 Add Play/Pause button to carousel (bigcommerce#1944) * fix(storefront): BCTHEME-366 Error message on PLPs not announced by screen reader (bigcommerce#1956) * fix(storefront): BCTHEME-361 fix subscription message announcement (bigcommerce#1952) * feat(payments): PAYPAL-903 Product Page Banners (Cornerstone) - creat… (bigcommerce#1948) * feat(payments): PAYPAL-903 Product Page Banners (Cornerstone) - create custom price event * feat(payments): PAYPAL-903 Product Page Banners (Cornerstone) - create custom price event - CR fixes Co-authored-by: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com> * BCTHEME-327: PDP - Empty "Description" is Hiding All Tabs When in Tab View (bigcommerce#1947) * feat(storefront): BCTHEME-388 Dots on carousel should have similar colours as other slider controls (bigcommerce#1958) * fix(storefront): BCTHEME-384 When default option is out of stock add to cart button does not populate for in stock options (bigcommerce#1955) * fix(storefront): BCTHEME-383 Selecting certain option types pushes window view to the bottom of the page (bigcommerce#1959) * Fixed merge conflict * STRF-8898 'Show More' gives no additional options when filter clicked (bigcommerce#1945) * Releasing 5.1.0-rc.1 * BCTHEME-387: Updates Cornerstone variants to meet the updated verticals outlined in BCTHEME-387. (bigcommerce#1962) Co-authored-by: Dante Muñoz <dante.munoz@c02v90c0htdh.lan> * Releasing 5.1.0-rc.2 * Releasing 5.1.0 * feat(storefront): STRF-8948 Fix Sort By on Search Page (bigcommerce#1971) * fix(storefront): BCTHEME-368 fix announcement for shop by price filter selection (bigcommerce#1966) * fix(storefront): BCTHEME-207 fix focus on sort by (bigcommerce#1964) * fix(storefront): BCTHEME-385 move a phrase from html to en.json (bigcommerce#1972) * feat(storefront): BCTHEME-390 Integrate accessibility scripts to product images slider on PDP (bigcommerce#1965) * fix(storefront): BCTHEME-354 If multiple Pick List Options are applied, customers cannot select 'none' on both (bigcommerce#1975) * fix(storefront): BCTHEME-356 Required checkbox message blocks the checkbox (bigcommerce#1963) * Updated Changelog PR link for BCTHEME-212 Fixed review rating icons focus border. * feat(storefront): BCTHEME-391 Move focus on filter items Modal after show more button was clicked and accessibility refactoring (bigcommerce#1977) * feat(storefront) BCTHEME-381 add suffient text for swatch option (bigcommerce#1976) * fix(storefront): BCTHEME-398 Make every product option group id unique (bigcommerce#1979) * fix(storefront): BCTHEME-264 fix update discount banner on PDP (bigcommerce#1974) * fix(storefront): BCTHEME-372 Error message not announced automatically (bigcommerce#1983) * fix(storefront): BCTHEME-400 If product options are not required, the 'None' option will remain selected even if another option is chosen (bigcommerce#1980) * fix(storefront): BCTHEME-334 Add alt attribute for no image placeholders (bigcommerce#1984) * fix(storefront): BCTHEME-401 Category pages are creating alt attribute within the span tag (bigcommerce#1987) * fix(storefront): BCTHEME-362 fix cut off cart button on zooming 400 (bigcommerce#1988) * Releasing 5.2.0-rc.1 * Releasing 5.2.0 * Reverting 5.2.0 to 5.2.0-rc.1 * Releasing 5.2.0 * Revert "Releasing 5.2.0" * Releasing 5.2.0 * Revert "Releasing 5.2.0" 2nd time * Releasing 5.2.0 * feat(storefront): BCTHEME-200 add notifications announcement on carousel change (bigcommerce#1986) * fix(storefront): BCTHEME-392 fixed line breaks on Dropdown Menu (bigcommerce#1996) * fix(storefront): BCTHEME-347 Add unique identifiers to product cards (bigcommerce#1999) * fix(storefront): BCTHEME-409 Update focus trap in Modal (bigcommerce#1998) * fix(search): ES-2031 add error message for when star search is not availabble in facted search * feat(search): ES-1590 render error msg for brand page * fix(search): ES-2031 make search error more generic * feat(search): ES-2031 add change to changelog * feat(storefront): BCTHEME-322 add sold-out badges for products on PLP (bigcommerce#2003) * BCTHEME-426: Insufficient link text for "Read More" links (bigcommerce#2012) * BCTHEME-422: Announce email field as mandatory (bigcommerce#2011) * BCTHEME-420: 'Skip to main content' is not visible (bigcommerce#2010) * fix(storefront): BCTHEME-427 Insufficient button label on cart page (bigcommerce#2013) * feat(storefront): BCTHEME-231 Add placeholder for failed to load carousel images and update scalability (bigcommerce#2009) * fix(storefront): BCTHEME-429 Unlabelled edit fields on cart page (bigcommerce#2016) * fix(storefront): BCTHEME-428 Insufficient link text on cart page (bigcommerce#2014) * fix(storefront): BCTHEME-424 Alt text should include product name for ratings (bigcommerce#2015) * fix(storefront): IE11 - Clicking on Search Does Not Display Search Bar (bigcommerce#2017) * Releasing 5.3.0-rc.1 * Fixing 'Skip to main' content mobile display * Releasing 5.3.0-rc.2 * Releasing 5.3.0 * Revert Releasing 5.3.0 * Remove AddThis for social sharing, replace with provider sharing links (bigcommerce#1997) * Updated changelog * Releasing 5.3.0 * fix(search): ES-2071 removed adding selected filters for price filter since not needed (bigcommerce#2018) * fix(storefront): BCTHEME-431 remove horizontal scroll on swatch options PDP (bigcommerce#2023) * fix(search): ES-2138 fixed count showing issue for category facet * fix(storefront): BCTHEME-349 improve email validation for forms (bigcommerce#2029) * feat(storefront): BCTHEME-445 replace page builder ssl settings with new global region for html widget (bigcommerce#2026) * fix(storefront): BCTHEME-447 extend keyboard support for radio buttons (bigcommerce#2028) * feat(storefront): BCTHEME-446 Improve performance of analyzing homepage carousel image (bigcommerce#2027) * fix(storefront): BCTHEME-395 Wish List drop down is truncated on product page (bigcommerce#2001) * fix(storefront): BCTHEME-434 Hamburger Menu Icon missing on Google AMP Pages (bigcommerce#2022) * fix(storefront): BCTHEME-449 remove main tag duplicates (bigcommerce#2032) * feat(storefront): BCTHEME-425 Incorrect focus order for product carousels (bigcommerce#2034) * Releasing 5.4.0-rc.1 * fix(storefront): DEV-426 Fix GitHub workflows for default storefront * Releasing 5.4.0 * fix(storefront): BCTHEME-325 Apple pay button displaying needs to be fixed (bigcommerce#2043) * fix(storefront): BCTHEME-457 Update focus tooltip styles contrast to achieve accessibility AA Complaince (bigcommerce#2047) * Use https:// for schema markup (bigcommerce#2039) * fix(storefront): BCTHEME-423 Search result on search page not notified by screen reader (bigcommerce#2024) * feat(payment): PAYPAL-968 added banner widgets to page builder (bigcommerce#2021) * fix(storefront): bctheme-448 fix multiple swatch options (bigcommerce#2040) * feat(storefront): BCTHEME-476 Scale focus trap for all modals (bigcommerce#2049) * Releasing 5.5.0-rc.1 * Releasing 5.5.0 * fix(storefront): BCTHEME-496 Translation Gap: Delete from Cart confirmation popup. (bigcommerce#2065) * fix(storefront): BCTHEME-512 add translation for invalid quantity value error on cart (bigcommerce#2062) * fix(storefront): BCTHEME-459 fix product quantity change error (bigcommerce#2052) * Fix eslint grunt check * build(deps): bump underscore from 1.12.0 to 1.13.1 (bigcommerce#2053) * Updated CHANGELOG.md for bigcommerce#2052 * fix(storefront): BCTHEME-514 Translation Gap: Gift Certificate -> Code required message (bigcommerce#2064) * fix(storefront): BCTHEME-490 Translation Gap: Compare products error message (bigcommerce#2061) Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com> * fix(storefront): BCTHEME-492 Translation Gap: Compare page fields (Description, Rating and Availability) (bigcommerce#2059) * fix(storefront): BCTHEME-479 Logo on AMP Product details page (PDP) does not fit header (bigcommerce#2054) * fix(storefront): BCTHEME-477 Add to cart button and Wishlist should be on one line on desktop (bigcommerce#2050) * fix(storefront): BCTHEME-535 Translation Gap: Cart -> Shipping estimator error messages. (bigcommerce#2066) * fix(storefront): BCTHEME-507 Translation Gap: Account -> Wish List -> Name required message. (bigcommerce#2060) * fix(storefront): BCTHEME-452 Unable to select 'None' on unrequired Swatch Options (bigcommerce#2068) * Fix eslint errors in cart.js, shipping-estimator.js and test in cart.spec.js (bigcommerce#2072) * fix(storefront): STRF-9126 Facebook social share returns an error for blog pages * fix(storefront): BCTHEME-544 fix potential shift on change options modal on Cart (bigcommerce#2071) * fix(storefront): BCTHEME-543 Product images in quick view can be squashed (bigcommerce#2075) * fix(storefront): BCTHEME-601 Enter press on Compare checkbox cause quick view opening (bigcommerce#2074) * feat(storefront): BCTHEME-608 Translation mechanism for config.json values should be implemented (bigcommerce#2076) * Update CHANGELOG.md * Updated CHANGELOG.md for bigcommerce#2024 * Releasing 5.6.0-rc.1 * Add missing quotes for Country and State/Province fields of Shipping Estimator to pass functional tests (bigcommerce#2079) * Releasing 5.6.0-rc.2 * Releasing 5.6.0 * feat(storefront): BCTHEME-603 Added translations for Consent Manager (bigcommerce#2083) * feat(storefront): BCTHEME-600 Added translation files for Cornerstone (bigcommerce#2084) * Releasing 5.7.0 * fix(storefront): BCTHEME-689 Update lang files for some locales (bigcommerce#2086) * Releasing 5.7.1 * Changelog format changes (bigcommerce#2092) * add changelog requirements (bigcommerce#2080) * feat(storefront): BCTHEME-152 Replaced scss-lint with stylelint (bigcommerce#2069) * fix(storefront): BCTHEME-540 User Account, bug styles in section payment methods (bigcommerce#2085) * fix(storefront): BCTHEME-511 Remove counter on the Wish Lists tab on Account page (bigcommerce#2087) * fix(storefront): BCTHEME-532 'undefined' is announced with screen reader while changing Product quantity on PDP (bigcommerce#2094) * Fix social sharing links for product pages and blog posts (bigcommerce#2082) * feat(payment): PAYPAL-886 added container setting for spb container (bigcommerce#2041) * fix(storefront): Reviews pagination navigation buttons reload the whole page and does not open the Reviews tab (bigcommerce#2048) * Update package-lock.json file (bigcommerce#2097) * fix(storefront): BCTHEME-606 No navigation back to wishlist tab when you are in a wishlist (bigcommerce#2096) * Fix minor merge navigation issue * Fixing merge conflict: BCTHEME-606 (bigcommerce#2100) * fix(storefront): BCTHEME-686 "Manage Website Data Collection Preferences" phrase is not translatable (bigcommerce#2090) * feat(storefront): BCTHEME-674 Make Hero Carousel both slide and button clickable when button enabled (bigcommerce#2098) * fix(storefront): BCTHEME-708 fix wishlist dropdown shift in quickview modal (bigcommerce#2102) * fix(storefront): BCTHEME-671 Empty email input in newsletter field does not trigger an error (bigcommerce#2101) * fix(storefront): BCTHEME-547 As a shopper I want to see gift wrapping price in product list the cart. (bigcommerce#2093) * BCTHEME-693: Update translation mechanism for config.json values (bigcommerce#2089) * Update translation mechanism for config.json values * Releasing 6.0.0-rc.1 * Releasing 6.0.0 * fix(storefront): BCTHEME-668 Google AMP feature request - Add in release date info for preorder products (bigcommerce#2107) * feat(customers): CUST-1583 use label for country states to send non-translated name on submit (bigcommerce#2105) * feat(payment): ADYEN-242 Added notice to Adyen vaulted cards at My account page (bigcommerce#2111) * fix(storefront): BCTHEME-856 Fixed images placeholder on hero carousel shifted on mobile when slide has content (bigcommerce#2112) * build(deps): bump path-parse from 1.0.6 to 1.0.7 (bigcommerce#2108) Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... * Releasing 6.1.0-rc.1 * Releasing 6.1.0 * build(deps): bump nth-check from 2.0.0 to 2.0.1 (bigcommerce#2125) Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/fb55/nth-check/releases) - [Commits](fb55/nth-check@v2.0.0...v2.0.1) --- updated-dependencies: - dependency-name: nth-check dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump tmpl from 1.0.4 to 1.0.5 (bigcommerce#2123) Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ini from 1.3.4 to 1.3.7 (bigcommerce#1993) Bumps [ini](https://github.com/isaacs/ini) from 1.3.4 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](npm/ini@v1.3.4...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump dot-prop from 4.1.1 to 4.2.1 (bigcommerce#1892) Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.1.1 to 4.2.1. - [Release notes](https://github.com/sindresorhus/dot-prop/releases) - [Commits](sindresorhus/dot-prop@v4.1.1...v4.2.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(storefront): BCTHEME-855 Sliding carousel with products cause footer headers flickering (bigcommerce#2119) * fix(storefront): BCTHEME-355 fix additional checkout buttons (bigcommerce#2109) * fix(search): ES-2439 change debounce wait time for search (bigcommerce#2115) * fix(storefront): BCTHEME-851 Product images on PDP has clipped outline (bigcommerce#2124) * Releasing 6.1.1-rc.1 * Releasing 6.1.1-rc.2 * Releasing 6.1.1 * Apply dependency updates (jest & lighthouse) (bigcommerce#2132) * fix(storefront): BCTHEME-904 Quick View Modal "Close" bubble is slightly off center (bigcommerce#2130) * fix(storefront): BCTHEME-83 added basic validation for Account Signup Date Field (bigcommerce#2126) * fix(storefront): BCTHEME-906 Hide prices for aria-label and data-product-price attributes if set to Hidden for guests. Hide currency selection for non-logged in users. (bigcommerce#2131) * Releasing 6.1.2-rc.1 * fix(storefront): BCTHEME-932 Update lang file for FR locale * Use srcset for store logo so it looks good in more conditions (bigcommerce#2136) * Releasing 6.1.2-rc.2 * Releasing 6.1.2 * fix(storefront): BCTHEME-936 Cannot see currency dropdown in storefront (bigcommerce#2141) * Releasing 6.1.3-rc.1 * Releasing 6.1.3 * fix(storefront): BCTHEME-912 Admin Bar displays regardless of setting (bigcommerce#2144) * fix(storefront): BCTHEME-494 Translation Gap: Checkbox Option selection on Product. (bigcommerce#2063) * Replace schema microdata with LD+JSON tag (bigcommerce#2138) * fix(storefront): BCTHEME-940 optimize usage of jsTree library (bigcommerce#2145) * BCTHEME-958: Translation updates November 2021 (bigcommerce#2146) * fix(storefront): BCTHEME-944 Tooltip on close button of modal is shifted (bigcommerce#2148) * fix(storefront): BCTHEME-964 Loading unnecessary product lqip images on cart page (bigcommerce#2149) * Releasing 6.2.0-rc.1 * Releasing 6.2.0 * fix(storefront): BCTHEME-965 Update stencil-utils package (bigcommerce#2157) * fix(storefront): BCTHEME-1018 Cornerstone performance optimizations: remove unused fonts. (bigcommerce#2176) * fix(storefront): BCTHEME-991 Cornerstone performance optimizations: blocking scripts delaying DomContentLoaded. (bigcommerce#2158) * fix(storefront): BCTHEME-997 Translation updates February 2022. (bigcommerce#2177) * fix(storefront): BCTHEME-806 Password complexity error message does not reflect the requirements set in the store settings (bigcommerce#2117) * fix(storefront): Remove Compare Form (bigcommerce#2162) * feat(customers): CUST-1837 Add reCAPTCHA to password reset for Corner… (bigcommerce#2164) * Update blog component to use H1 tags on posts (bigcommerce#2179) * build(deps): bump tar from 2.2.1 to 2.2.2 (bigcommerce#2173) * build(deps): bump ws from 6.2.1 to 6.2.2 (bigcommerce#2174) * Releasing 6.3.0-rc.1 * Releasing 6.3.0 * fix(storefront): BCTHEME-1006 When price list price is set for currency, the cart does not respect product's price (bigcommerce#2190) * fix(storefront): BCTHEME-1038 Remove adminBar (bigcommerce#2191) * Remove translations for adminBar component (bigcommerce#2196) * fix(storefront): BCTHEME-982 Search results containing % symbol result in errored page. (bigcommerce#2205) * fix(storefront): BCTHEME-909 Social media icons failing wave scan with Empty Link. (bigcommerce#2202) * fix(storefront): BCTHEME-963 Reviews form not submitting after quick view opening on PDP. (bigcommerce#2201) * fix(storefront): BCTHEME-1074 Apply security updates (April 2022) (bigcommerce#2200) * fix(storefront): BCTHEME-961 Stored Payment Methods form can be submitted without selecting a Country (bigcommerce#2194) * fix(storefront): BCTHEME-1043 Remove sweetAlert (bigcommerce#2189) * build(deps-dev): bump grunt from 1.3.0 to 1.5.2 (bigcommerce#2206) * build(deps): bump minimist from 1.2.5 to 1.2.6 (bigcommerce#2207) * Add api host to github action examples (bigcommerce#2161) * fix(storefront): BCTHEME-1037 Remove nanobar (bigcommerce#2192) * fix(storefront): BCTHEME-990 Product image not shown in Pinterest preview if not signed in (bigcommerce#2203) * feat(orders): ORDERS-3932 Changes to allow pickup details to be displayed in storefront (bigcommerce#2199) * fix(storefront): BCTHEME-1083 Translation updates April 2022 (bigcommerce#2204) * Bump GitHub Actions to use node 14 (bigcommerce#2208) * Releasing 6.4.0-rc.1 * Remove adminBar translations from da/no lang files (bigcommerce#2209) * Releasing 6.4.0-rc.2 * Releasing 6.4.0 * fix(storefront): BCTHEME-1089 Incorrect handling of unsuccessful item removing from cart on the Cart page. (bigcommerce#2211) * Releasing 6.4.1-rc.1 * Releasing 6.4.1 --------- Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> Co-authored-by: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com> Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com> Co-authored-by: Tymur Biedukhin <tymur.biedukhin@bigcommerce.com> Co-authored-by: Brian Davenport <bdav87@gmail.com> Co-authored-by: Olga Lashkul <32959076+helga1507@users.noreply.github.com> Co-authored-by: Andrii Fetisov <54856617+bc-fetisov@users.noreply.github.com> Co-authored-by: jairo-bc <68893868+jairo-bc@users.noreply.github.com> Co-authored-by: Dante Munoz <35115108+DanteMunoz@users.noreply.github.com> Co-authored-by: Dante Muñoz <dante.munoz@c02v90c0htdh.lan> Co-authored-by: Yurii Zusik <yurii.zusik@bigcommerce.com> Co-authored-by: Nataliya Solyanik <nataliya.solyanik@bigcommerce.com> Co-authored-by: Kevin Wang <kwang30@gmail.com> Co-authored-by: David Huynh <david.huynh@bigcommerce.com> Co-authored-by: Nathan Booker <bookernath@users.noreply.github.com> Co-authored-by: bc-krishsenthilraj <39140274+bc-krishsenthilraj@users.noreply.github.com> Co-authored-by: Senthil Krishnasamy <senthil.krishnasamy@bigcommerce.com> Co-authored-by: Nathan Booker <nathan.booker@bigcommerce.com> Co-authored-by: Yevhenii Buliuk <82589781+bc-yevhenii-buliuk@users.noreply.github.com> Co-authored-by: sacr3dc0w <mshettles@gmail.com> Co-authored-by: Andrii Vitvitskyi <andrii.vitvitskyi@bigcommerce.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: bc-vlad-dlogush <83779098+bc-vlad-dlogush@users.noreply.github.com> Co-authored-by: Jairo Panduro <jairo.panduro@bigcommerce.com> Co-authored-by: alex.saiannyi <alexander.saiannyi@bigcommerce.com> Co-authored-by: Alex Rowley <rowleyaj@gmail.com> Co-authored-by: Matt Hill <matt.hill@bigcommerce.com> Co-authored-by: Vitaliy Koshovyi <79574476+vneutrino@users.noreply.github.com> Co-authored-by: Saurabh Gedam <saurabhgedam1992@gmail.com> Co-authored-by: Jordan Arldt <jordanarldt@gmail.com> Co-authored-by: Volodymyr Krasnoshapka <volodymyr.kras@bigcommerce.com> Co-authored-by: Matthew Coy <47044676+mattcoy-arcticleaf@users.noreply.github.com> Co-authored-by: BC-Chkalov-Valerii <92578518+BC-Chkalov-Valerii@users.noreply.github.com> Co-authored-by: “bc-yevhenii-buliuk” <“yevhenii.buliuk@bigcommerce.com”> Co-authored-by: Matthew Coy <matt.coy@arcticleaf.io> Co-authored-by: Hunter Leachman <hunter.leachman@bigcommerce.com> Co-authored-by: Steve Ross <297351+steve-ross@users.noreply.github.com> Co-authored-by: Munjal Munshi <92066753+bc-munjal@users.noreply.github.com> Co-authored-by: Vlad Dlogush <vladyslav.dlohush@bigcommerce.com>
1 parent adab1ee commit 5929ea2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+15397
-22212
lines changed

.github/workflow-examples/automatic_deployment_production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node: [12.x]
15+
node: [14.x]
1616

1717
steps:
1818
- name: Checkout code
@@ -47,7 +47,7 @@ jobs:
4747
env:
4848
URL: ${{ secrets.STENCIL_STORE_URL_PRODUCTION }}
4949
TOKEN: ${{ secrets.STENCIL_ACCESS_TOKEN_PRODUCTION }}
50-
run: stencil init -u $URL -t $TOKEN -p 3000
50+
run: stencil init -u $URL -t $TOKEN -p 3000 -h https://api.bigcommerce.com
5151

5252
- name: Push theme live, automatically deleting oldest theme if necessary
5353
run: stencil push -a -d -c 1

.github/workflow-examples/poll_for_changed_configuration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node: [12.x]
20+
node: [14.x]
2121

2222
steps:
2323
- name: Checkout code
@@ -47,7 +47,7 @@ jobs:
4747
env:
4848
URL: ${{ secrets.STENCIL_STORE_URL_PRODUCTION }}
4949
TOKEN: ${{ secrets.STENCIL_ACCESS_TOKEN_PRODUCTION }}
50-
run: stencil init -u $URL -t $TOKEN -p 3000
50+
run: stencil init -u $URL -t $TOKEN -p 3000 -h https://api.bigcommerce.com
5151

5252
- name: Check for an updated configuration on the live default storefront (channel ID 1)
5353
run: stencil pull -c 1

.github/workflows/pull_request_review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node: [12.x]
20+
node: [14.x]
2121

2222
steps:
2323
- name: Checkout code

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Draft
88

9+
## 6.4.1 (05-16-2022)
10+
- Incorrect handling of unsuccessful item removing from cart on the Cart page. [#2211](https://github.com/bigcommerce/cornerstone/issues/2211)
11+
12+
## 6.4.0 (05-11-2022)
13+
- Remove adminBar translations from da/no lang files [#2209](https://github.com/bigcommerce/cornerstone/issues/2209)
14+
- Translation updates April 2022 [#2204](https://github.com/bigcommerce/cornerstone/issues/2204)
15+
- Product image not shown in Pinterest preview if not signed in.[#2203](https://github.com/bigcommerce/cornerstone/issues/2203)
16+
- Remove nanobar (loading progress bar). [#2192](https://github.com/bigcommerce/cornerstone/issues/2192)
17+
- Fix Workflow examples missing api host. [#2161](https://github.com/bigcommerce/cornerstone/pull/2161)
18+
- Remove sweetAlert. [#2189](https://github.com/bigcommerce/cornerstone/issues/2189)
19+
- Apply security updates (April 2022) [#2200](https://github.com/bigcommerce/cornerstone/issues/2200)
20+
- Reviews form not submitting after quick view opening on PDP. [#2201](https://github.com/bigcommerce/cornerstone/issues/2201)
21+
- Social media icons failing wave scan with "Empty Link". [#2202](https://github.com/bigcommerce/cornerstone/issues/2202)
22+
- Search results containing % symbol result in errored page. [#2205](https://github.com/bigcommerce/cornerstone/issues/2205)
23+
- Remove translations for adminBar component [#2196](https://github.com/bigcommerce/cornerstone/issues/2196)
24+
- Remove adminBar. [#2191](https://github.com/bigcommerce/cornerstone/issues/2191)
25+
- When price list price is set for currency, the cart does not respect product's price.[#2190](https://github.com/bigcommerce/cornerstone/issues/2190)
26+
- Stored Payment Methods form can be submitted without selecting a Country.[#2194](https://github.com/bigcommerce/cornerstone/issues/2194)
27+
- Show pickup details in storefront for BOPIS orders. [#2199](https://github.com/bigcommerce/cornerstone/pull/2199)
28+
929
## 6.3.0 (03-11-2022)
1030
- Update blog component to use H1 tags on posts [#2179](https://github.com/bigcommerce/cornerstone/issues/2179)
1131
- Remove Compare Form. [#2162](https://github.com/bigcommerce/cornerstone/pull/2162)

assets/js/theme/account.js

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from './common/utils/form-utils';
1414
import { createTranslationDictionary } from './common/utils/translations-utils';
1515
import { creditCardType, storeInstrument, Validators as CCValidators, Formatters as CCFormatters } from './common/payment-method';
16-
import swal from './global/sweet-alert';
16+
import { showAlertModal } from './global/modal';
1717
import compareProducts from './global/compare-products';
1818

1919
export default class Account extends PageManager {
@@ -131,10 +131,7 @@ export default class Account extends PageManager {
131131

132132
if (!submitForm) {
133133
event.preventDefault();
134-
swal.fire({
135-
text: this.context.selectItem,
136-
icon: 'error',
137-
});
134+
showAlertModal(this.context.selectItem);
138135
}
139136
});
140137
}
@@ -209,10 +206,7 @@ export default class Account extends PageManager {
209206
return true;
210207
}
211208

212-
swal.fire({
213-
text: errorMessage,
214-
icon: 'error',
215-
});
209+
showAlertModal(errorMessage);
216210

217211
return event.preventDefault();
218212
});
@@ -227,7 +221,7 @@ export default class Account extends PageManager {
227221
$paymentMethodForm.find('#address1.form-field').attr('data-validation', `{ "type": "singleline", "label": "${this.context.address1Label}", "required": true, "maxlength": 0 }`);
228222
$paymentMethodForm.find('#address2.form-field').attr('data-validation', `{ "type": "singleline", "label": "${this.context.address2Label}", "required": false, "maxlength": 0 }`);
229223
$paymentMethodForm.find('#city.form-field').attr('data-validation', `{ "type": "singleline", "label": "${this.context.cityLabel}", "required": true, "maxlength": 0 }`);
230-
$paymentMethodForm.find('#country.form-field').attr('data-validation', `{ "type": "singleselect", "label": "${this.context.countryLabel}", "required": true, prefix: "${this.context.chooseCountryLabel}" }`);
224+
$paymentMethodForm.find('#country.form-field').attr('data-validation', `{ "type": "singleselect", "label": "${this.context.countryLabel}", "required": true, "prefix": "${this.context.chooseCountryLabel}" }`);
231225
$paymentMethodForm.find('#state.form-field').attr('data-validation', `{ "type": "singleline", "label": "${this.context.stateLabel}", "required": true, "maxlength": 0 }`);
232226
$paymentMethodForm.find('#postal_code.form-field').attr('data-validation', `{ "type": "singleline", "label": "${this.context.postalCodeLabel}", "required": true, "maxlength": 0 }`);
233227

@@ -313,10 +307,7 @@ export default class Account extends PageManager {
313307
storeInstrument(this.context, data, () => {
314308
window.location.href = this.context.paymentMethodsUrl;
315309
}, () => {
316-
swal.fire({
317-
text: this.context.generic_error,
318-
icon: 'error',
319-
});
310+
showAlertModal(this.context.generic_error);
320311
});
321312
}
322313
});

assets/js/theme/cart.js

Lines changed: 19 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import checkIsGiftCertValid from './common/gift-certificate-validator';
44
import { createTranslationDictionary } from './common/utils/translations-utils';
55
import utils from '@bigcommerce/stencil-utils';
66
import ShippingEstimator from './cart/shipping-estimator';
7-
import { defaultModal, ModalEvents } from './global/modal';
8-
import swal from './global/sweet-alert';
7+
import { defaultModal, showAlertModal, ModalEvents } from './global/modal';
98
import CartItemDetails from './common/cart-item-details';
109

1110
export default class Cart extends PageManager {
@@ -45,15 +44,9 @@ export default class Cart extends PageManager {
4544
const newQty = $target.data('action') === 'inc' ? oldQty + 1 : oldQty - 1;
4645
// Does not quality for min/max quantity
4746
if (newQty < minQty) {
48-
return swal.fire({
49-
text: minError,
50-
icon: 'error',
51-
});
47+
return showAlertModal(minError);
5248
} else if (maxQty > 0 && newQty > maxQty) {
53-
return swal.fire({
54-
text: maxError,
55-
icon: 'error',
56-
});
49+
return showAlertModal(maxError);
5750
}
5851

5952
this.$overlay.show();
@@ -68,10 +61,7 @@ export default class Cart extends PageManager {
6861
this.refreshContent(remove);
6962
} else {
7063
$el.val(oldQty);
71-
swal.fire({
72-
text: response.data.errors.join('\n'),
73-
icon: 'error',
74-
});
64+
showAlertModal(response.data.errors.join('\n'));
7565
}
7666
});
7767
}
@@ -91,22 +81,13 @@ export default class Cart extends PageManager {
9181
if (!newQty) {
9282
invalidEntry = $el.val();
9383
$el.val(oldQty);
94-
return swal.fire({
95-
text: this.context.invalidEntryMessage.replace('[ENTRY]', invalidEntry),
96-
icon: 'error',
97-
});
84+
return showAlertModal(this.context.invalidEntryMessage.replace('[ENTRY]', invalidEntry));
9885
} else if (newQty < minQty) {
9986
$el.val(oldQty);
100-
return swal.fire({
101-
text: minError,
102-
icon: 'error',
103-
});
87+
return showAlertModal(minError);
10488
} else if (maxQty > 0 && newQty > maxQty) {
10589
$el.val(oldQty);
106-
return swal.fire({
107-
text: maxError,
108-
icon: 'error',
109-
});
90+
return showAlertModal(maxError);
11091
}
11192

11293
this.$overlay.show();
@@ -120,10 +101,8 @@ export default class Cart extends PageManager {
120101
this.refreshContent(remove);
121102
} else {
122103
$el.val(oldQty);
123-
swal.fire({
124-
text: response.data.errors.join('\n'),
125-
icon: 'error',
126-
});
104+
105+
return showAlertModal(response.data.errors.join('\n'));
127106
}
128107
});
129108
}
@@ -134,10 +113,8 @@ export default class Cart extends PageManager {
134113
if (response.data.status === 'succeed') {
135114
this.refreshContent(true);
136115
} else {
137-
swal.fire({
138-
text: response.data.errors.join('\n'),
139-
icon: 'error',
140-
});
116+
this.$overlay.hide();
117+
showAlertModal(response.data.errors.join('\n'));
141118
}
142119
});
143120
}
@@ -190,10 +167,7 @@ export default class Cart extends PageManager {
190167
const data = result.data || {};
191168

192169
if (err) {
193-
swal.fire({
194-
text: err,
195-
icon: 'error',
196-
});
170+
showAlertModal(err);
197171
return false;
198172
}
199173

@@ -286,16 +260,13 @@ export default class Cart extends PageManager {
286260
$('.cart-remove', this.$cartContent).on('click', event => {
287261
const itemId = $(event.currentTarget).data('cartItemid');
288262
const string = $(event.currentTarget).data('confirmDelete');
289-
swal.fire({
290-
text: string,
263+
showAlertModal(string, {
291264
icon: 'warning',
292265
showCancelButton: true,
293-
cancelButtonText: this.context.cancelButtonText,
294-
}).then((result) => {
295-
if (result.value) {
266+
onConfirm: () => {
296267
// remove item from cart
297268
cartRemoveItem(itemId);
298-
}
269+
},
299270
});
300271
event.preventDefault();
301272
});
@@ -338,20 +309,14 @@ export default class Cart extends PageManager {
338309

339310
// Empty code
340311
if (!code) {
341-
return swal.fire({
342-
text: $codeInput.data('error'),
343-
icon: 'error',
344-
});
312+
return showAlertModal($codeInput.data('error'));
345313
}
346314

347315
utils.api.cart.applyCode(code, (err, response) => {
348316
if (response.data.status === 'success') {
349317
this.refreshContent();
350318
} else {
351-
swal.fire({
352-
html: response.data.errors.join('\n'),
353-
icon: 'error',
354-
});
319+
showAlertModal(response.data.errors.join('\n'));
355320
}
356321
});
357322
});
@@ -383,20 +348,14 @@ export default class Cart extends PageManager {
383348

384349
if (!checkIsGiftCertValid(code)) {
385350
const validationDictionary = createTranslationDictionary(this.context);
386-
return swal.fire({
387-
text: validationDictionary.invalid_gift_certificate,
388-
icon: 'error',
389-
});
351+
return showAlertModal(validationDictionary.invalid_gift_certificate);
390352
}
391353

392354
utils.api.cart.applyGiftCertificate(code, (err, resp) => {
393355
if (resp.data.status === 'success') {
394356
this.refreshContent();
395357
} else {
396-
swal.fire({
397-
html: resp.data.errors.join('\n'),
398-
icon: 'error',
399-
});
358+
showAlertModal(resp.data.errors.join('\n'));
400359
}
401360
});
402361
});

assets/js/theme/cart/shipping-estimator.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import nod from '../common/nod';
33
import utils from '@bigcommerce/stencil-utils';
44
import { Validators, announceInputErrorMessage } from '../common/utils/form-utils';
55
import collapsibleFactory from '../common/collapsible';
6-
import swal from '../global/sweet-alert';
6+
import { showAlertModal } from '../global/modal';
77

88
export default class ShippingEstimator {
99
constructor($element, shippingErrorMessages) {
@@ -114,11 +114,7 @@ export default class ShippingEstimator {
114114
// Requests the states for a country with AJAX
115115
stateCountry(this.$state, this.context, { useIdForStates: true }, (err, field) => {
116116
if (err) {
117-
swal.fire({
118-
text: err,
119-
icon: 'error',
120-
});
121-
117+
showAlertModal(err);
122118
throw new Error(err);
123119
}
124120

assets/js/theme/common/product-details.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import forms from '../common/models/forms';
1111
import { normalizeFormData } from './utils/api';
1212
import { isBrowserIE, convertIntoArray } from './utils/ie-helpers';
1313
import bannerUtils from './utils/banner-utils';
14+
import currencySelector from '../global/currency-selector';
1415

1516
export default class ProductDetails extends ProductDetailsBase {
1617
constructor($scope, context, productAttributesData = {}) {
@@ -399,6 +400,7 @@ export default class ProductDetails extends ProductDetailsBase {
399400

400401
// Add item to cart
401402
utils.api.cart.itemAdd(normalizeFormData(new FormData(form)), (err, response) => {
403+
currencySelector(response.data.cart_id);
402404
const errorMessage = err || response.data.error;
403405

404406
$addToCartBtn

assets/js/theme/global.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@ import foundation from './global/foundation';
1111
import quickView from './global/quick-view';
1212
import cartPreview from './global/cart-preview';
1313
import privacyCookieNotification from './global/cookieNotification';
14-
import adminBar from './global/adminBar';
1514
import carousel from './common/carousel';
16-
import loadingProgressBar from './global/loading-progress-bar';
1715
import svgInjector from './global/svg-injector';
1816

1917
export default class Global extends PageManager {
2018
onReady() {
21-
const {
22-
channelId, cartId, productId, categoryId, secureBaseUrl, maintenanceModeSettings, adminBarLanguage,
23-
} = this.context;
19+
const { cartId, secureBaseUrl } = this.context;
2420
cartPreview(secureBaseUrl, cartId);
2521
quickSearch();
2622
currencySelector(cartId);
@@ -30,8 +26,6 @@ export default class Global extends PageManager {
3026
menu();
3127
mobileMenuToggle();
3228
privacyCookieNotification();
33-
adminBar(secureBaseUrl, channelId, maintenanceModeSettings, JSON.parse(adminBarLanguage), productId, categoryId);
34-
loadingProgressBar();
3529
svgInjector();
3630
}
3731
}

0 commit comments

Comments
 (0)