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

feat: Added customization of component by user in style share successfully Issue customize 142 #153

Merged
merged 4 commits into from
Jun 9, 2024

Conversation

MeetDOD
Copy link
Contributor

@MeetDOD MeetDOD commented Jun 8, 2024

Pull Request Resolves [#142 ]

Title: Added customization of component by user in style share successfully.

Description

  1. In backend: Implemented route and controller, in controller imlemented gemini api.
  2. In frontend: Route to navigate from post page to customize page and posting to server and fetching from gemini api.
  3. For get response user should be logged in and verified.
  4. Preview is available for both the code original + created by gemini.
  5. Added toast for almost all button click.
  6. For working in your system add your api key in .env at API_KEY=" ".
  7. For api key go to https://ai.google.dev/aistudio , sign in and then click on,

image

after that click on create API key

image

create project or just click on any existing and you good to go...

Related Issues

Fixes #142

Changes Made

New features: Added customization of component by user in style share.

Screenshots

Screenshot 2024-06-09 013210

Video

Style.Share.-.Google.Chrome.2024-06-09.01-24-47.online-video-cutter.com.1.mp4

I certify that I have carried out the relevant code of conduct and provided the requisite screenshot for validation by submitting this pull request.

Thank You for this contribution.

Copy link

vercel bot commented Jun 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
style-share ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2024 4:03pm

Copy link

github-actions bot commented Jun 8, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 8, 2024

@VaibhavArora314 It was fun to make this feature and also i learned a lot of things because of you. So, thank you buddy 😄

Copy link
Owner

@VaibhavArora314 VaibhavArora314 left a comment

Choose a reason for hiding this comment

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

Good work, since there is a big feature so I will take some time to review it completely

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 9, 2024

Sure @VaibhavArora314 No prob :)

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 9, 2024

@VaibhavArora314 there is a conflicts should i resolved it or you will do it ?

@VaibhavArora314
Copy link
Owner

@VaibhavArora314 there is a conflicts should i resolved it or you will do it ?

yes resolve merge conflicts

@VaibhavArora314
Copy link
Owner

VaibhavArora314 commented Jun 9, 2024

hey @MeetDOD, I was viewing the deployment and saw that I was several times getting this error
image
upon reviewing the logs, I found that the deployment has each request have a 10sec limit and the response is taking more than that causing this error. This is probably due to Gemini taking too much time.
image
is there any work for this?

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 9, 2024

@VaibhavArora314 did you giving the api key in .env ?

@VaibhavArora314
Copy link
Owner

@VaibhavArora314 did you giving the api key in .env ?

Yes, I specified the api key and I am getting results also but the issue is most of the time request timeout.

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 9, 2024

So, what should be the solution now ?

@VaibhavArora314
Copy link
Owner

So, what should be the solution now ?

Don't worry, I am merging this for now. And will try some possible solutions to see it is possible to resolve this.

@VaibhavArora314 VaibhavArora314 merged commit 0c53151 into VaibhavArora314:main Jun 9, 2024
3 checks passed
Copy link

github-actions bot commented Jun 9, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

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

Successfully merging this pull request may close these issues.

[Feature Request]: Implementing Chat App in style share
2 participants