-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fix Issue #386: Add a button so users can reset their AI Profile #387
Conversation
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Warning Rate limit exceeded@Phrosfire has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 57 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughThe pull request introduces a new mutation for updating the AI profile within the Changes
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/src/app/profile/edit/page.tsx
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: build-test
- GitHub Check: Analyze (javascript)
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Seems like some stuff is missing from this PR? What's the origin of the 500 error, do we know? |
Sorry, you replied right before I put the tag on that it needs additional work. It seems to be caused by items that the user may not have anymore. I have screenshots attached to the issue itself. |
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
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.
I think it's fine to still have a reset button, but let's also fix it at the core :)
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/src/app/profile/edit/page.tsx
(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: build-test
- GitHub Check: Analyze (javascript)
🔇 Additional comments (2)
app/src/app/profile/edit/page.tsx (2)
78-82
: Well-structured imports for AI profile types!The imports are properly scoped and follow the project's conventions.
301-310
: Well-implemented mutation hook with proper error handling!The mutation hook follows best practices with proper cache invalidation and user feedback through toast messages.
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
Pull Request
Adding a button to allow users to reset their AI profile in the case that their current profile generates the 500 error when attempting to open it.
fix #386
License
By making this pull request, I confirm that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the Studie-Tech ApS organization has the copyright to use and modify my contribution for perpetuity.
Summary by CodeRabbit
Summary by CodeRabbit