fix: highlight redirection, multiple AI generation, draft commit messages #163
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Description
Resolves Bug: Getting PR commit messages is unstable Β #131 by passing the PR URL without any query params or IDs. With this update, appending
/commits
to the endpoint, the current inability to get commit messages of draft PRs mentioned at feat: OpenSauced AI PR description Β #79 (comment) will be resolved.ai/src/utils/fetchGithubAPIData.ts
Lines 23 to 24 in b697b70
Resolves Bug: post to highlight in dev mode is redirecting to prod websiteΒ #153 by updating
href
to the configured domain. b6f1dd0.Resolves Bug: AI suggestions UXΒ #119 by disabling the button events when the AI generation is underway. fc26ef8.
Additionally, refactors the latest highlight feat, moves the
Highlights
type definition to the types file for reusability, usescachedFetch()
for getting the highlights. b2ec143Related Tickets & Documents
closes #131
closes #153
closes #119
Mobile & Desktop Screenshots/Recordings
Added tests?
Added to documentation?