Skip to content

feat: add share button to model detail pages#124

Merged
AditthyaSS merged 4 commits into
AditthyaSS:mainfrom
adityakumarsharma7398-cyber:feat/share-button-model-page
Jun 13, 2026
Merged

feat: add share button to model detail pages#124
AditthyaSS merged 4 commits into
AditthyaSS:mainfrom
adityakumarsharma7398-cyber:feat/share-button-model-page

Conversation

@adityakumarsharma7398-cyber

Copy link
Copy Markdown
Contributor

Changes

  • Added reusable ShareButton component
  • Added share functionality to model detail pages
  • Copies page URL to clipboard on desktop
  • Uses Web Share API on supported mobile devices
  • Shows 'Copied!' feedback after successful copy

Fixes #103

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

@adityakumarsharma7398-cyber is attempting to deploy a commit to the aditthyass' projects Team on Vercel.

A member of the Team first needs to authorize it.

@adityakumarsharma7398-cyber

Copy link
Copy Markdown
Contributor Author

Hi @AditthyaSS,

The failing check appears to be caused by the repository workflow:
"Unable to resolve action peter-evans/create-comment, repository not found"

This seems unrelated to the share button implementation in this PR. Please let me know if any code changes are required from my side.

Thank you.

@AditthyaSS

Copy link
Copy Markdown
Owner

@adityakumarsharma7398-cyber Revert Package-lock.json file

@adityakumarsharma7398-cyber

Copy link
Copy Markdown
Contributor Author

Hi @AditthyaSS,

I have addressed the review feedback and cleaned up the PR.

Reverted:

  • package-lock.json
  • src/app/globals.css
  • tailwind.config.ts

The PR now contains only the Share Button implementation and its integration on the model detail page.

Thank you for the review.

@adityakumarsharma7398-cyber

Copy link
Copy Markdown
Contributor Author

Hi @AditthyaSS,

The failing check appears to be caused by the repository workflow:
"Unable to resolve action peter-evans/create-comment, repository not found"
This seems unrelated to the Share Button implementation itself.
Please let me know if any code changes are required from my side.

Thank you.

@AditthyaSS AditthyaSS merged commit 92abc9e into AditthyaSS:main Jun 13, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ui] Add a "Share" button on model detail pages

2 participants