| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8c84d014-37f8-8eb4-afd6-91893b81a8af |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D784:243FA5:AB6FA9:EB7F09:6AFB50BC |
| html-safe-nonce | 2041644135b253412215c8135fb0713913d5e5423af8c6558a8f739fd5c20366 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzg0OjI0M0ZBNTpBQjZGQTk6RUI3RjA5OjZBRkI1MEJDIiwidmlzaXRvcl9pZCI6IjYyMTE1NDc3NDAxMTU3ODM4NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cb892c871b7b62355dfe58b1d3c6e346fef42666e04a137d8b45f142b99e6540 |
| hovercard-subject-tag | pull_request:4216510920 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6299/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
A markdown image with no stored dimensions reserved zero vertical space until it downloaded, then snapped to its natural height and pushed everything below it down (cumulative layout shift... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/6299/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6299%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6299%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/simstudioai/sim/pull/6299/files |
| Reload | https://github.com/simstudioai/sim/pull/6299/files |
| Reload | https://github.com/simstudioai/sim/pull/6299/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/files-image-layout-shift | https://github.com/simstudioai/sim/tree/fix/files-image-layout-shift |
|
Conversation
54
| https://github.com/simstudioai/sim/pull/6299 |
|
Commits
10
| https://github.com/simstudioai/sim/pull/6299/commits |
|
Checks
30
| https://github.com/simstudioai/sim/pull/6299/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/6299/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
|
fix(files): reserve image layout space so images stop reflowing on load
| https://github.com/simstudioai/sim/pull/6299/files#top |
|
Show all changes
10 commits
| https://github.com/simstudioai/sim/pull/6299/files |
|
ba2bf7a
fix(files): reserve image layout space so images stop reflowing on load
waleedlatif1 Aug 5, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/ba2bf7a8c1ed7780c80f74a657a608146485f244 |
|
1c026d5
fix(files): address review — reserve on stale memo, clear dims on con…
waleedlatif1 Aug 5, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/1c026d5ba777d297e52794ae1c03d2b36d5619d7 |
|
770c1f5
fix(files): re-derive image dimensions on content swap instead of cle…
waleedlatif1 Aug 5, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/770c1f56ac7bff307c2ddb1932bd498d1732c15c |
|
17499b1
fix(files): self-heal image dimensions from the browser instead of se…
waleedlatif1 Aug 5, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/17499b1115e1b1b6824dcdddbbadc011fa1384b2 |
|
ba8507c
fix(files): clear image dimensions on content swap (completes self-heal)
waleedlatif1 Aug 5, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/ba8507c5989b3d06c03b23baa674a707937d9808 |
|
cd1b2be
fix(files): guard dimension writes by content key so a stale PATCH ca…
waleedlatif1 Aug 5, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/cd1b2bec88170cc25ce6031e078e000bdb42f3d0 |
|
94348f0
chore(files): fix stale route TSDoc and hoist a regex literal (cleanu…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/94348f0d904fb032ded58cca5f8b9135cc360a9a |
|
497b223
fix(files): reflect the content-version guard outcome in the dimensio…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/497b2237437bdc7c4962bb8dcfb837338d7c33ad |
|
4cabb83
fix(files): reconcile the cache when a dimension write is content-ver…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/4cabb8362d102e4fa91791bc4a5ab842f79542ba |
|
d2b1195
docs(files): align stale dimension docs with the overwrite/self-heal …
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6299/commits/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/6299/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-2d0534a12a94436b022f899fda284cc5653d9add6bbb13bdcc095e9af6e88bf9 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-e176c195ca70b1178e449dc27f460143e670adad1f93bd8d1fd558d3d0fb776e |
|
file-viewer.tsx
| https://github.com/simstudioai/sim/pull/6299/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
|
image.tsx
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
|
find-workspace-file-by-src.test.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-93afeb2ce133b2aa9764e3428cba362d96ea4b5274f4e1fcd25505da9a1fac26 |
|
find-workspace-file-by-src.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-016be0ac9d7a6af2ff2940d06ffe5e4cc364269299ebad89a68206c81b621563 |
|
workspace-files.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-29d9b6d312177176db7c67d2754eb013b3ee7dc842dbbdb481bed86f551d4f37 |
|
use-file-content-source.tsx
| https://github.com/simstudioai/sim/pull/6299/files#diff-90976156a39bdd21612371dd8e08cf7a466bbf188c03cc869cf3aaf9cf1ad73a |
|
workspace-files.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-05f84543b5a8f478260ff33a6503250494619411c41c9f43523e352d8fe8bc37 |
|
workspace-file-manager.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-fcf305d0b37403347596bca42fc6889e9038c9f8e2c69ba20676c0f0d8fead34 |
|
0282_chubby_psylocke.sql
| https://github.com/simstudioai/sim/pull/6299/files#diff-bd8a8596b37b14f4089ad3fd93797302cd5c72afd6b097e91342e22206ee328e |
|
0282_snapshot.json
| https://github.com/simstudioai/sim/pull/6299/files#diff-8e0461433e3216e843ba4e43f0ca6e316158c0b2cb72d10065dbb8096d5c25fd |
|
_journal.json
| https://github.com/simstudioai/sim/pull/6299/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/6299/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
| apps/sim/app/api/workspaces/[id]/files/[fileId]/dimensions/route.test.ts | https://github.com/simstudioai/sim/pull/6299/files#diff-2d0534a12a94436b022f899fda284cc5653d9add6bbb13bdcc095e9af6e88bf9 |
|
View file
| https://github.com/simstudioai/sim/blob/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072/apps/sim/app/api/workspaces/%5Bid%5D/files/%5BfileId%5D/dimensions/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6299/{{ revealButtonHref }} |
| apps/sim/app/api/workspaces/[id]/files/[fileId]/dimensions/route.ts | https://github.com/simstudioai/sim/pull/6299/files#diff-e176c195ca70b1178e449dc27f460143e670adad1f93bd8d1fd558d3d0fb776e |
|
View file
| https://github.com/simstudioai/sim/blob/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072/apps/sim/app/api/workspaces/%5Bid%5D/files/%5BfileId%5D/dimensions/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6299/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/file-viewer.tsx | https://github.com/simstudioai/sim/pull/6299/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
|
View file
| https://github.com/simstudioai/sim/blob/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/file-viewer.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6299/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
| ...m/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/image.tsx | https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
|
View file
| https://github.com/simstudioai/sim/blob/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/image.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6299/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
|
| https://github.com/simstudioai/sim/pull/6299/files#diff-9371bbb9b8daf622c8ef475c01a9b90285d3a07d6ebd0f633ff66a2c62492496 |
| apps/sim/hooks/queries/utils/find-workspace-file-by-src.test.ts | https://github.com/simstudioai/sim/pull/6299/files#diff-93afeb2ce133b2aa9764e3428cba362d96ea4b5274f4e1fcd25505da9a1fac26 |
|
View file
| https://github.com/simstudioai/sim/blob/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072/apps/sim/hooks/queries/utils/find-workspace-file-by-src.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6299/{{ revealButtonHref }} |
| apps/sim/hooks/queries/utils/find-workspace-file-by-src.ts | https://github.com/simstudioai/sim/pull/6299/files#diff-016be0ac9d7a6af2ff2940d06ffe5e4cc364269299ebad89a68206c81b621563 |
|
View file
| https://github.com/simstudioai/sim/blob/d2b1195daedd1d6e8f1188cb46d2d2f11b1bf072/apps/sim/hooks/queries/utils/find-workspace-file-by-src.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6299/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6299/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |