-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWA Kit 2.7.1-alpha.0 release #1181
Commits on Mar 4, 2023
-
Update
develop
withrelease-v2.7.0
(#1033)* Starting release process for 2.7.0 * Update Create MRT credentials file (#1025) * Release 2.7: fix order of hooks (#1027) * Return early only after all of the hooks are called * Bumper version --------- Co-authored-by: Ben Chypak <bchypak@salesforce.com> * Quick fix for einstein data (#1028) * Quick fix for einstein data * Bump Version * Re-lock package-lock files with npm 8 * Update package-lock.json * Update einstein.js * Regenerate lock files (#1030) * Regenerate lock files * Bump version to 2.7.0-alpha.3 * Bump to 2.7.0 (#1032) * Begin development on 2.8.0 --------- Co-authored-by: Adam Raya <adamraya@users.noreply.github.com> Co-authored-by: Vincent Marta <vmarta@salesforce.com>
Configuration menu - View commit details
-
Copy full SHA for b638ce5 - Browse repository at this point
Copy the full SHA b638ce5View commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a402f66 - Browse repository at this point
Copy the full SHA a402f66View commit details
Commits on Mar 7, 2023
-
BUG: Changed type of the phone number field to bring up numberic keyb…
…oard on mobile devices - W-9871940 (#1016) Co-authored-by: Ben Chypak <bchypak@mobify.com>
Configuration menu - View commit details
-
Copy full SHA for 5cf7c06 - Browse repository at this point
Copy the full SHA 5cf7c06View commit details
Commits on Mar 8, 2023
-
Update Retail React App Page Designer integration README (#1041)
Co-authored-by: Richard Sexton <rsexton404@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ddf5805 - Browse repository at this point
Copy the full SHA ddf5805View commit details -
Configuration menu - View commit details
-
Copy full SHA for 246d484 - Browse repository at this point
Copy the full SHA 246d484View commit details
Commits on Mar 9, 2023
-
Allow query hook parameters to be
null
. (#1046)* Remove unused util. * Allow query hook parameters to be `null`.
Configuration menu - View commit details
-
Copy full SHA for fc789fe - Browse repository at this point
Copy the full SHA fc789feView commit details
Commits on Mar 12, 2023
-
Fix addresses not having preferred address first. (#1051)
* Fix addresses not having preferred address first. * Include all addresses, not just preferred address twice. * Correctly include preferred address.
Configuration menu - View commit details
-
Copy full SHA for c72bb52 - Browse repository at this point
Copy the full SHA c72bb52View commit details
Commits on Mar 13, 2023
-
Make
mergeBasket
Conditional More Robust (#1048)* Update merge logic * Update CHANGELOG.md * Lint * PR feedback * Rename isNewlyRegisters to isNew for simplicity * Lint
Configuration menu - View commit details
-
Copy full SHA for cf008cb - Browse repository at this point
Copy the full SHA cf008cbView commit details -
[commerce-sdk-react] Decode pre-fetched token and save auth data in s…
…torage (#1052) * add test * decode jwt data * lint * Update packages/commerce-sdk-react/src/auth/index.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * rename parseSlasJWT * Update packages/commerce-sdk-react/src/auth/index.test.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * convert all .thens to await * make fake token in tests more clear * lint --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 92c156e - Browse repository at this point
Copy the full SHA 92c156eView commit details -
Prevent modal to open when it fails to add an item to cart (#1053)
* prevent modal to open when it fails to add an item to cart * Update comment --------- Co-authored-by: Alex Vuong <alex.vuong@salesforce.com>
Configuration menu - View commit details
-
Copy full SHA for 9f3bc9e - Browse repository at this point
Copy the full SHA 9f3bc9eView commit details -
Fix
getConfig
referencing config from incorrect location (#1049)* Initial Commit * Update CHANGELOG.md * Revert some testing code * Get test coverage back up * Test build directory folder before proceeding.
Configuration menu - View commit details
-
Copy full SHA for a6c535b - Browse repository at this point
Copy the full SHA a6c535bView commit details
Commits on Mar 15, 2023
-
fix(template-retail-react-app): product-list refinements (#957)
* fix(template-retail-react-app): product-list refinements + Ensure that the `selectedFilters` provided to the `Refinements` value components is always an array. And update said value components (checkbox, color, radio & size) to handle always receiving an array. + Apply some loose equality checks, catering for cases where a refinement URL param is parsed as a number but the refinement `.value` is a stringified number. + Fix bug where non-multiple filters could not be unchecked by selecting themselves (e.g. clicking an already checked checkbox). + Fix bug where a refinement URL param is parsed as a number, but was handled as a string (with `.split()`). + Fix bug where radio refinements would still appear as checked after clearing the value via `SelectedRefinements`. + Deprecate unused proptypes in `SizeRefinements` * feat(retail-react-app): update `CheckboxRefinements` + Adjust the `onChange` logic so that multiple checkbox refinements can be selected --------- Co-authored-by: Ben Chypak <bchypak@mobify.com>
Configuration menu - View commit details
-
Copy full SHA for cd4e64f - Browse repository at this point
Copy the full SHA cd4e64fView commit details
Commits on Mar 16, 2023
-
update docs for shopper-experience scope (#1059)
* add docs for experience scope * Add `merge_group` event to trigger GA builds --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> Co-authored-by: Adam Raya Navarro <arayanavarro@salesforce.com>
Configuration menu - View commit details
-
Copy full SHA for 918f4e5 - Browse repository at this point
Copy the full SHA 918f4e5View commit details
Commits on Mar 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1acbf8f - Browse repository at this point
Copy the full SHA 1acbf8fView commit details
Commits on Mar 22, 2023
-
[commerce-sdk-react] Implement remaining Shopper Baskets cache logic (#…
…1070) * Refactor Shopper Basket cache following new pattern * Fix types * Update packages/commerce-sdk-react/src/hooks/ShopperBaskets/cache.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * PR Feedback * Clean up unused utils and types after refactor * Add missing response basketId to queryKey * Implement cache for the remaining mutations * Tests WIP * PR Feedback & Use query key path in `deleteBasket` cache * Add tests for mutations returning void response * PR Feedback * Remove unused `and` hooks util * Revert "Remove unused `and` hooks util" This reverts commit c0a364a. --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b11a91a - Browse repository at this point
Copy the full SHA b11a91aView commit details
Commits on Mar 23, 2023
-
[commerce-sdk-react] Fix Shopper Baskets Test case (#1082)
* Fix Shopper Basket empty response test cases * lint
Configuration menu - View commit details
-
Copy full SHA for 199e80f - Browse repository at this point
Copy the full SHA 199e80fView commit details -
feat(pwa-kit-dev): minor performance improvements and added comments (#…
…974) * feat(pwa-kit-dev): minor performance improvements and added comments * docs(pwa-kit-dev): clean up comments * refactor(pwa-kit-dev): update condition from PR feedback --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6f45b3b - Browse repository at this point
Copy the full SHA 6f45b3bView commit details -
* Remove internal packages to bypass lerna nonsense. Include output.json to make restoring deps easier. * Disable build scripts to make changing deps easier. * Update root deps. * Fix typescript issue. * Create restore script to restore internal deps/scripts. * Update commerce-sdk-react deps. * Update test-commerce-sdk-react deps. * Update template-typescript-minimal deps * Improve restore script. * Fix trailing comma. * Update template-retail-react-app deps * npm prune everything * Update pwa-kit-runtime deps * Update pwa-kit-react-sdk deps * Update pwa-kit-create-app deps * Update pwa-kit-dev deps (except eslint) * Update pwa-kit-dev eslint deps * Update internal-lib-build deps (except eslint) * Update pwa-kit eslint deps * Restore internal deps. * Restore build scripts. * Remove temporary helper files. * Bump ua-parser-js to avoid vulnerable version. * Anchor cross-env common dep to version used by internal-lib-build. * Re-enable eslint.
Configuration menu - View commit details
-
Copy full SHA for 3879413 - Browse repository at this point
Copy the full SHA 3879413View commit details
Commits on Mar 24, 2023
-
Implement Cache Logic for Shopper APIs (Contexts/Customers/Login/Orde…
…rs) (#1073) * Initial commit * Update packages/commerce-sdk-react/src/hooks/useAuthHelper.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * Update packages/commerce-sdk-react/src/hooks/ShopperOrders/cache.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * Update packages/commerce-sdk-react/src/hooks/ShopperOrders/cache.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * Added root to all query keys, use remove over clear * Remove previous impemented "clear" from utils * Initial tests for shoppercontexts * Update ShopperLogin tests * Fix order tests * Update packages/commerce-sdk-react/src/hooks/ShopperContexts/cache.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * Update cache.ts * Lint! * Update Json.tsx * Lint! * Testing race condition in tests * Re-add tests in other order. * Update CHANGELOG.md * Add todo to complete context cache work * Update packages/commerce-sdk-react/src/hooks/ShopperBaskets/mutation.test.ts Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * Update packages/commerce-sdk-react/src/components/ShopperExperience/Page/index.tsx Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * Update useAuthHelper.ts * Update packages/commerce-sdk-react/src/hooks/ShopperCustomers/cache.ts Co-authored-by: Adam Raya <adamraya@users.noreply.github.com> --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> Co-authored-by: Adam Raya <adamraya@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fb15f77 - Browse repository at this point
Copy the full SHA fb15f77View commit details
Commits on Mar 25, 2023
-
remove site alias and locale from location.state.directedFrom path (#…
…1065) * remove site alias and locale from location.state.directedFrom path * moving call to removeSiteLocaleFromPath into use-navigation hook * fixing failing test, added tests for removeSiteLocaleFromPath * per code review, skipping failed test instead of using mocking
Configuration menu - View commit details
-
Copy full SHA for 6b9d436 - Browse repository at this point
Copy the full SHA 6b9d436View commit details
Commits on Apr 6, 2023
-
Fix Page Designer ImageWithText Link component (#1092)
* Fix PD ImageWithText Link component by using Chakra UI Link * Use isAbsoluteURL to use react-router Link or Chakra Link component * PR Feedback * Clean up * Update packages/template-retail-react-app/app/page-designer/assets/image-with-text/index.jsx Co-authored-by: Ben Chypak <bchypak@mobify.com> * Remove temporal page-viewer page to facilitate review --------- Co-authored-by: Ben Chypak <bchypak@mobify.com>
Configuration menu - View commit details
-
Copy full SHA for 00ff2bd - Browse repository at this point
Copy the full SHA 00ff2bdView commit details
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a0d322a - Browse repository at this point
Copy the full SHA a0d322aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebb3a03 - Browse repository at this point
Copy the full SHA ebb3a03View commit details
Commits on May 1, 2023
-
Added session bridge call to login for phased launch (#1159)
* Added session bridge call to login for phased launch * Fix code smell for session-bridge in hybrid
Configuration menu - View commit details
-
Copy full SHA for 00cbf8c - Browse repository at this point
Copy the full SHA 00cbf8cView commit details
Commits on May 2, 2023
-
Fix multi-value query params being lost (#1150)
* Fix multi-value query params being lost * Update CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 580ed58 - Browse repository at this point
Copy the full SHA 580ed58View commit details
Commits on May 4, 2023
-
Snyk dependency updates (#1169)
* Dependency updates * Update runtime package lock * Bump cosmiconfig version to latest
Configuration menu - View commit details
-
Copy full SHA for 942acd2 - Browse repository at this point
Copy the full SHA 942acd2View commit details
Commits on May 5, 2023
-
[Hybrid] PWA Kit should have a mechanism for replacing the access tok…
…en when a SFRA login state is changed (#1171) * Implement mechanism to store refresh token copy and compare with sfra * Update tests and mocks for util function to check SFRA login state * Fix linting issues * FIx param types for util functionn * Rename old isTokenValid to isTokenExpired * Remove expiry for refresh_token in localstorage * Update packages/template-retail-react-app/app/commerce-api/utils.js Co-authored-by: Kevin He <kevin.he@salesforce.com> * fix test * Fix linting on use-auth-modal.test.js * Update hasSFRAStateChanged logic to compare keys and values * Fix linting --------- Co-authored-by: Kevin He <kevin.he@salesforce.com>
Configuration menu - View commit details
-
Copy full SHA for 744f9e4 - Browse repository at this point
Copy the full SHA 744f9e4View commit details
Commits on May 8, 2023
-
Add a redirect to login page after user signs out from checkout page (#…
…1172) * Add a redirect to login page after user signs out from checkout page * Update CHANGELOG.md * Remove history since navigate handles similarly
Configuration menu - View commit details
-
Copy full SHA for 0882a53 - Browse repository at this point
Copy the full SHA 0882a53View commit details
Commits on May 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0af8ed4 - Browse repository at this point
Copy the full SHA 0af8ed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 034b93d - Browse repository at this point
Copy the full SHA 034b93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 620cc47 - Browse repository at this point
Copy the full SHA 620cc47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f2b15 - Browse repository at this point
Copy the full SHA 23f2b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e453a62 - Browse repository at this point
Copy the full SHA e453a62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 985a7e0 - Browse repository at this point
Copy the full SHA 985a7e0View commit details -
Revert "Version bump to 2.7.1-preview.0"
This reverts commit 985a7e0.
Configuration menu - View commit details
-
Copy full SHA for f255afb - Browse repository at this point
Copy the full SHA f255afbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2c5f72 - Browse repository at this point
Copy the full SHA a2c5f72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bbbf61 - Browse repository at this point
Copy the full SHA 4bbbf61View commit details
Commits on May 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d9cfe50 - Browse repository at this point
Copy the full SHA d9cfe50View commit details -
Revert "Rebuild lock files and fix ShopperLogin mutation test"
This reverts commit d9cfe50.
Configuration menu - View commit details
-
Copy full SHA for bef9147 - Browse repository at this point
Copy the full SHA bef9147View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0effe5b - Browse repository at this point
Copy the full SHA 0effe5bView commit details -
[V2] Re-generate lock files and fix hook lib tests (#1186)
* re-generate lock files and fix test * Update packages/commerce-sdk-react/src/hooks/ShopperBaskets/index.test.ts * Rebuild lockfiles using node 14 npm 8 * Revert "Rebuild lockfiles using node 14 npm 8" This reverts commit 3d5c0cb. * Use pwa-kit-dev for lint and format * Revert "Use pwa-kit-dev for lint and format" This reverts commit f46d83e. * Add typescript to internal-lib-build and rebuild lock files --------- Co-authored-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com> Co-authored-by: vcua-mobify <vcua@salesforce.com>
Configuration menu - View commit details
-
Copy full SHA for 9f33b95 - Browse repository at this point
Copy the full SHA 9f33b95View commit details -
[V2] Internal lib build typescript dev dependency (#1194)
* Move typescript to dev and peer dependency * Update package lock file
Configuration menu - View commit details
-
Copy full SHA for f5b07a8 - Browse repository at this point
Copy the full SHA f5b07a8View commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2909010 - Browse repository at this point
Copy the full SHA 2909010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64077c6 - Browse repository at this point
Copy the full SHA 64077c6View commit details