Skip to content

Commit

Permalink
eCommerce-Application [sprint 2] (#180)
Browse files Browse the repository at this point in the history
* feat(RSS-ECOMM-2_24): add App component (#106)

* test(RSS-ECOMM-2_25): add tests for App component (#108)

* docs(RSS-ECOMM-2_26): update PR template for second sprint

* feat(RSS-ECOMM-2_27): add pages components (#109)

* feat: add LoginPage component

* feat: add MainPage component

* refactor: rename the loginPageView field to view

* feat: add RegistrationPage component

* feat: add NotFoundPage component

* fix: fix name MainPage component

* feat(RSS-ECOMM-2_28): add router component (#111)

* feat: add Router component

* feat: add environment variables

* feat: add EventMediator component

* feat(RSS-ECOMM-2_01): implement client side validation for login form (#112)

* feat: add InputField component

* feat: add InputFieldValidator component

* feat: add types for InputField component

* feat: add LoginForm component

* feat: add the necessary validators to check input fields

* feat: add password display functionality

* fix: changes from @stardustmeg

Co-authored-by: Meg G. <[email protected]>

* fix: changes from @stardustmeg

Co-authored-by: Meg G. <[email protected]>

---------

Co-authored-by: Meg G. <[email protected]>

* feat(RSS-ECOMM-2_02): add pages style (#113)

* feat: add elements from the layout for the LoginPage

* feat: add styles for LoginPage

* feat: add styles for LoginForm

* feat: add hover for register link

* fix(RSS-ECOMM-2_29): fix router (#115)

* feat: add logic for switching page visibility

* fix: fix logic Router component

* feat(RSS-ECOMM_2-03): customer Model with server requests (#117)

* feat: add root class, and request to server

* feat: add CustomerModel for get and set Customer info

* feat: change params in editCustomer function

* fix: syntax error

* feat(RSS-ECOMM-2_09): add registration form (#116)

* feat: add RegistrationForm component

* feat: add validation RegistrationForm

* feat: add new validators for RegistrationForm

* feat: add logic for selecting a country from a predefined list

* feat: add saving selected country in store

* feat: add validate postal code and country input fields

* fix: change description registration form

* feat(RSS-ECOMM-2_05): add redirect to main page from login page (#119)

* feat: add saving current user data to store

* feat: add submit correct form

* feat: add ErrorMessage component

* feat: add redirect to main page on login

* feat(RSS-ECOMM-2_06): add redirect auth user (#120)

* feat: implement LocalStorage

* feat: add redirect auth user to main page

* feat(RSS-ECOMM-2_20): implement not found page (#121)

* feat: implement not found page

* feat: implement saving route when Not Found is open

* feat(RSS-ECOMM-2_11): integrate registration form (#122)

* refactor: replace ErrorMessage component with ServerMessage

* refactor: added the ability to throw an error further into the code

* fix: fixed an error comparing the current and next version of user information

* feat: integrate new user registration

* fix: collecting registration form data

* feat(RSS-ECOMM-2_13): add relocate new user to main page after registration (#123)

* fix(RSS-ECOMM-2_32): update countries list

* fix(RSS-ECOMM-2_33): router component

* feat(RSS-ECOMM-2_14): set default address during registration (#131)

* feat: add CountryChoice component

* fix: postalCode validation

* feat: update state

* refactor: separate CountryChoice component into a module

* feat: add settings address by default

* refactor(RSS-ECOMM-2_38): refactor main codebase (#130)

* refactor: break types into separate modules

* refactor: remove redundant styles description imports

* refactor: break one constants module into separate ones

* refactor: separate single types module into several ones

* feat: add check email (#132)

* fix(RSS-ECOMM-2_39): refresh page (#133)

* chore(RSS-ECOMM-2_36): remove redundant files (#134)

* chore: delete .env.github

* chore: delete package-lock.json

* chore(RSS-ECOMM-2_40): update configs (#173)

* chore: update configs

* fix: gitignore not to add package-lock.json

* docs: add checks badges

* docs: update PR template structure

* docs: format the PR template

* docs: change the structure of PR temlate

* feat(RSS-ECOMM-2_15): set default address (#174)

* feat: add display required fields in register form

* feat: add checkbox for setting default address

* fix: delete interfaces file

* feat(RSS-ECOMM-2_16): add links on Login and Register pages (#175)

* feat(RSS-ECOMM-2_17): add links to all functional pages (#177)

* feat: add Link component

* feat: add header with

* feat: implement disabling links for user

* refactor: remove unnecessary styles

* feat(RSS-ECOMM-2_22): add header logo (#178)

* fix: disabling navigation links

* feat: add header styles

* feat: add navigation styles

* feat: add navigate on click logo to main page

* feat: add position sticky to header

* test(RSS-ECOMM-2_35): add tests for api requests, product and custom model (#176)

* test: add test for api, customer and product request

* test: change birthDate type to string, optimization adaptCustomer functions

* fix(RSS-ECOMM-2_41): reload page (#179)

* feat(RSS-ECOMM-2_23): add logout button (#181)

* feat(RSS-ECOMM-2_34): update app title (#182)

* feat(RSS-ECOMM-2_43): implement footer (#183)

* fix(RSS-ECOMM2_44): fix styles (#185)

* fix: fade-in/fade-out styles

* fix: delete redundant common styles

* fix: header styles

* refactor: set the animation delay to a constant

* Apply suggestions from code review

Co-authored-by: Meg G. <[email protected]>

* chore: run prettier

---------

Co-authored-by: Meg G. <[email protected]>

* test(RSS-ECOMM-2_45): cover main code base (#186)

* test(RSS-ECOMM-2_42): cover codebase (#187)

* test: cover store actions

* test: cover store observer

* test: cover store reducer

* feat(RSS-ECOMM-2_46): implement register api integration (#188)

* refactor: rename check email method

* feat: add handling API errors with login

* feat: sending request for registration form

* fix: sending registration requests

* refactor: sending registartion requests from the form

* feat: add type validation for user

* test: add tests for user type validation

* refactor: separate forms constans

* fix(RSS-ECOMM-2_47): display app title (#189)

fix: display app title

* feat(RSS-ECOMM-2_48): display error message from api (#190)

feat: display error message from api

* feat(RSS-ECOMM-2_49): implement Loader component (#192)

feat: implement Loader component

* fix(RSS-ECOMM-2_50): country choice wrapper on TAB (#193)

fix: country choice wrapper on TAB

* feat(RSS-ECOMM-2_30): implement language choice (#191)

* feat: implement switching countries droplist items language

* feat: implement switching languages on separate elements

* feat: implement switching registration form titles

* feat: add not found page description

* feat: implement changing links language

* chore: update lint-staged husky configuration

* feat: implement validation translation

* fix: change constant

* RSS ECOMM-3_09 - get product (#194)

* feat: add discount and refactor adapt price and discount functions

* feat: add setLocale action, add request for price range, count category product

* fix: merge

* feat(RSS-ECOMM-2_30): implement language choice (#195)

* feat: implement switching countries droplist items language

* feat: implement switching languages on separate elements

* feat: implement switching registration form titles

* feat: add not found page description

* feat: implement changing links language

* chore: update lint-staged husky configuration

* feat: implement validation translation

* fix: change constant

* fix: country validation

* feat: implement choosing language

---------

Co-authored-by: Max <[email protected]>
Co-authored-by: Yuliya Kursevich <[email protected]>
  • Loading branch information
3 people authored May 6, 2024
1 parent ff236cc commit ede8d3d
Show file tree
Hide file tree
Showing 135 changed files with 7,430 additions and 11,308 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ VITE_APP_CTP_REGION=europe-west1
VITE_APP_CTP_AUTH_URL=https://auth.europe-west1.gcp.commercetools.com
VITE_APP_CTP_API_URL=https://api.europe-west1.gcp.commercetools.com
VITE_APP_CTP_SCOPES=manage_orders:green-shop manage_payments:green-shop manage_types:green-shop view_shopping_lists:green-shop manage_customers:green-shop manage_my_orders:green-shop view_orders:green-shop manage_quotes:green-shop view_discount_codes:green-shop view_quote_requests:green-shop manage_order_edits:green-shop manage_products:green-shop manage_quote_requests:green-shop view_quotes:green-shop view_api_clients:green-shop view_order_edits:green-shop manage_shipping_methods:green-shop manage_cart_discounts:green-shop manage_my_shopping_lists:green-shop view_products:green-shop view_categories:green-shop manage_my_payments:green-shop manage_my_profile:green-shop manage_discount_codes:green-shop manage_categories:green-shop manage_shopping_lists:green-shop manage_extensions:green-shop
VITE_APP_DEFAULT_SEGMENT='/'
VITE_APP_NEXT_SEGMENT=1
VITE_APP_PATH_SEGMENTS_TO_KEEP=0
VITE_APP_PROJECT_TITLE=Greenshop
17 changes: 12 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
πŸ“ conforms with the following format:

- [ ] prefix (following the [convention](https://www.conventionalcommits.org/en/v1.0.0-beta.2/): `feat`, `fix`, `hotfix`, `chore`, `refactor`, `revert`, `docs`, `style`, `test`)
- [ ] sprint and issue number (e.g. `RSS-ECOMM-1_01`, where `1` - is the sprint number and `01` - is the issue number)
- [ ] sprint and issue number (e.g. `RSS-ECOMM-2_01`, where `2` - is the sprint number and `01` - is the issue number)
- [ ] short description

πŸ‘€ Example: `feat(RSS-ECOMM-1_01): description`
πŸ‘€ Example: `feat(RSS-ECOMM-2_01): description`

## PR Description πŸ§™β€β™‚οΈ

Expand All @@ -30,13 +30,20 @@ Specify if any documentation updates are required and provide details on what ne

#### Provide any other relevant information πŸ¦‰

## Auto-Review πŸ€–

- [x] The reviewers have been requested πŸ“
[![Request Review on PR Open](https://github.com/stardustmeg/greenshop/actions/workflows/request_review.yml/badge.svg)](https://github.com/stardustmeg/greenshop/actions/workflows/request_review.yml)
- [x] The labels have been added 🎨
[![Pull Request Labeler](https://github.com/stardustmeg/greenshop/actions/workflows/labeler.yml/badge.svg)](https://github.com/stardustmeg/greenshop/actions/workflows/labeler.yml)
- [x] My code doesn't generate any errors or warnings ⛓️
[![Continuous Integration](https://github.com/stardustmeg/greenshop/actions/workflows/ci.yml/badge.svg)](https://github.com/stardustmeg/greenshop/actions/workflows/ci.yml)

## Self-Check 🌟

- [ ] I wrote the correct title for the PR πŸ—οΈ
- [ ] I wrote the correct description for the PR πŸ“œ
- [ ] I wrote a comprehensive description for the PR πŸ“œ
- [ ] I have performed a self-review of my own code βœ…
- [ ] I have commented my code where needed πŸ“
- [ ] My code is formatted correctly and passes the check 🎨
- [ ] My code passes the tests check ⛓️
- [ ] My code successfully builds βš™οΈ
- [ ] I am happy with my PR and ready to merge ❀️‍πŸ”₯
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
.package-lock.json
package-lock.json
dist
dist-ssr
*.local
Expand Down
Loading

0 comments on commit ede8d3d

Please sign in to comment.