Skip to content
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

Develop #177

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Develop #177

wants to merge 8 commits into from

Conversation

Blenemy
Copy link

@Blenemy Blenemy commented Jun 7, 2023

https://blenemy.github.io/react_phone-catalog/
For some reason, I could not implement the input search with the debounce method. I have left commented code in the Header.tsx component. It works partially, but after performing a search, I am redirected to the previous page. I would appreciate your help.

Copy link

@Anastasiia-Svintsova Anastasiia-Svintsova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Add fav icon, please
    image

  • Don't hardcode the page width. The header and the footer should be full-width.
    image

  • Fix the logo link in the footer

2023-06-08.130254.mp4
  • Make sure the images have the correct size. It doesn't look like in Figma now
    image

  • Let's imagine the shop will have 8000 positions. How long the pagination will be? Change it a bit. Smth like 1 ... 6 7 8 ... 18
    image

  • Change the search bar placeholder if the user changes the tab
    image

  • The user should have the possibility to change the color. It doesn't work now
    image

  • The id on the product details page doesn't match the design
    image

@Blenemy
Copy link
Author

Blenemy commented Jun 9, 2023

I did not delete the id on the product details page,
image
I have no idea where does this ID number come from so i used its name instead.

Copy link

@witflash witflash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!
About debounce approach.
For React handlers it's better to implement debounce with useEffect hook.
You could check this approach here: https://usehooks.com/usedebounce (or if you find other samples).
If you still have any questions, feel free to ask them is Slack.

@Blenemy Blenemy requested a review from witflash June 14, 2023 06:35
Copy link

@Anastasiia-Svintsova Anastasiia-Svintsova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The search bar should have the same color as a header. It's different now. And add a search icon as well
    image
    image

  • The clear button doesn't match the design
    image
    image

  • The images in the cart look very compressed
    image

  • Check the position of the images on the product details page. The user should see the whole picture in the preview
    image

  • These links don't work correctly. They should redirect to the correct model.
    image

  • Don't forget about the favicon
    image

  • These links shouldn't lead to the 404 page. You can use your GitHub link for now.
    image

Copy link

@agniya-i agniya-i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

Let's fix one of the previous comments related to the product image slider:
the user should see the whole picture in the preview, it looks cropped now

Also, please pay attention to image size, it shouldn't overlay other blocks

Screen.Recording.2023-06-16.at.15.02.50.mov

@Blenemy Blenemy requested a review from agniya-i June 16, 2023 14:04
Copy link

@witflash witflash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Well done! 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants