Closed dhruv8433 closed 4 weeks ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
pop-shop | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Jun 9, 2024 2:15pm |
@pooranjoyb
please check this and merge it
Hii @dhruv8433 why aren't you using the Cart-Slice
we need to store that in store too. Maintain that too.
@pooranjoyb
now you can check it and merge it :
i update code and now it also added to cart-slice
too
@pooranjoyb please tell me if you want any kind of modifications...
@pooranjoyb please tell me if you want any kind of modifications...
Can you show me a video demonstration @dhruv8433
It's not working on my end :/
Ok i will share you video
@pooranjoyb
yaa, i understood.. bymistek i added username as primary key
now you can check it working properly
https://github.com/pooranjoyb/popShop/assets/114583978/af15c37e-6dbe-485f-8e98-7a1e7ba6ad2b
@pooranjoyb
please check this and merge it if you face any issue then inform me
@pooranjoyb
please check this and merge it if you face any issue then inform me
@pooranjoyb
please check this and merge it if you face any issue then inform me
@pooranjoyb
please check this and merge it if you face any issue then inform me
Dude, why Buy Now
adds to cart. The flow is different. User should go to the Product-Details
page and Add to Cart
button should do that logic. Please update it. @dhruv8433
@pooranjoyb Ok ok Got it
@pooranjoyb
now you can check it
check build errors by running npm run build
in you local machine.
@pooranjoyb
solved
completed build
@pooranjoyb
Please merge it
@pooranjoyb
now you can check this i completed my task as you said
please check this and merge it
@pooranjoyb
deployment and build both are completed please merge it
@pooranjoyb
Please when you become free Merge it
@pooranjoyb
Please when you become free Merge it
Hii @dhruv8433 really sorry, I was occupied few days. Okay I've seen the deployment. Everything is working fine but just one improvement.
slice
or supabase-table
to render the items added to cart.json
with the new cart item and push to supabase
Should be one entry having array of items in cart.
That'll do. I'll merge once this part is done. π
@pooranjoyb
i need help when i try to add product for same user it give me cors error
can you please tell me how to resolve this
can you allow cors
from supabase ?
@pooranjoyb
i need help when i try to add product for same user it give me
cors error
can you please tell me how to resolve thiscan you allow
cors
from supabase ?
please check in supabase. RLS is already disabled. I guess you already have an access. @dhruv8433
@pooranjoyb
i tried many times but i can't find allow origin cors
in supabase dashboard
can you please help...
@pooranjoyb
now everything working as expected please check this and merge it
output:
@pooranjoyb
now you can merge it please check everything working as expected
Awesome work @dhruv8433 π
What was the issue with cors
tho ?
@pooranjoyb
no i just redisable RLS and try than it worked
please merge it
please merge it
Dude it ain't working, just checked the deployment. :/
Please lmk if I'm missing something, do create a new record if the user doesnot exist in the table. @dhruv8433
@pooranjoyb
just wait i provide you a video
A hell loota work, init @dhruv8433 ? π But yeah at the end its working. So, well done! π―
Thank you @pooranjoyb
idk why video not downloaded bu thanks again
Thank you @pooranjoyb
idk why video not downloaded bu thanks again
But yeah there is still one issue. I guess that's probably easy to work around.
@dhruv8433
you can work on this in a separate issue. ππΌ
@pooranjoyb Ok i will create separate issue for thay
@pooranjoyb
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Add product to cart as well as on Supabase [One to Many relationship] #109 Fixes # 109
Type of change
Please give a X on it which is applicable
How Has This Been Tested?
supabase
cart tablePlease describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Screenshorts and Vedios:
Checklist:
give a X on it which is applicable