Commit 6f65b9a
Merge standard products feature into develop @W-18912410 (#2697)
* Support standard product on PDP @W-12360908 (#2518)
* update handleAddToCart and validate orderability
* remove bundle changes, template test, and project config
* add fallback if no image
* linting
* add validateOrderability tests
* reorganize tests
* fix lint errors
* update validateOrderability logic
* add product-detail tests
* fix modal image link
* add modal tests
* changelog
* pr suggestions
* Handle SDK Client not initialized
* Added tests for useResolvedClient
* Handle missing SDK Client ShopperContext
* ShopperCustomers - Handle SDK Client no init
* ShopperExperience - Handle missing SDK Client
* ShopperGiftCertificates - Handle missing SDK Client
* ShopperLogin: Handle missing SDK client
* ShopperOrders - Handle Missing SDK Client
* ShopperProducts: Handle missing SDK Client
* ShopperPromotions: Handle missing SDK client
* ShopperSearch - Handle missing SDK Client
* ShopperSEO: Handle missing SDK Client
* ShopperStores: Handle missing SDK Client
* Fix linting errors
* Update useResolvedClient tests
* Update changelog
* Update changelog
* Extract CLIENT_KEY literal to constnt
* Remove additional hook for client validation
* Fix linting
* Add comments
* rename apiClients variable to add clarity
Co-authored-by: Kevin He <[email protected]>
Signed-off-by: Jainam Sheth <[email protected]>
* update variable name for apiClients
* Update sample query implementation in query.ts
* Initial Commit
Follow `plugin_einstein_api` implementation for event data creation.
* Update CHANGELOG.md
* Add some additional tests
* PR Feedback
* Fix bar reference to master.variantId
* feat: cursor rules for unit tests
* Update change log
* Support standard product on PDP @W-12360908 (#2518)
* update handleAddToCart and validate orderability
* remove bundle changes, template test, and project config
* add fallback if no image
* linting
* add validateOrderability tests
* reorganize tests
* fix lint errors
* update validateOrderability logic
* add product-detail tests
* fix modal image link
* add modal tests
* changelog
* pr suggestions
* Resolve merge conflict
* Update files with conflicts
* omg so we're not adding these
* merge develop into standard product feature branch (#2626)
* Handle SDK Client not initialized
* Added tests for useResolvedClient
* Handle missing SDK Client ShopperContext
* ShopperCustomers - Handle SDK Client no init
* ShopperExperience - Handle missing SDK Client
* ShopperGiftCertificates - Handle missing SDK Client
* ShopperLogin: Handle missing SDK client
* ShopperOrders - Handle Missing SDK Client
* ShopperProducts: Handle missing SDK Client
* ShopperPromotions: Handle missing SDK client
* ShopperSearch - Handle missing SDK Client
* ShopperSEO: Handle missing SDK Client
* ShopperStores: Handle missing SDK Client
* Fix linting errors
* Update useResolvedClient tests
* Update changelog
* implemented the voiceover feature for the email confirmation modal on PWA kit.
* Update changelog
* Extract CLIENT_KEY literal to constnt
* updated the chanege log file to point to current changes and saved changes to email confirmation modal code
* linted the files and built translations
* changed role and aria label tags to solve unsuccessful check issues
* Implemented changes to create more successful checks after facing a testing Library ElementError: Found multiple elements with the text: /check your email/i
* Linted my files
* Remove additional hook for client validation
* Fix linting
* Add comments
* rename apiClients variable to add clarity
Co-authored-by: Kevin He <[email protected]>
Signed-off-by: Jainam Sheth <[email protected]>
* update variable name for apiClients
* linted more files to fix unsuccessful check error
* linted more files to fix unsuccessful check error
* Update packages/template-retail-react-app/CHANGELOG.md
Co-authored-by: Yuna Kim <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
* taking off the visible focus outline around the modal border
* Initial Commit
Follow `plugin_einstein_api` implementation for event data creation.
* Update CHANGELOG.md
* Update CHANGELOG.md
* Add some additional tests
* PR Feedback
* adding an a11y tag to changes made docuemented in the change log reading document
* Fix bar reference to master.variantId
* removed redundant aria label that repeating email confirmation title
* mitigating the need for additional translations
* feat: cursor rules for unit tests
* Update packages/template-retail-react-app/CHANGELOG.md
Co-authored-by: Yuna Kim <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
* Update packages/template-retail-react-app/CHANGELOG.md
Co-authored-by: Yuna Kim <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
* Update change log
* Fixing bad merge
* Update sample query implementation in query.ts
* [Fix E2E Tests] Improve E2E Test and Tracking Consent Banner Handling (@W-18764173@) (#2575)
* Improve e2e tests and Tracking Consent banner handling
* Clean up
* More clean up
* Remove spacing changes
* PR Feedback
* Remove comments
* rules only
* Update translations (#2616)
* update translations
* @W-18541294@ Private client proxy updates (#2608)
* Ensure only requests to /shopper/auth/ are allowed by the SLAS private client proxy
* Remove console.logs
* Stop swallowing errors from SLAS
* Update CHANGELOG.md
* Fix login and logout
* Remove console logs
* Lint
* Add and fix tests
* Cleanup regex
---------
Signed-off-by: Jainam Sheth <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
Signed-off-by: Ben Chypak <[email protected]>
Co-authored-by: Jainam Sheth <[email protected]>
Co-authored-by: Jainam Sheth <[email protected]>
Co-authored-by: Larnelle Ankunda <[email protected]>
Co-authored-by: Kevin He <[email protected]>
Co-authored-by: Yuna Kim <[email protected]>
Co-authored-by: Ben Chypak <[email protected]>
Co-authored-by: Ben Chypak <[email protected]>
Co-authored-by: Shailesh Zirpe <[email protected]>
Co-authored-by: Shailesh Zirpe <[email protected]>
Co-authored-by: Adam Raya <[email protected]>
Co-authored-by: Alex Vuong <[email protected]>
Co-authored-by: vcua-mobify <[email protected]>
* @W-12360935 Modify the Product Card to support standard products (#2581)
* remove 'edit'for std prd | Add unit tests
* update changelog
* lint fixes
* show Edit button on bundleProducts
* handle empty product bundles
* better determination of if-standardProduct
---------
Signed-off-by: sf-shikhar-prasoon <[email protected]>
* udpate changelog to resolve conflict
* udpate changelog to resolve conflict 2
* udpate changelog to resolve conflict 3
* oops
* Merge develop into standard-product-support (#2633)
* Handle SDK Client not initialized
* Added tests for useResolvedClient
* Handle missing SDK Client ShopperContext
* ShopperCustomers - Handle SDK Client no init
* ShopperExperience - Handle missing SDK Client
* ShopperGiftCertificates - Handle missing SDK Client
* ShopperLogin: Handle missing SDK client
* ShopperOrders - Handle Missing SDK Client
* ShopperProducts: Handle missing SDK Client
* ShopperPromotions: Handle missing SDK client
* ShopperSearch - Handle missing SDK Client
* ShopperSEO: Handle missing SDK Client
* ShopperStores: Handle missing SDK Client
* Fix linting errors
* Update useResolvedClient tests
* Update changelog
* implemented the voiceover feature for the email confirmation modal on PWA kit.
* Update changelog
* Extract CLIENT_KEY literal to constnt
* updated the chanege log file to point to current changes and saved changes to email confirmation modal code
* linted the files and built translations
* changed role and aria label tags to solve unsuccessful check issues
* Implemented changes to create more successful checks after facing a testing Library ElementError: Found multiple elements with the text: /check your email/i
* Linted my files
* Remove additional hook for client validation
* Fix linting
* Add comments
* rename apiClients variable to add clarity
Co-authored-by: Kevin He <[email protected]>
Signed-off-by: Jainam Sheth <[email protected]>
* update variable name for apiClients
* linted more files to fix unsuccessful check error
* linted more files to fix unsuccessful check error
* Update packages/template-retail-react-app/CHANGELOG.md
Co-authored-by: Yuna Kim <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
* taking off the visible focus outline around the modal border
* Initial Commit
Follow `plugin_einstein_api` implementation for event data creation.
* Update CHANGELOG.md
* Update CHANGELOG.md
* Add some additional tests
* PR Feedback
* adding an a11y tag to changes made docuemented in the change log reading document
* Fix bar reference to master.variantId
* removed redundant aria label that repeating email confirmation title
* mitigating the need for additional translations
* feat: cursor rules for unit tests
* Update packages/template-retail-react-app/CHANGELOG.md
Co-authored-by: Yuna Kim <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
* Update packages/template-retail-react-app/CHANGELOG.md
Co-authored-by: Yuna Kim <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
* Update change log
* Fixing bad merge
* Update sample query implementation in query.ts
* [Fix E2E Tests] Improve E2E Test and Tracking Consent Banner Handling (@W-18764173@) (#2575)
* Improve e2e tests and Tracking Consent banner handling
* Clean up
* More clean up
* Remove spacing changes
* PR Feedback
* Remove comments
* rules only
* Update translations (#2616)
* update translations
* @W-18541294@ Private client proxy updates (#2608)
* Ensure only requests to /shopper/auth/ are allowed by the SLAS private client proxy
* Remove console.logs
* Stop swallowing errors from SLAS
* Update CHANGELOG.md
* Fix login and logout
* Remove console logs
* Lint
* Add and fix tests
* Cleanup regex
* skip changelog
---------
Signed-off-by: Jainam Sheth <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
Signed-off-by: Ben Chypak <[email protected]>
Co-authored-by: Jainam Sheth <[email protected]>
Co-authored-by: Jainam Sheth <[email protected]>
Co-authored-by: Larnelle Ankunda <[email protected]>
Co-authored-by: Kevin He <[email protected]>
Co-authored-by: Yuna Kim <[email protected]>
Co-authored-by: Ben Chypak <[email protected]>
Co-authored-by: Ben Chypak <[email protected]>
Co-authored-by: Shailesh Zirpe <[email protected]>
Co-authored-by: Shailesh Zirpe <[email protected]>
Co-authored-by: Adam Raya <[email protected]>
Co-authored-by: Alex Vuong <[email protected]>
Co-authored-by: vcua-mobify <[email protected]>
* Support standard product as a child item in bundles @W-18790730 (#2574)
* init commit
* skip variation check for standard product
* update modal logic
* add product view test
* add to cart modal test
* add product detail test
* update add to cart modal test
* add product util test
* update changelog
* fix edit bundle
* lint
* Handle standard product shape in sendAddToCart
* Update CHANGELOG.md
* Support standard product as a child item in sets @W-18790730 (#2636)
* fix adding set to cart
* updae changelog
* udpate util test
* Add test
* Lint tests
* @W-18767088 refactor add to cart
* @W-18767088 refactor add to cart
* @W-18767088 fix lint errors
* @W-18767088 do not move handleChildProductValidation
* @W-12360935 2nd PR- fixing Edit button appearing briefly for standard products (#2649)
* fix Edit button appearing briefly
* fix tests
* @W-18767088 utils rename
* Revert CHANGELOG.md
Signed-off-by: sf-emmyzhang <[email protected]>
* increase bundle size for ci error
* update use add to cart modal unit test
* revert auto merge change
* add image placeholder todo
* rename bundleChildVariant
* revert refactor work
* add bundle test
* lint
* update test
* lint
* Handle out of stock for standard product
* tests and linting
* handle lack of type
---------
Signed-off-by: Jainam Sheth <[email protected]>
Signed-off-by: Larnelle Ankunda <[email protected]>
Signed-off-by: Ben Chypak <[email protected]>
Signed-off-by: sf-shikhar-prasoon <[email protected]>
Signed-off-by: Kyle Wright <[email protected]>
Signed-off-by: sf-emmyzhang <[email protected]>
Co-authored-by: Jainam Sheth <[email protected]>
Co-authored-by: Jainam Sheth <[email protected]>
Co-authored-by: Kevin He <[email protected]>
Co-authored-by: Ben Chypak <[email protected]>
Co-authored-by: Shailesh Zirpe <[email protected]>
Co-authored-by: Larnelle Ankunda <[email protected]>
Co-authored-by: Yuna Kim <[email protected]>
Co-authored-by: Ben Chypak <[email protected]>
Co-authored-by: Shailesh Zirpe <[email protected]>
Co-authored-by: Adam Raya <[email protected]>
Co-authored-by: Alex Vuong <[email protected]>
Co-authored-by: vcua-mobify <[email protected]>
Co-authored-by: sf-shikhar-prasoon <[email protected]>
Co-authored-by: Jang ho Jung <[email protected]>
Co-authored-by: Kyle Wright <[email protected]>
Co-authored-by: jeremy-jung1 <[email protected]>
Co-authored-by: Kyle Wright <[email protected]>1 parent 1def99b commit 6f65b9a
File tree
18 files changed
+1967
-369
lines changed- packages/template-retail-react-app
- app
- components
- product-view-modal
- product-view
- hooks
- mocks
- pages
- cart/partials
- product-detail
- utils
18 files changed
+1967
-369
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
451 | 457 | | |
452 | 458 | | |
453 | 459 | | |
454 | | - | |
| 460 | + | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
Lines changed: 70 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
169 | 184 | | |
170 | 185 | | |
171 | 186 | | |
| |||
187 | 202 | | |
188 | 203 | | |
189 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
Lines changed: 26 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
130 | 143 | | |
131 | 144 | | |
132 | 145 | | |
| |||
169 | 182 | | |
170 | 183 | | |
171 | 184 | | |
172 | | - | |
173 | | - | |
| 185 | + | |
| 186 | + | |
174 | 187 | | |
175 | 188 | | |
176 | 189 | | |
| |||
223 | 236 | | |
224 | 237 | | |
225 | 238 | | |
226 | | - | |
| 239 | + | |
227 | 240 | | |
228 | 241 | | |
229 | 242 | | |
| |||
292 | 305 | | |
293 | 306 | | |
294 | 307 | | |
295 | | - | |
| 308 | + | |
296 | 309 | | |
297 | 310 | | |
298 | 311 | | |
| |||
390 | 403 | | |
391 | 404 | | |
392 | 405 | | |
393 | | - | |
| 406 | + | |
394 | 407 | | |
395 | 408 | | |
396 | 409 | | |
| |||
402 | 415 | | |
403 | 416 | | |
404 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
405 | 424 | | |
406 | 425 | | |
407 | 426 | | |
| |||
0 commit comments