eCommerce Application Sprint#1#5
Open
color-zebra wants to merge 15 commits into
Open
Conversation
* docs[1.1.1]: add PR template * docs[1.1.1]: add Storybook section * docs[1.1.1]: add internet links section
* init[1.1.4]: create Vite project * init[1.4.2]: add noImplicitAny rule * refactor[1.4]: remove unnecessary react fragment * chore[1.4.1]: switch to Babel from SWC
* feat[5.1]: add storybook to project * feat[1.4.3]: add jest, sass and react-testing-library * feat[1.4]: configure eslint and prettier * feat[5.4]: add and configure tailwind * feat[1.6]: Comprehensive readme * fix: add missing new lines in the end of files * fix[1.6]: fix readme grammatic * feat[1.1.2]: add basic FSD folders structure
* chore[2.4]: add folders for page components * feat[2.4]: add router * feat[2.4]: add tests
* fix[6.1]: change printWidth prettier from 120 to 80 * feat[6.1]: add and configure eslint-prettier-plugin * feat[6.1]: add script for ESLint autofix * docs[6.1]: describe new script in docs * fix[6.1]: fix conflict between ESLint and Prettier * fix[6.1]: disable brackets same line rule
* feat[2.6]: add not found page * feat[2.6]: add tests * feat[2.6]: add stories * fix[2.6]: delete useless comment
This reverts commit e74a8c5.
* chore[2]: add clsx to project * chore[2]: install clsx, config prettier * docs[2]: add clsx to tech stack * feat[2.2]: add registration page * feat[2.2.1]: add fields for first step of form * feat[2.2.1]: add react-hook-form * feat[2.2.1]: add email validation * feat[2.2.1]: add password validation (with confirm) * feat[2.2.1]: add name and birth date validation * feat[2.2.1]: add second part of form * feat[2.2.2]: add double-step logic * fix[2.2]: reinstall react-hook-form in right directory * feat[2.2.3]: add creating new user feature * feat[2.2.4]: add server's error handling * fix[2.2]: remove useless package json * feat[2.2.6]: add back to first step feature * doc[2.2]: add react-hook-form to stack * fix[2.2]: fix all issues from PR comments * feat[2.6]: add not found page * feat[2.6]: add not found page * feat[2.6]: add tests * feat[2.6]: add stories * fix[2.6]: delete useless comment * feat[2.1]: create TextInput UI component * feat[2.1]: create TextInput UI component * test[2.1]: add tests for TextInput * feat[2.1]: add props for TextInput component * feat[2.1]: add colors for TextInput component * feat[2]: create Header6 component * feat[2]: create Header6 component * fix[2]: correct props and styles * fix[2]: change Header6 to Header5 and some minor mistakes * fix[2]: change header6 to header5 * fix[2]: remove a test header from login page * fix[2]: correct test for App * feat[2.1]: login page * feat[2.1]: add base login logic * feat[2.1]: add redux-toolkit * feat[2.1, 2.2]: improve ServerAPI to getting customer info * feat: implement logout functional * feat[2.1.6]: add redirection from login page for users who already logged in * feat[2.2.5]: add redirection and auto login after registration * fix[2.1,2.2]: fix tests * fix[2.1, 2.2]: remove useless console log * fix[2.1]: fix wrong conflict resolving * fix[2.1]: remove commented code * feat[2.1.8]: add link to registration page * feat[2.2.8]: add link to login page * feat[2.2.6]: change US to IT in countries list * feat[2.5]: create header * feat[2.1]: add base login logic * feat[2.1]: add redux-toolkit * feat[2.1, 2.2]: improve ServerAPI to getting customer info * feat: implement logout functional * feat[2.1.6]: add redirection from login page for users who already logged in * feat[2.2.5]: add redirection and auto login after registration * fix[2.1,2.2]: fix tests * fix[2.1, 2.2]: remove useless console log * fix[2.1]: fix wrong conflict resolving * feat[2.5]: add desktop styles * fix[2.1]: remove commented code * feat[2.5]: add burger * fix[2.5]: remove useless console log --------- Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> * feat[2]: create UI for Registration and Login forms * feat[2.1]: add base login logic * feat[2]: create abstract Text component * feat[2.1]: add redux-toolkit * feat[2]: create getTextStyles and getButtonStyles * feat[2.1, 2.2]: improve ServerAPI to getting customer info * feat: implement logout functional * feat[2.1.6]: add redirection from login page for users who already logged in * feat[2.2.5]: add redirection and auto login after registration * fix[2.1,2.2]: fix tests * fix[2.1, 2.2]: remove useless console log * fix[2.1]: fix wrong conflict resolving * feat[2]: style first step of registration form * feat[2.5]: add desktop styles * fix[2.1]: remove commented code * fix[2.1]: remove commented code * feat[2.1.8]: add link to registration page * feat[2.2.8]: add link to login page * feat[2.2.6]: change US to IT in countries list * feat[2.5]: add burger * fix[2.5]: remove useless console log * feat[2]: style second step of registration form * fix: get back the right order of form steps * feat[2]: style link to login at registration * feat[2]: style login page * feat[2]: style colors in spinner * feat[2]: style error displayed if user registered * refactor: move Routes to AppComponent from Header * feat[2]: style Main page header --------- Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru> Co-authored-by: Color-zebra <95714282+Color-zebra@users.noreply.github.com> * fix[6.2]: fix bugs * fix: fix paths * feat: add favicon * fix: fix email validation * fix: fix option of same billing and shipping addresses * fix: fix password validation (allow spaces in password body and ban trailing whitespaces) * fix: fix tests * fix: fix routing and tests * fix: fix browser router * fix: delete commented code * feat: add popup * fix: fix grammar mistake Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> * fix: fix grammar mistake Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> --------- Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> * feat[2]: add password eye feature * feat[2]: add eye icon for password showing * fix[2]: remove unneeded code * fix[2]: correct styles on Not Found page * fix[2]: correct styles on Not Found page * fix[2]: remove unneeded code * fix[2]: fix password eye bug * fix: fix password eye submit form bug * fix: remove commented code * feat[2]: add links on main page * feat[2]: add button on main page * fix[2]: remove burger onclick from logo * fix[2]: cross check bug fix * fix: add missing links on main page * fix: fix email validation * fix: fix issues * fix[2]: correct nav items * fix[2]: fix styles for text input and eye (#27) * fix[2]: add appearance-none to input * fix[2]: correct input layout * fix[2]: make password eye responsive --------- Co-authored-by: Color-zebra <95714282+Color-zebra@users.noreply.github.com> Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru>
* chore[2]: add clsx to project * chore[2]: install clsx, config prettier * docs[2]: add clsx to tech stack * feat[2.2]: add registration page * feat[2.2.1]: add fields for first step of form * feat[2.2.1]: add react-hook-form * feat[2.2.1]: add email validation * feat[2.2.1]: add password validation (with confirm) * feat[2.2.1]: add name and birth date validation * feat[2.2.1]: add second part of form * feat[2.2.2]: add double-step logic * fix[2.2]: reinstall react-hook-form in right directory * feat[2.2.3]: add creating new user feature * feat[2.2.4]: add server's error handling * fix[2.2]: remove useless package json * feat[2.2.6]: add back to first step feature * doc[2.2]: add react-hook-form to stack * fix[2.2]: fix all issues from PR comments * feat[2.6]: add not found page * feat[2.6]: add not found page * feat[2.6]: add tests * feat[2.6]: add stories * fix[2.6]: delete useless comment * feat[2.1]: create TextInput UI component * feat[2.1]: create TextInput UI component * test[2.1]: add tests for TextInput * feat[2.1]: add props for TextInput component * feat[2.1]: add colors for TextInput component * feat[2]: create Header6 component * feat[2]: create Header6 component * fix[2]: correct props and styles * fix[2]: change Header6 to Header5 and some minor mistakes * fix[2]: change header6 to header5 * fix[2]: remove a test header from login page * fix[2]: correct test for App * feat[2.1]: login page * feat[2.1]: add base login logic * feat[2.1]: add redux-toolkit * feat[2.1, 2.2]: improve ServerAPI to getting customer info * feat: implement logout functional * feat[2.1.6]: add redirection from login page for users who already logged in * feat[2.2.5]: add redirection and auto login after registration * fix[2.1,2.2]: fix tests * fix[2.1, 2.2]: remove useless console log * fix[2.1]: fix wrong conflict resolving * fix[2.1]: remove commented code * feat[2.1.8]: add link to registration page * feat[2.2.8]: add link to login page * feat[2.2.6]: change US to IT in countries list * feat[2.5]: create header * feat[2.1]: add base login logic * feat[2.1]: add redux-toolkit * feat[2.1, 2.2]: improve ServerAPI to getting customer info * feat: implement logout functional * feat[2.1.6]: add redirection from login page for users who already logged in * feat[2.2.5]: add redirection and auto login after registration * fix[2.1,2.2]: fix tests * fix[2.1, 2.2]: remove useless console log * fix[2.1]: fix wrong conflict resolving * feat[2.5]: add desktop styles * fix[2.1]: remove commented code * feat[2.5]: add burger * fix[2.5]: remove useless console log --------- Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> * feat[2]: create UI for Registration and Login forms * feat[2.1]: add base login logic * feat[2]: create abstract Text component * feat[2.1]: add redux-toolkit * feat[2]: create getTextStyles and getButtonStyles * feat[2.1, 2.2]: improve ServerAPI to getting customer info * feat: implement logout functional * feat[2.1.6]: add redirection from login page for users who already logged in * feat[2.2.5]: add redirection and auto login after registration * fix[2.1,2.2]: fix tests * fix[2.1, 2.2]: remove useless console log * fix[2.1]: fix wrong conflict resolving * feat[2]: style first step of registration form * feat[2.5]: add desktop styles * fix[2.1]: remove commented code * fix[2.1]: remove commented code * feat[2.1.8]: add link to registration page * feat[2.2.8]: add link to login page * feat[2.2.6]: change US to IT in countries list * feat[2.5]: add burger * fix[2.5]: remove useless console log * feat[2]: style second step of registration form * fix: get back the right order of form steps * feat[2]: style link to login at registration * feat[2]: style login page * feat[2]: style colors in spinner * feat[2]: style error displayed if user registered * refactor: move Routes to AppComponent from Header * feat[2]: style Main page header --------- Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru> Co-authored-by: Color-zebra <95714282+Color-zebra@users.noreply.github.com> * fix[6.2]: fix bugs * fix: fix paths * feat: add favicon * fix: fix email validation * fix: fix option of same billing and shipping addresses * fix: fix password validation (allow spaces in password body and ban trailing whitespaces) * fix: fix tests * fix: fix routing and tests * fix: fix browser router * fix: delete commented code * feat: add popup * fix: fix grammar mistake Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> * fix: fix grammar mistake Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> --------- Co-authored-by: Aleksei Fedorenko <117395871+fedorenksei@users.noreply.github.com> * feat[2]: add password eye feature * feat[2]: add eye icon for password showing * fix[2]: remove unneeded code * fix[2]: correct styles on Not Found page * fix[2]: correct styles on Not Found page * fix[2]: remove unneeded code * fix[2]: fix password eye bug * fix: fix password eye submit form bug * fix: remove commented code * feat[2]: add links on main page * feat[2]: add button on main page * fix[2]: remove burger onclick from logo * fix[2]: cross check bug fix * fix: add missing links on main page * fix: fix email validation * fix: fix issues * fix[2]: correct nav items * fix[2]: fix styles for text input and eye (#27) * fix[2]: add appearance-none to input * fix[2]: correct input layout * fix[2]: make password eye responsive * feat[3.3]: add profile page with personal info * feat[3.3]: add address management to profile page * feat[3.3]: add personal data section * feat: implement viewing and changes addresses * feat[3.3]: implement adding a new address * feat[3.3]: add shipping, billing and default editing * feat[3.3]: add delete button * feat[3.1]: add Catalog page * feat[3.0]: add Products component * feat[3.0]: add Categories component * feat[3.0]: add changing url on category click * feat[3.0]: add highlighting for active category * feat[3.0]: add highlighting for active category * feat[3.1]: implement products fetching * feat[3.0]: add redirection from link with wrong category * feat[3.8]: implemet fetching products by categories * fix[3.0]: fix ESLint warning for dependencies in useEffect * feat[3.1]: add search, filter and sort empty components * feat[3.1]: add facets * feat[3.1]: implement getting filter params * feat: add filters params to store * feat[3.1]: add categories to store * feat: add price range filter * feat[3.0]: implement searching * feat[3.1]: implement sorting * feat[3.1]: add pagination * fix[3.1]: fix pagination * feat[3.1]: add desc, image link and price to product card * fix[3.1]: fix issues and pagination * feat[3.0]: migrate from test BD * feat(3.3): password changing * feat(3.3): implement password changing * fix(3.3): add failure messages for updating operations * feat(3.3): add password confirmation before change * feat(3.3): add link to login for not authorized user * feat[3.3]: add detailed Product page * feat[3.3]: add route and empty component * fix[3.3]: fix getting param * feat[3.3]: get data for next component creating * fix[3.3]: fix price * fix: fix links section * feat(3.2): add basic layout of product page * feat(3.2): add image slider of product page * feat(3.3): make slider * feat(3.3): make popup * feat(3.3): make popup full-scale slider --------- Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru> * feat[3.1]: style catalog page * feat[3.3]: add route and empty component * fix[3.3]: fix getting param * feat[3.3]: get data for next component creating * fix[3.3]: fix price * fix: fix links section * feat(3.1): add basic layout * feat(3.1): add card style * feat(3.1): add filters styles * fix: prepare for deploy * feat(3.1): add pagination styles * feat(3.1): style product search * feat(3.1): style product sort * feat(3.1): style categories * fix(3.1): style filter values buttons * feat(3.2): add basic layout of product page * feat(3.2): add image slider of product page * fix(3): move preflight to main.tsx * Revert "fix(3): move preflight to main.tsx" This reverts commit 6cfc3be. * fix(3.3): fix changing password section * fix[3.0]: fix render before preflight * fix[3.0]: remove useless useEffect * refactor(3): rename file and component ProductFilters * fix(3.3): add links into header * feat(3.3): make slider * feat(3.3): make popup * fix(3.3): use address id in key * feat(3.3): make popup full-scale slider * fix(3.2): try to fix slider for firefox * fix[3.3]: add auto redirecting to login from profile * refactor[3]: delete console.log's --------- Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru> --------- Co-authored-by: Color-zebra <95714282+Color-zebra@users.noreply.github.com> Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru>
* fix[3]: fix issues after sprint 3 * fix[3]: fix searching and sorting by brand * fix[3]: fix sorting options naming * fix[3]: display price in euros in range filter * refactor[3]: delete unneeded files * feat[4.3]: reflow auth, add anonyms, rename methods * feat[4.3]: add cart fetching and cart slice * refactor[4.3]: refactor minor issues * fix[3]: renew cart when logging in or out * feat[4.2]: add to cart action * fix: unused code removed * fix[4.2]: add cart version * feat[4.3]: fetch, store and render codes on main * fix[4.2]: update the state after adding a product * feat[4.3]: style code banner on main * feat[4.3]: add input for discount code * feat[4.3]: implement activation of discount code * feat[4.2]: add delete item from cart * fix[4.2]: remove type any * feat[4.2]: add counter * feat[4.2]: button to add, delete to cart * fix[4.2]: style button "plus" * feat[4.2]: Detailed Enhancements finished * feat[4.1] add button to producy card * fix[4.1] fix button position * fix[4.1]: remove consol log and minor fix * fix[4.1]: fix name and minor error * feat[4.3]: edit auth, add cart creation & storing * feat[4.3]: reflow auth, add anonyms, rename methods * feat[4.3]: add cart fetching and cart slice * refactor[4.3]: refactor minor issues * fix[3]: renew cart when logging in or out * perf[4]: use async IIFE in main.tsx * perf[4]: remove redundant await from init() * feat[4]: hold anonymous id through log in/out * refactor[4.3]: isolate user restoring logic * fix[4.3]: make log in after reload * feat[4.3]: add cart discounts * feat[4.3]: reflow auth, add anonyms, rename methods * feat[4.3]: add cart fetching and cart slice * refactor[4.3]: refactor minor issues * fix[3]: renew cart when logging in or out * feat[4.2]: add to cart action * fix: unused code removed * fix[4.2]: add cart version * feat[4.3]: fetch, store and render codes on main * fix[4.2]: update the state after adding a product * feat[4.3]: style code banner on main * feat[4.3]: add input for discount code * feat[4.3]: implement activation of discount code * fix: [4.3]: delete unneeded property * feat: [4.3]: display applied code and add cancel * perf[4]: use async IIFE in main.tsx * perf[4]: remove redundant await from init() * feat[4]: hold anonymous id through log in/out * refactor[4.3]: isolate user restoring logic * fix[4.3]: make log in after reload --------- Co-authored-by: @Nickbis <nickbis3@gmail.com> * feat[4.6]: add basket and about us to header navigation * feat[4.3]: reflow auth, add anonyms, rename methods * feat[4.3]: add cart fetching and cart slice * refactor[4.3]: refactor minor issues * fix[3]: renew cart when logging in or out * perf[4]: use async IIFE in main.tsx * perf[4]: remove redundant await from init() * feat[4]: hold anonymous id through log in/out * refactor[4.3]: isolate user restoring logic * fix[4.3]: make log in after reload * feat[4.6]: install icons, use in header * Revert "feat[4.6]: install icons, use in header" This reverts commit d4c8dcd. * feat[4.6]: install react isons, use in header * fix[4.6]: adjust according to tests * docs[4.6]: add icon library to readme * feat[4.3]: add items with name, image, and price * feat[4.3]: add +,-, delete buttons * feat[4.4]: add members data * feat[4.4]: add ui for members data * feat[4.4]: add contribution list * feat[4.3] add total quantity and price * feat[4.4]: add Dmitriy's photo * feat[4.4]: style contributions lists * feat[4.4]: add Mikalai's photo * feat[4.4]: add team introduction * feat[4.4]: add gratitude section * fix[4.1]: refactor minor functions, del consol.log * feat[4.4]: add RSS logo * feat[4.4]: add Dmitriy's short bio * feat[4.4]: add Mikalai's short bio * fix[4.3]: fix error witch lineItems * feat[4.4]: add UI design role * feat[4.3]: added delete cart button * fix[4.3]: fix ''Clear Shopping Cart' button * feat[4]: improve header style * feat[4.4]: add about us page * feat[4.4]: add members data * feat[4.4]: add ui for members data * feat[4.4]: add contribution list * feat[4.4]: add Dmitriy's photo * feat[4.4]: style contributions lists * feat[4.4]: add Mikalai's photo * feat[4.4]: add team introduction * feat[4.4]: add gratitude section * feat[4.4]: add RSS logo * feat[4.4]: add Dmitriy's short bio * feat[4.4]: add Mikalai's short bio * feat[4.4]: add UI design role * fix[4]: fix header paddings on wide screens * feat[4]: add cart items quantity to header * fix[4.3]: add image empty cart * feat[4]: improve catalog search feature * fix[4.3]: fix discount price produts * feat[4]: improve catalog pagination feature * fix[4.3]: fix discounted price for API discount * feat[4]: improve grid for products * fix[4]: fix bug at reloading with not first page * fix[4]: fix styles for next and prev buttons * fix[4]: fix path for empty bike pic * feat[4]: add enterkeyhint 'search' * fix[4]: fix address editing * fix[4]: add default sorting * fix[4]: add titles to arrow icons * fix[4]: add spinner on product image in card * feat[4]: add items per page input * fix[4]: not render NaNs during loading * feat[4]: use next prev buttons in detailed product * feat[4.3]: display line items on cart page * feat[4.3]: add items with name, image, and price * feat[4.3]: add +,-, delete buttons * feat[4.3] add total quantity and price * fix[4.3]: fix error witch lineItems * feat[4.3]: added delete cart button * fix[4.3]: fix ''Clear Shopping Cart' button * fix[4.3]: add image empty cart * fix[4.3]: fix discount price produts * fix[4.3]: fix discounted price for API discount * feat[4]: add theme switcher * feat[4]: make dual slider filter for price * fix[4]: make normal font weight for filter values * fix[4]: improve product cards layout and buttons * fix[4]: show message on cart deletion * fix[4]: return bg to header * fix[4]: add prices info to cart page * feat[4]: add custom select for sorting * feat[4.3]: add modal for clearing cart * fix[4]: add total discount price of cart, style layout * feat[4]: test coverage improvement * feat[4]: update routing test * fix[4]: fix router bug, whith endless redirection after user click back * feat[4]: add test for registration component * feat[4]: add test for login page * refactor[4]: remove magic strings from login and registration tests * feat[4]: add ServerAPI is singleton test * feat[4]: add test for getFilterParams util * feat[4]: add test for newCustomerTransformInfo util * feat[4]: add pagination tests * fix[4]: fix pagination test --------- Co-authored-by: @Nickbis <nickbis3@gmail.com> Co-authored-by: Nickbis <96204065+Nickbis@users.noreply.github.com> Co-authored-by: Romanenkov Dmitriy <215rd@mail.ru> Co-authored-by: Color-zebra <95714282+Color-zebra@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.