Skip to content

feat: add optional copy sponsor link button#16

Closed
madhavansingh wants to merge 3 commits intoAOSSIE-Org:mainfrom
madhavansingh:feat/copy-sponsor-link
Closed

feat: add optional copy sponsor link button#16
madhavansingh wants to merge 3 commits intoAOSSIE-Org:mainfrom
madhavansingh:feat/copy-sponsor-link

Conversation

@madhavansingh
Copy link
Copy Markdown

Addressed Issues:

Fixes #15

Screenshots/Recordings:

N/A – This feature adds an optional copy sponsor link button for sponsor cards. Since the change introduces a small interactive feature, visual UI structure remains mostly unchanged.

Additional Notes:

This PR introduces an optional Copy Sponsor Link button for sponsor cards.

When enabled, users can easily copy the sponsor's URL to their clipboard using the browser Clipboard API.

Key points:

  • Adds a new optional prop: showCopyLinkButton
  • Uses navigator.clipboard.writeText() to copy the sponsor URL
  • Improves usability by allowing quick sharing of sponsor links
  • Maintains TypeScript compatibility and does not modify existing functionality

This enhancement improves user interaction and makes it easier to share sponsor links.

Checklist

  • My code follows the project's code style and conventions
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contributing Guidelines

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 15, 2026

Warning

Rate limit exceeded

@madhavansingh has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 11 minutes and 4 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: baf319c8-9b1a-4bc8-8be4-a08d8b741975

📥 Commits

Reviewing files that changed from the base of the PR and between 6f9f9a2 and 4693d91.

📒 Files selected for processing (2)
  • src/components/SupportUsButton.tsx
  • src/types/index.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@madhavansingh
Copy link
Copy Markdown
Author

Hi maintainers, I implemented the optional copy sponsor link feature as part of my GSoC 2026 preparation with AOSSIE. Please let me know if any changes are needed. Thank you!

@github-actions github-actions Bot added enhancement New feature or request frontend Changes to frontend code javascript JavaScript/TypeScript code changes size/M Medium PR (51-200 lines changed) first-time-contributor First PR of an external contributor pending-coderabbit-review labels Mar 15, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR has merge conflicts.

Please resolve the merge conflicts before review.

Your PR will only be reviewed by a maintainer after all conflicts have been resolved.

📺 Watch this video to understand why conflicts occur and how to resolve them:
https://www.youtube.com/watch?v=Sqsz1-o7nXk

@rahul-vyas-dev
Copy link
Copy Markdown
Contributor

Not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request first-time-contributor First PR of an external contributor frontend Changes to frontend code javascript JavaScript/TypeScript code changes pending-coderabbit-review PR has merge conflicts size/M Medium PR (51-200 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: add optional copy sponsor link button

2 participants