-
Notifications
You must be signed in to change notification settings - Fork 0
Add Stack Overflow link components #60
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
| }) | ||
| }); | ||
|
|
||
| describe(parseStackOverflowLink, () => { |
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.
👍
Co-authored-by: dwjohnston <[email protected]>
Co-authored-by: dwjohnston <[email protected]>
9912fbc to
af68ae1
Compare
🦋 Changeset detectedLatest commit: 8306d5e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for react-github-permalink ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This PR adds Stack Overflow question link components to complement the existing GitHub issue link functionality, allowing users to embed rich previews of Stack Overflow questions in their applications.
New Components
StackOverflowLink: Client component with useEffect data fetchingStackOverflowLinkBase: Base component that renders with provided dataStackOverflowLinkRsc: RSC component for server-side renderingFeatures
Usage
Implementation Details
getStackOverflowFnThe implementation maintains the existing API design patterns while extending functionality to support Stack Overflow content, making it easy for users to reference both GitHub issues and Stack Overflow questions in their applications.
Fixes #26.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
api.stackexchange.comcurl -s REDACTED(dns block)storybook.js.orgnode /home/REDACTED/work/react-github-permalink/react-github-permalink/node_modules/.bin/storybook dev -p 6006(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 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.