René's URL Explorer Experiment


Title: refactor: consolidate viewport hooks and remove defineProperty matchMedia stub by ibetitsmike · Pull Request #28460 · coder/coder · GitHub

Open Graph Title: refactor: consolidate viewport hooks and remove defineProperty matchMedia stub by ibetitsmike · Pull Request #28460 · coder/coder

X Title: refactor: consolidate viewport hooks and remove defineProperty matchMedia stub by ibetitsmike · Pull Request #28460 · coder/coder

Description: Secure environments for developers and their agents - refactor: consolidate viewport hooks and remove defineProperty matchMedia stub by ibetitsmike · Pull Request #28460 · coder/coder

Open Graph Description: Follow-up to review feedback on #28387. That PR added three hooks for one feature (useIsBelowLgViewport, useIsBelowMdViewport, and the local single-use useRightPanelNarrowSuppression) and stubbed w...

X Description: Follow-up to review feedback on #28387. That PR added three hooks for one feature (useIsBelowLgViewport, useIsBelowMdViewport, and the local single-use useRightPanelNarrowSuppression) and stubbed w...

Opengraph URL: https://github.com/coder/coder/pull/28460

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:41cb73af-f191-aa40-a2b9-ed2e95a92bf4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0D8:1087D4:125B243:188AE06:6B0124DD
html-safe-nonceae7b620a1c006b3649cc4e54b7bdde445ef34d65bb24f954442c31d5cbc8a808
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEQ4OjEwODdENDoxMjVCMjQzOjE4OEFFMDY6NkIwMTI0REQiLCJ2aXNpdG9yX2lkIjoiMjQ4NzE2MzAyNjg2ODg3MjQxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac88413eb852f026c064460a7b7ca459646cd2f73f861cedba3995e327f631b20b
hovercard-subject-tagpull_request:4347602075
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/28460/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3880bb2c66c5e5e0b5c31798cbd4044d551426c3f524309fdd085c1f6151ee32/coder/coder/pull/28460
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3880bb2c66c5e5e0b5c31798cbd4044d551426c3f524309fdd085c1f6151ee32/coder/coder/pull/28460
og:image:altFollow-up to review feedback on #28387. That PR added three hooks for one feature (useIsBelowLgViewport, useIsBelowMdViewport, and the local single-use useRightPanelNarrowSuppression) and stubbed w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameibetitsmike
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/28460#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28460
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%2Fcoder%2Fcoder%2Fpull%2F28460
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/28460
Reloadhttps://github.com/coder/coder/pull/28460
Reloadhttps://github.com/coder/coder/pull/28460
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
ibetitsmikehttps://github.com/ibetitsmike
mainhttps://github.com/coder/coder/tree/main
mike/viewport-hook-consolidationhttps://github.com/coder/coder/tree/mike/viewport-hook-consolidation
Conversationhttps://github.com/coder/coder/pull/28460
Commits4 (4)https://github.com/coder/coder/pull/28460/commits
Checkshttps://github.com/coder/coder/pull/28460/checks
Files changedhttps://github.com/coder/coder/pull/28460/files
refactor: consolidate viewport hooks and remove defineProperty matchMedia stubhttps://github.com/coder/coder/pull/28460#top
ibetitsmikehttps://github.com/ibetitsmike
mainhttps://github.com/coder/coder/tree/main
mike/viewport-hook-consolidationhttps://github.com/coder/coder/tree/mike/viewport-hook-consolidation
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#issue-5233755064
Please reload this pagehttps://github.com/coder/coder/pull/28460
#28387https://github.com/coder/coder/pull/28387
@ibetitsmikehttps://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
DanielleMaywoodhttps://github.com/DanielleMaywood
code ownerhttps://github.com/coder/coder/blob/0ef331fcd0ca8e26c53f483aaf577a3f7aef9033/CODEOWNERS#L31
August 24, 2026 10:35https://github.com/coder/coder/pull/28460#event-29906779897
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394027285
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#event-29906794122
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394050773
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#event-29906964708
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
aslilachttps://github.com/aslilac
jeremyruppelhttps://github.com/jeremyruppel
August 24, 2026 10:39https://github.com/coder/coder/pull/28460#event-29906981962
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394070304
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394111873
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394117246
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394151192
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394188200
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5394213343
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/jeremyruppel
jeremyruppelhttps://github.com/jeremyruppel
Aug 24, 2026 https://github.com/coder/coder/pull/28460#pullrequestreview-5008655776
View reviewed changes https://github.com/coder/coder/pull/28460/files/021243d9aba52b2985ba2c3892cf1c2df6318fa5
jeremyruppelhttps://github.com/jeremyruppel
https://github.com/coder/coder/pull/28460#pullrequestreview-5008655776
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/28460
ibetitsmikehttps://github.com/ibetitsmike
August 24, 2026 16:40https://github.com/coder/coder/pull/28460#commits-pushed-21fb64e
https://github.com/ibetitsmike
refactor(site): consolidate viewport hooks and remove defineProperty …https://github.com/coder/coder/pull/28460/commits/21fb64e66568116cd46f312899a1d2acb166ffcc
21fb64ehttps://github.com/coder/coder/pull/28460/commits/21fb64e66568116cd46f312899a1d2acb166ffcc
https://github.com/ibetitsmike
docs(.claude): encode viewport-hook review feedback into frontend pat…https://github.com/coder/coder/pull/28460/commits/bd4426f8c7d986f21a5814868f63eac36e6b3d24
bd4426fhttps://github.com/coder/coder/pull/28460/commits/bd4426f8c7d986f21a5814868f63eac36e6b3d24
https://github.com/ibetitsmike
docs(site): trim the new-hook rule in AGENTS.mdhttps://github.com/coder/coder/pull/28460/commits/cd3767f91dc7bc91f65f65db9ce953a2ea88850f
cd3767fhttps://github.com/coder/coder/pull/28460/commits/cd3767f91dc7bc91f65f65db9ce953a2ea88850f
https://github.com/ibetitsmike
docs: trim frontend hook and global-stub rules to the canonical patte…https://github.com/coder/coder/pull/28460/commits/021243d9aba52b2985ba2c3892cf1c2df6318fa5
021243dhttps://github.com/coder/coder/pull/28460/commits/021243d9aba52b2985ba2c3892cf1c2df6318fa5
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/c1b0c827bf9cef733f230a86f28bcf4d3468c404..021243d9aba52b2985ba2c3892cf1c2df6318fa5
c1b0c82https://github.com/coder/coder/commit/c1b0c827bf9cef733f230a86f28bcf4d3468c404
021243dhttps://github.com/coder/coder/commit/021243d9aba52b2985ba2c3892cf1c2df6318fa5
Compare https://github.com/coder/coder/compare/c1b0c827bf9cef733f230a86f28bcf4d3468c404..021243d9aba52b2985ba2c3892cf1c2df6318fa5
August 24, 2026 16:44https://github.com/coder/coder/pull/28460#event-29926818468
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5398414588
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
August 24, 2026 16:49https://github.com/coder/coder/pull/28460#event-29927032177
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Aug 24, 2026https://github.com/coder/coder/pull/28460#issuecomment-5398445869
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
3c32408https://github.com/coder/coder/commit/3c3240836efb5cb17aaef190dae11a5e2da7a52d
Aug 24, 2026https://github.com/coder/coder/pull/28460#event-29927222848
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
August 24, 2026 16:52https://github.com/coder/coder/pull/28460#event-29927223984
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 24, 2026https://github.com/coder/coder/pull/28460#event-29927232876
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28460
https://github.com/jeremyruppel
jeremyruppel https://github.com/jeremyruppel
https://github.com/coder/coder/pull/28460/files/021243d9aba52b2985ba2c3892cf1c2df6318fa5
https://github.com/DanielleMaywood
DanielleMaywood https://github.com/DanielleMaywood
https://github.com/aslilac
aslilac https://github.com/aslilac
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
ibetitsmike https://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/28460
https://github.com/ibetitsmike
https://github.com/jeremyruppel
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.