Skip to content

Commit

Permalink
feat: Remove PR description generator (#308)
Browse files Browse the repository at this point in the history
* Remove PR description generator

Related to #307

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/open-sauced/ai/issues/307?shareId=XXXX-XXXX-XXXX-XXXX).

* removes all generative AI features

* removes files merged from beta
  • Loading branch information
bdougie authored Aug 19, 2024
1 parent 5a0172d commit e342847
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 1,018 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = {
},
],
"no-useless-rename": "error",
"no-useless-return": "error",
"no-useless-return": "warn",
"no-var": "error",
"object-shorthand": "error",
"one-var": ["error", "never"],
Expand Down
2 changes: 0 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ export const SUPABASE_AUTH_COOKIE_NAME = `sb-${import.meta.env.VITE_OPEN_SAUCED_
export const SUPABASE_PKCE_VERIFIER_COOKIE_NAME = `sb-${import.meta.env.VITE_OPEN_SAUCED_SUPABASE_ID}-auth-token-code-verifier`;
export const OPEN_SAUCED_AUTH_TOKEN_KEY = "os-access-token";
export const OPEN_SAUCED_OPTED_LOG_OUT_KEY = "opted-log-out";
export const AI_PR_DESCRIPTION_CONFIG_KEY = "ai-pr-description-config";

export const OPEN_SAUCED_USERS_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/users`;
export const OPEN_SAUCED_REPOS_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/repos`;
export const OPEN_SAUCED_SESSION_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/auth/session`;
export const OPEN_SAUCED_USER_INSIGHTS_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/user/insights`;
export const OPEN_SAUCED_AI_PR_DESCRIPTION_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/prs/description/generate`;
export const OPEN_SAUCED_USER_HIGHLIGHTS_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/user/highlights`;
export const OPEN_SAUCED_AI_CODE_REFACTOR_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/prs/suggestion/generate`;
export const OPEN_SAUCED_AI_CODE_EXPLANATION_ENDPOINT = `${OPEN_SAUCED_API_ENDPOINT}/prs/explanation/generate`;
Expand Down
47 changes: 0 additions & 47 deletions src/content-scripts/components/AICodeReview/AICodeReviewButton.ts

This file was deleted.

156 changes: 0 additions & 156 deletions src/content-scripts/components/AICodeReview/AICodeReviewMenu.ts

This file was deleted.

This file was deleted.

Loading

0 comments on commit e342847

Please sign in to comment.