Comments (2)
Copy of comment from @nickytonline
Some background about browser extensions
I've worked on a bunch of extensions including one for a previous job. If you're looking to hook into GitHub.com, I'd recommend taking a peek at the Refined GitHub browser extension. They integrate seamlessly with GitHub.
All the code you write for the extension will work in Chromium based browsers that support extensions, and Firefox basically took on the same API as the Chrome Extension API, so for the most part the extension will be cross-browser. The main difference is Chromium based browser use the version 3 of the manifest while last I checked, Firefox still only supports version 2 of the manifest, although they are working on v3 support.
I'd also recommend using Parcel as the bundler for the project if this goes ahead as they support reloading the extension during development with the manifest version 3.
Suggested Approach
The approach you probably want to take is to integrate directly into the GitHub user interface by adding a Hot Sauce button. You could probably also add an option to the extension that auto-suggests to opensauced when the user stars a repo.
To implement this, you could add a click event listener to the button or link that stars the repo. The click event listener would see if the user has auto-suggest to opensauced, and if it does, it'd make an API call to opensauced to auto-suggest the repo. You could get the repo URL to send most likely via window.location.href
If the option to auto-suggest isn't enabled, surface a button to auto-suggest a submission to open sauced.
Happy to discuss this further and even pair with folks.
from ai.
I’m going to close this one and transfer the original (didn’t know that was a thing 🤷♂️
Cc @bdougie @nickytonline
from ai.
Related Issues (20)
- Monthly issue metrics report
- Bug: unable to login - Chrome HOT 9
- Monthly issue metrics report HOT 1
- Feature: add blocking labels to the take action HOT 1
- Bug: AI extension is not showing the PR writing message HOT 7
- Feature: refactor constant naming HOT 3
- Feature: enable AI description generator for all PRs even on comments HOT 2
- Bug: unstable AI Description HOT 3
- Bug: repository chatbot tracker issue HOT 3
- Bug: AI description generator on comments is not enabling the comment button HOT 2
- Bug: repo name is being empty HOT 1
- POC: E2E test with Playwright HOT 9
- Bug: Can't generate refactor, test, and explanation code when clicking the OpenSauced orange button HOT 1
- Bug: OpenSauced orange button doesn't appear on the PR form
- Bug: Can't generate Highlight from an issues HOT 4
- Feature: show a message to user when they are not logged in HOT 2
- fix: Add correct path to the usage guide on README and Docs in the extension, and update "Contributing" and "Community" sections in README HOT 3
- Bug: Lint error: Expected linebreaks to be 'LF' but found 'CRLF' HOT 6
- Bug: Can't run `npm run push` to commit changes
- Feature: Cut over to v2 API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai.