-
-
Notifications
You must be signed in to change notification settings - Fork 306
Remove GitHub issue generator feature #5265
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
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
- Remove URL routes for github-issue-prompt, create-github-issue, and get-github-issue - Remove GithubIssueView class and generate_github_issue function from views - Remove github_issue_prompt.html and github_issue.html templates - Remove navigation links from header and sidenav - Remove feature card from features.html - Remove generate-issue.png static image - Remove OpenAI import from issue.py (still used in other files) Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
❌ Pre-commit checks failedThe pre-commit hooks found issues that need to be fixed. Please run the following commands locally to fix them: # Install pre-commit if you haven't already
pip install pre-commit
# Run pre-commit on all files
pre-commit run --all-files
# Or run pre-commit on staged files only
pre-commit runAfter running these commands, the pre-commit hooks will automatically fix most issues. 💡 Tip: You can set up pre-commit to run automatically on every commit by running: pre-commit installPre-commit outputFor more information, see the pre-commit documentation. |
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.
Pull request overview
This PR completely removes the AI-powered GitHub issue generation feature from BLT. The removal is comprehensive, eliminating all routes, views, templates, navigation links, and static assets related to the feature. This cleanup removes 510 lines of code including form templates that contained style tag violations of the project's coding guidelines.
Key changes:
- Removed AI-powered issue generation routes and views (116 lines of Python code)
- Deleted two HTML templates totaling 340 lines
- Cleaned up navigation links and feature page entries, including duplicate keywords
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
blt/urls.py |
Removed 3 URL patterns (github-issue-prompt, create-github-issue, get-github-issue) and corresponding imports for GithubIssueView and get_github_issue |
website/views/issue.py |
Removed GithubIssueView class (44 lines), get_github_issue() function (27 lines), generate_github_issue() function (45 lines), and OpenAI import (still used elsewhere in utils.py) |
website/templates/github_issue_prompt.html |
Deleted entire template file (94 lines) - the input form for AI generation |
website/templates/github_issue.html |
Deleted entire template file (246 lines) - the issue creation form with style tag violations |
website/templates/includes/sidenav.html |
Removed navigation link to github_issue_prompt from sidebar |
website/templates/includes/header.html |
Removed navigation link to github_issue_prompt from header menu |
website/templates/features.html |
Removed AI-Powered GitHub Issue Generator feature card and cleaned up duplicate keywords (Scoreboard, Bug Bounties, Leaderboard, etc.) |
website/static/img/features/generate-issue.png |
Deleted static asset image file |
Removes the AI-powered GitHub issue generation feature per requirements.
Changes
Routes removed (
blt/urls.py):/github-issue-prompt/- Issue generation form/create-github-issue/- GitHub issue creation endpoint/get-github-issue/- AI generation processorViews removed (
website/views/issue.py):GithubIssueView- Issue creation handler (44 lines)get_github_issue()- Generation request processor (27 lines)generate_github_issue()- OpenAI API integration (45 lines)utils.pyandbot.py)Templates deleted:
github_issue_prompt.html- Input form (94 lines)github_issue.html- Issue creation form (246 lines)UI cleanup:
generate-issue.pngdeletedTotal: 510 lines removed across 8 files
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.