René's URL Explorer Experiment


Title: feat(ui): add shared media lightbox with zoom controls by waleedlatif1 · Pull Request #7840 · simstudioai/sim · GitHub

Open Graph Title: feat(ui): add shared media lightbox with zoom controls by waleedlatif1 · Pull Request #7840 · simstudioai/sim

X Title: feat(ui): add shared media lightbox with zoom controls by waleedlatif1 · Pull Request #7840 · simstudioai/sim

Description: Summary Open composer and sent-message image thumbnails in a shared emcn lightbox. Add bottom zoom controls and reuse the file viewers' trackpad pinch and scroll handling, preserving click-to-close and Escape dismissal. Reuse the same viewer in docs and landing content, with existing platform styling. Type of Change Feature Testing Tested composer and sent-image previews, trackpad gesture events, 25–400% zoom, scrolling, reset, dismissal, focus restoration, and mobile sizing in the browser. All eight cleanup passes complete; full-repo lint and 46 ship audits pass. Sim, docs, and emcn type checks pass; 64 focused lightbox, wheel, and modal tests pass. 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)

Open Graph Description: Summary Open composer and sent-message image thumbnails in a shared emcn lightbox. Add bottom zoom controls and reuse the file viewers' trackpad pinch and scroll handling, preserving click-to-...

X Description: Summary Open composer and sent-message image thumbnails in a shared emcn lightbox. Add bottom zoom controls and reuse the file viewers' trackpad pinch and scroll handling, preserving click...

Opengraph URL: https://github.com/simstudioai/sim/pull/7840

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a6b3566d-5a23-9601-26ed-3d1804e07327
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD3CC:2A369:D89DFB:132EE94:6AFB648D
html-safe-nonce1d6695195ab9357ebff74c62b7920448d6496454f1fee3c6a249562eca764f28
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0NDOjJBMzY5OkQ4OURGQjoxMzJFRTk0OjZBRkI2NDhEIiwidmlzaXRvcl9pZCI6IjQxOTQ3ODc4NDcwNDA2MjM3NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf41b18e24f53cd682cac05024849a7c8a66396e61e994ae6fa2c0de4751945b3
hovercard-subject-tagpull_request:4532447103
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7840/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Open composer and sent-message image thumbnails in a shared emcn lightbox. Add bottom zoom controls and reuse the file viewers' trackpad pinch and scroll handling, preserving click-to-...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7840/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7840%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7840%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7840/files
Reloadhttps://github.com/simstudioai/sim/pull/7840/files
Reloadhttps://github.com/simstudioai/sim/pull/7840/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
codex/chat-image-lightboxhttps://github.com/simstudioai/sim/tree/codex/chat-image-lightbox
Conversation 13 https://github.com/simstudioai/sim/pull/7840
Commits 2 https://github.com/simstudioai/sim/pull/7840/commits
Checks 36 https://github.com/simstudioai/sim/pull/7840/checks
Files changed https://github.com/simstudioai/sim/pull/7840/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7840/files
feat(ui): add shared media lightbox with zoom controls https://github.com/simstudioai/sim/pull/7840/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/7840/files
f519ebf feat(ui): add shared media lightbox with zoom controls waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7840/commits/f519ebfb91ce1d62d82f93c07507092d6b9b2d47
0e2bc7e fix(ui): share file viewer trackpad zoom with lightbox waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7840/commits/0e2bc7ef4931af48ef631398f5cb55d6552677df
Clear filters https://github.com/simstudioai/sim/pull/7840/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7840/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7840/files
action-media.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-36297b0c176d664c95b08efcee5522ccd5eac684d893d8ca7dea67165d87316d
image.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-2cec62ec6b0cdf07d865c4cfa9082ed99a343e95f36a7e1cb6cc6afeafa116b3
lightbox.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-42f998d6a4e1b31bb4371a024d537f4e0cc8dcfa3fec7cd87de9950f2452b5ac
video.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-0be94b311ecbb4e960ee4deb9e5b96813bf3e970ad509fe87c85bfc430c91b5f
content-image.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-9a80e2a24936df8ff96342a2038c7ea63e177dc9dc28ae8f218ee2e5f8b2aad2
index.ts https://github.com/simstudioai/sim/pull/7840/files#diff-06097183afd13f5ba3551b3fcacabb06f03aee47ee5654f6bcebacea476327d2
index.ts https://github.com/simstudioai/sim/pull/7840/files#diff-97641175bf0c4b5930dbc71c9bd3561e414cce3dbb270abc70089968d8f8aad7
lightbox.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-7851b10f7a8892000295ee4ee7e798fb2fb9705965c2cd3962350a57b0c695cc
docx-preview.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-07a52d21389f1388c0ff695dd4222845f6392c1a1fd6c5a1dbc3cd9d685ad3d9
pdf-viewer.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-4569edfcc7a1e27b5ed89764f1b01fba3c073348e4855c35d67dcdb0655ae10f
pptx-sandbox-host.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-85f2e51dbc261b3073fb38d08265b42eec3d6daf78635e28d8b37ddc4e1bc90a
use-horizontal-wheel-scroll.ts https://github.com/simstudioai/sim/pull/7840/files#diff-7b8c2f71088368a5e1fba16eceb49431e8bfd3a11045247b596b4fa8cad8f086
zoomable-preview.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-dd0d4314b329fd1bc5ffd67defcd9ea142e7a3e57c30dddc88c91c6d6b7c44a2
chat-message-attachments.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-36cf1c674262f4646b69589c0f044e5d867dcb6c1244d2524849b0be9526e4b7
attached-files-list.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-bc3bd8e6195a43cf1627277f48d7acb34727e94b8ac9f17700338babf28b7498
index.ts https://github.com/simstudioai/sim/pull/7840/files#diff-85e8dc45d20ed0821f684422d4e98d66a0ff6aa5ab8dc44237165078e6fa95e4
lightbox.test.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-38110aea5f6a9226560e7d21a0a83a85d5f5a214ee11fdd3316c2dfc72ae3d70
lightbox.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-e88e993b310c86e2483c99e8914fa730a7d47b53dca09d5e3e1b68886e84da66
modal.tsx https://github.com/simstudioai/sim/pull/7840/files#diff-51423e0d7e1b79a1155de6b0ea446557ff5b5d08285cd4cce2b2c79db878165d
index.ts https://github.com/simstudioai/sim/pull/7840/files#diff-9f8e93222b4a7ebde12bce691d1116189b710bdc8ffdda89baa45c7ad13eeb81
preview-wheel-zoom.test.ts https://github.com/simstudioai/sim/pull/7840/files#diff-de61465645bc70500f0e44cbff3bf1bceb7e0b474da9ce496dc67a3b1cadb704
preview-wheel-zoom.ts https://github.com/simstudioai/sim/pull/7840/files#diff-ce614e9caeda1ab104edcd9f77c85b867e6bcfe0d305811335d89791f4e3cf4c
apps/docs/components/ui/action-media.tsxhttps://github.com/simstudioai/sim/pull/7840/files#diff-36297b0c176d664c95b08efcee5522ccd5eac684d893d8ca7dea67165d87316d
View file https://github.com/simstudioai/sim/blob/0e2bc7ef4931af48ef631398f5cb55d6552677df/apps/docs/components/ui/action-media.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7840/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7840/files#diff-36297b0c176d664c95b08efcee5522ccd5eac684d893d8ca7dea67165d87316d
https://github.com/simstudioai/sim/pull/7840/files#diff-36297b0c176d664c95b08efcee5522ccd5eac684d893d8ca7dea67165d87316d
https://github.com/simstudioai/sim/pull/7840/files#diff-36297b0c176d664c95b08efcee5522ccd5eac684d893d8ca7dea67165d87316d
apps/docs/components/ui/image.tsxhttps://github.com/simstudioai/sim/pull/7840/files#diff-2cec62ec6b0cdf07d865c4cfa9082ed99a343e95f36a7e1cb6cc6afeafa116b3
View file https://github.com/simstudioai/sim/blob/0e2bc7ef4931af48ef631398f5cb55d6552677df/apps/docs/components/ui/image.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7840/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7840/files#diff-2cec62ec6b0cdf07d865c4cfa9082ed99a343e95f36a7e1cb6cc6afeafa116b3
https://github.com/simstudioai/sim/pull/7840/files#diff-2cec62ec6b0cdf07d865c4cfa9082ed99a343e95f36a7e1cb6cc6afeafa116b3
apps/docs/components/ui/lightbox.tsxhttps://github.com/simstudioai/sim/pull/7840/files#diff-42f998d6a4e1b31bb4371a024d537f4e0cc8dcfa3fec7cd87de9950f2452b5ac
View file https://github.com/simstudioai/sim/blob/058c37b424cf1dc79960043a75930614dbed8158/apps/docs/components/ui/lightbox.tsx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/7840/files
apps/docs/components/ui/video.tsxhttps://github.com/simstudioai/sim/pull/7840/files#diff-0be94b311ecbb4e960ee4deb9e5b96813bf3e970ad509fe87c85bfc430c91b5f
View file https://github.com/simstudioai/sim/blob/0e2bc7ef4931af48ef631398f5cb55d6552677df/apps/docs/components/ui/video.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7840/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7840/files#diff-0be94b311ecbb4e960ee4deb9e5b96813bf3e970ad509fe87c85bfc430c91b5f
https://github.com/simstudioai/sim/pull/7840/files#diff-0be94b311ecbb4e960ee4deb9e5b96813bf3e970ad509fe87c85bfc430c91b5f
https://github.com/simstudioai/sim/pull/7840/files#diff-0be94b311ecbb4e960ee4deb9e5b96813bf3e970ad509fe87c85bfc430c91b5f
Please reload this pagehttps://github.com/simstudioai/sim/pull/7840/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7840/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.