4
0
forked from crowetic/commerce

996 Commits

Author SHA1 Message Date
okbel
de64b6d991 New changes and initial Features API 2021-02-12 17:10:17 -03:00
okbel
4dd2c3fde0 Wishlist 2021-02-12 16:49:32 -03:00
Luis Alvarez
b907c31ef2 Removed generics for result and body 2021-02-12 13:13:08 -05:00
Luis Alvarez
505d3fe04b Removed old use-data lib 2021-02-12 13:01:13 -05:00
Luis Alvarez
1549368c88 Moved useSearch to the new hook 2021-02-12 12:17:36 -05:00
Luis Alvarez
883fbcbcb9 Added a default fetcher 2021-02-11 13:35:17 -05:00
Luis Alvarez
d8de84bed1 Move useCustomer to the new hook 2021-02-11 13:26:09 -05:00
Luis Alvarez
8966f0b583 Moved useWishlist to use new handler 2021-02-11 02:43:09 -05:00
Luis Alvarez
271ed01631 Final touches to the hook handler type 2021-02-10 15:10:48 -05:00
Luis Alvarez
0eeb290eb0 Add more options to the hook handler 2021-02-10 10:51:46 -05:00
Luis Alvarez
5aecb0f303 Updated how the hook input is handled 2021-02-09 13:23:48 -05:00
Luis Alvarez
016be86d9a Added proper type for fetch input 2021-02-08 22:07:26 -05:00
Luis Alvarez
479b30ba5f Moved provider to its own file 2021-02-08 21:57:39 -05:00
Luis Alvarez
2a5cbadd3a Removed duplicated fetcher 2021-02-08 19:50:45 -05:00
Luis Alvarez
7f3174bcd0 Moved SwrOptions type 2021-02-08 18:13:29 -05:00
Luis Alvarez
82c5cd4aba Updated Fetcher type 2021-02-08 18:00:48 -05:00
Luis Alvarez
8bf42c3b50 Simplified useData types 2021-02-08 17:55:23 -05:00
Luis Alvarez
74c55cc50e Moved types 2021-02-08 17:16:45 -05:00
Luis Alvarez
17b336017c Improved HookHandler type 2021-02-08 11:16:14 -05:00
Luis Alvarez
25b14007da Removed old hook 2021-02-08 11:10:35 -05:00
Luis Alvarez
aab2e7f7cc Replace use-cart with the new hook 2021-02-08 10:52:35 -05:00
Luis Alvarez
2c9b8b100d MOving stuff around and adding temporal new files 2021-02-05 17:44:10 -05:00
Luis Alvarez
1898f094bc Minor change 2021-02-03 17:14:19 -05:00
Luis Alvarez
c06d9dae3a Merge branch 'master' of https://github.com/vercel/commerce into agnostic 2021-02-03 17:13:59 -05:00
Luis Alvarez
56ff15c91d Minor life improvement 2021-02-02 20:18:31 -05:00
Luis Alvarez
5cfa8241f6 Updated the useAddItem and useRemoveItem hooks 2021-02-02 20:16:47 -05:00
Luis Alvarez
023058dc0c Moved and updated cart types 2021-02-02 17:49:05 -05:00
Jamie Isaksen
7c70f645cc
Improve import statements (#191)
Co-authored-by: B <curciobelen@gmail.com>
2021-02-01 20:32:57 -03:00
Marcelo Fortunato
8b70794036
chore: Remove import never used (#189) 2021-02-01 20:32:28 -03:00
Luis Alvarez
e5f0809070 Improved types for operations 2021-01-29 19:24:10 -05:00
Luis Alvarez
172b413521 Making multiple changes 2021-01-29 16:45:50 -05:00
Luis Alvarez
1de3e76513 Switch away from global types 2021-01-29 11:30:17 -05:00
B
b7fbdc4e90
Update README.md 2021-01-29 12:01:56 -03:00
B
ec54b79d7a
Update README.md 2021-01-29 12:01:03 -03:00
B
3a7d5e2489
Latest Release (#187)
* Remove duplicated css rules. (#185)

* Fix typo in the Marquee component (#176)

Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>

* Remove duplicated css rules.
Fix invalid JSX props.

Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>

* Fix the body scroll when the sidebar is open (#184)

* Fix typo in the Marquee component (#176)

Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>

* Fix the body scroll when the sidebar is open

Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>

* Remove duplicate class in the I18nWidget comp (#183)

* Fix typo in the Marquee component (#176)

Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>

* Remove duplicate class name in the I18nWidget comp

This PR removes a duplicate class name in the I18nWidget component.

Co-authored-by: Hugo Lopes <hugo.rodrigues.lopes@gmail.com>
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>

* add horizontal margin to pages when mobile screen (#180)

* Add cart item options like color and size (#177)

Co-authored-by: hlopes <hugo.lopes@present-technologies.com>

* Changes

Co-authored-by: Hugo Lopes <hugo.rodrigues.lopes@gmail.com>
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com>
Co-authored-by: Jamie Isaksen <jamie@jamie.no>
Co-authored-by: Vinicius Zucatti <51221635+vczb@users.noreply.github.com>
2021-01-29 12:00:16 -03:00
Luis Alvarez
2ffe1ab71b Removed import 2021-01-28 19:00:26 -05:00
Luis Alvarez
f541a545f9 Updated cart update hooks 2021-01-28 18:37:07 -05:00
Luis Alvarez
59a4535f0e More corrections for useCart 2021-01-28 18:34:44 -05:00
Luis Alvarez
3e27b80658 Added new normalizer for the cart to the UI 2021-01-28 15:54:17 -05:00
Leah Wagner
08a6b2efcf
Issue/79 fallback image (#179)
* Filter products from the homepage grid display when they do not have and image. Provide a fallback/placeholder image for the ProductCard for when a product does not have an image.

* Avoid repeating placeholder image reference and move to a variable

* Remove filter to avoid additional computations as per https://github.com/vercel/commerce/pull/80#discussion_r531142893. Placeholder images will display as fallback.

* Filter products from the homepage grid display when they do not have and image. Provide a fallback/placeholder image for the ProductCard for when a product does not have an image.

* Avoid repeating placeholder image reference and move to a variable

* Remove filter to avoid additional computations as per https://github.com/vercel/commerce/pull/80#discussion_r531142893. Placeholder images will display as fallback.

* Remove comment about filter. Code removed so no longer needed.

Co-authored-by: B <curciobelen@gmail.com>
2021-01-28 12:09:28 -05:00
Luis Alvarez
7cf1ace9fb Updated normalizer for useData 2021-01-27 15:41:04 -05:00
Luis Alvarez
61fa423673 updated useCart types 2021-01-26 17:10:33 -05:00
Luis Alvarez
7edd5aa182 Moved normalizer to happen after fetch 2021-01-25 16:58:19 -05:00
Luis Alvarez
1588fcf6bb Minor changes 2021-01-25 15:03:59 -05:00
Luis Alvarez
905d0324f0 Moved types.d.ts to the commerce folder 2021-01-25 14:50:04 -05:00
Luis Alvarez
a49d0a18f8 Added more cart types 2021-01-25 13:51:15 -05:00
Luis Alvarez
8784e05183 Ran prettier fix 2021-01-22 12:17:39 -05:00
Luis Alvarez
bccef99c35 Added husky and lint-staged 2021-01-22 12:13:34 -05:00
mohammadou1
027c4aca70
@hotfix/fixing brand id in use-search (#174)
to set searchParam brand, should check brandId and not categoryId

Co-authored-by: mohux <m.alolabi@uxbert.com>
2021-01-22 13:59:25 -03:00
Luis Alvarez
fc104c6caf added useResponse to useWhishlist 2021-01-22 10:51:49 -05:00