-
-
Notifications
You must be signed in to change notification settings - Fork 30
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: AI PR review menu #174
Conversation
I like this approach a lot and it is a great addition to the user flow. |
The API endpoints are now available for testing at https://beta.api.opensauced.pizza/#/Pull%20Requests%20service/generateCodeExplanation https://beta.api.opensauced.pizza/#/Pull%20Requests%20service/generateCodeTest. |
src/content-scripts/components/AICodeReview/AICodeReviewButton.ts
Outdated
Show resolved
Hide resolved
Thanks for this important feature! I'll test it out later today. |
Co-authored-by: Divyansh Singh <[email protected]>
Testing out the feature, but a little lost on how much of this should be working. I see this PR adds all options, but I get nothing when trying to generate tests or explanations. Refactoring works. Perhaps this still needs a production deploy from @brandonroberts? I was expecting to see the "generic message" similar to your video @Anush008. |
Yes, the plan is to cut an API release today |
I believe you used the production build which routed the API requests to The endpoints are available on beta so you can test out using |
The API is deployed to production also with the new endpoints |
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.
This works as expected now that the API is deployed. We will need the documentation written before cutting the release.
I am working on updating the usage docs at docs.opensauced.pizza.. My PC network connection seems to have a problem. |
Merging to have this work during a demo today. Thanks for the docs PR @Anush008 |
## [1.7.0-beta.2](v1.7.0-beta.1...v1.7.0-beta.2) (2023-06-15) ### π Features * AI PR review menu ([#174](#174)) ([ef52439](ef52439))
π This PR is included in version 1.7.0-beta.2 π The release is available on GitHub release Your semantic-release bot π¦π |
π This PR is included in version 1.7.0 π The release is available on GitHub release Your semantic-release bot π¦π |
## [1.7.0-beta.2](open-sauced/ai@v1.7.0-beta.1...v1.7.0-beta.2) (2023-06-15) ### π Features * AI PR review menu ([#174](open-sauced/ai#174)) ([ef52439](open-sauced/ai@ef52439))
## [1.7.0](open-sauced/ai@v1.6.0...v1.7.0) (2023-06-15) ### π Bug Fixes * update email invite message ([c1008e5](open-sauced/ai@c1008e5)) ### π Features * Added Contributed Repos to profile page ([#181](open-sauced/ai#181)) ([4901f7b](open-sauced/ai@4901f7b)) * AI PR review menu ([#174](open-sauced/ai#174)) ([ef52439](open-sauced/ai@ef52439))
What type of PR is this? (check all applicable)
Description
This PR includes several updates. Firstly, a new menu has been added to test, refactor and explain code. Secondly, the PR description config page has been refactored for better readability. Thirdly, the AICodeReview has been restructured for improved organisation. Lastly, a fix has been made to the discussions URL.
Generated using OpenSauced.
The feature is added with extensibility in mind. Adding a new feature item to the menu is simple and intuitive.
ai/src/content-scripts/components/AICodeReview/AICodeReviewButton.ts
Lines 36 to 43 in a9af46f
The button injection and selected code retrieval is preserved, reused from the previous version with no changes.
Additionally, a patch has been applied to the
githubPullRequestPattern
regex to resolve #172, #175. 0a19fbc, 28ea7f0.Related Tickets & Documents
Resolves #135.
Resolves #136.
Resolves #172.
Resolves #175.
Mobile & Desktop Screenshots/Recordings
Screen.Recording.2023-06-12.at.7.07.40.PM.mp4
Added tests?
Added to documentation?