GeezerVison is showing github.com — feat(landing): add Share chip to integration and model pages by waleedlatif1 · Pull Request #5582 · simstudioai/sim
Conversation
Summary
- Add a Share chip to integration and model detail pages, with a copy-link / share-on-X / share-on-LinkedIn dropdown menu
- Reworked
ShareButton to always render as a bordered Chip (TRIGGER_BORDER_CLASS), matching the existing "View docs" / "All {provider} models" secondary pills exactly, instead of a bespoke muted-text button — now consistent across blog, library, integration, and model pages
- Swapped the hand-rolled copy/timeout state for the shared
useCopyToClipboard hook from @sim/emcn
Type of Change
Testing
Tested manually — ran the landing app locally and confirmed the Share chip renders with byte-identical chip chrome to its sibling chips on /integrations/[slug], /models/[provider]/[model], and existing /blog/[slug] pages (verified via raw SSR HTML class comparison). Typecheck and lint pass with no new errors/warnings.
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing
- No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
greptile-apps[bot] reacted with thumbs up emoji
- add a Share chip (copy link / X / LinkedIn) to integration and
model detail pages, matching the bordered secondary-pill chip
already used for View docs / All {provider} models
- rework ShareButton to render as a Chip everywhere (blog, library,
integrations, models) instead of a bespoke muted-text trigger, and
switch its copy-link state to the shared useCopyToClipboard hook
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
| Project |
Deployment |
Actions |
Updated (UTC) |
| docs |
Skipped |
|
Jul 11, 2026 12:20am |

|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
cursor
Bot
commented
Jul 11, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
PR Summary
Low Risk
Landing-only UI and clipboard/share menu behavior; no auth, API, or data-path changes.
Overview
Adds Share to integration and model detail hero CTAs (alongside existing primary and secondary chips), using the same ShareButton as blog and library.
ShareButton is reworked so the trigger is a bordered Chip with TRIGGER_BORDER_CLASS (aligned with “View docs” / provider chips) instead of a muted text button. Copy-link feedback now uses shared useCopyToClipboard instead of local clipboard state.
Reviewed by Cursor Bugbot for commit 949539a. Configure here.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Greptile Summary
This PR adds sharing controls to landing detail pages. The main changes are:
- Adds the shared Share chip to integration pages.
- Adds the shared Share chip to model pages.
- Updates
ShareButton to use EMCN Chip styling and the shared clipboard hook.
Confidence Score: 5/5
This looks safe to merge.
- No blocking issues found in the changed code.
- The new share URLs match the existing canonical URL construction.
- The updated share trigger matches the EMCN component contracts already used by the app.
Important Files Changed
| Filename |
Overview |
| apps/sim/app/(landing)/components/share-button/share-button.tsx |
Reworks the share trigger to use EMCN Chip chrome and useCopyToClipboard while keeping the dropdown actions intact. |
| apps/sim/app/(landing)/integrations/(shell)/[slug]/page.tsx |
Adds ShareButton beside the existing docs chip using the page's existing absolute integration URL shape. |
| apps/sim/app/(landing)/models/(shell)/[provider]/[model]/page.tsx |
Adds ShareButton beside the provider models chip using the existing model detail URL shape. |
Reviews (1): Last reviewed commit: "feat(landing): add Share chip to integra..." | Re-trigger Greptile
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch was previously deployed
1 inactive
deployment
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|