-
Notifications
You must be signed in to change notification settings - Fork 0
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
product-fix-layout #37
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested changes_1
1. Issue with next/router being used server side.
The products page gives an error when you navigate to it through the url and not the nav bar. From the ESLint errror, it appears that you are using next/router in server side code. router.query is a client side action so you can resolve this error by placing it into a useEffect and calling router.query in that useEffect.
2. Merge development
There is a new update to development. Please merge development into this branch.
I got you with the first issue- will resolve it. I have created a draft and I am still working on the code. It was not ready for review, and you should not have marked it as such. |
Thats my bad. I accidently marked it but I won't do that in the future. |
Please use snippet - https://www.notion.so/Basic-rules-06942f8ecb6f4139ba8191cb6c02238d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested changes_2
2. flex flex-col justify-between min-h-screen and mt-auto
Now it looks like so if content less than 100vh ![image](https://github.com/Nicitaa/22_aer/assets/39565703/bfdcf63d-e7d8-4806-a6f5-2fcb1aeb1b63)3. Simplify this part of code
Now it looks really complex - simplify it - so you and others after some time (e.g 1 month) can understand what's going on in your code (As you wrote you may use some pnpm library for it)
4. Fix images preview
Now images preview looks so: ![image](https://github.com/Nicitaa/22_aer/assets/39565703/c0e1318a-17bd-4a7e-b2e6-6ed1c7ae0b36)5. Please check your code next time - is it match with figma design - if it's not spent more time to do your best
Comment:I see that you are trying do 22_aer better also I want give you one advice that I once got - don't use document.querySelector if it possible do it without it (once I asked somebody in telegram and become not understandable answer for me like its doesn't match with react concepts (I even don't know what concepts is) - aslo I got answer like you broke something but you don't see it - I just know that I may use it but its would be better when I don't use document - so if it possible don't use document in react
Note:I did this pull request review only from my experience and vision of project - if you want you may keep it 'as is' - I just want us to get hired that's why I write one or ohter to-do
I just think if you leave it 'as is' you don't make some impression on your potential employer
I close this pull request to reduce mass in my github desktop |
What do I need review? |
Reply to requested changes_1
Provided external library
Code removed |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Reply to requested changes_3
can change color if needed
|
|
I asked you - please do some tests for your code is some bugs or now - so you save time us |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested_changes_4
1 - Fix laylout
1.1Decrease border width
Because now it looks so agressive - I would delete border-width as in figma design (I remind you last time that its only my oppinion and in this part of site you may diside everything in your own)
1.2 Make scroll bar consistant
I'd like to see 1 of 2 variants
1 variant - no scrollbar on right side
2 variant - both scrollbars have the same styling
1.3 Fix overlay effect
FIx this thing when text behind backgound with opacity (I marked it on the screenshot)
2 -Match figma design
In figma design we have price and + - buttons in footer
Now on HD devices buttons looks big - if you want do it smaller you don't need apply className='px-2 py-1 text-sm' or something like this - for consistant in the feature write task for me in notion and describe what shold I do with button - you don't need to change UI design because I responsive for this and I understand what's going on there
Reply to requested changes_4
1.1Decrease border width -> removed border,
2.1 Price |
You don't need write smth like (I can see it in commit) Delete border
Reply to requested changes suitable if you have some ideas/suggestions/questions/objections |
On HD devices buttons look big
Your text here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested changes_5
I know that changes below may no relation to 'product-fix-layout'
I would mention about 900/1000 block are used in notion if you would like to call up every week - but if you don't want I mention about it here - so you may create new branch for it if you want and do it there
1. Make left/right arrow functional
I want change slides using my right and left arrow Add this functionality2. Impriove UX
I found this good when you click somewhere something happensNow I want change clide using my mouse but I hanven't optical sencor and it's hard (ok not so hard but can be esaer) to change slide
I would like to increse this area width
3. Change amount of preview images
Now it looks not goog because height more than widthDo 3-5 images here (on your choise)
Changes
1. Edited layout as in Figma
2.Fixed a bug where I chose another product but got the same data
3. Fixed image slider wrap when there are too many images
(Ideally, we can use any slider from npm to enhance the appearance or share alternate ideas.)
Notion task - https://www.notion.so/product-fix-layout-e04d9f5d027449ef8b4a6915aa4625ed