| 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:09da8982-f82e-efaa-f317-50babf654e9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E602:2F3575:85AB9F:BECFB6:6AFB4F51 |
| html-safe-nonce | 5be6545c0ff9c76c5577173ae169dd950534142e83de17094bc3faa3a4de2656 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjAyOjJGMzU3NTo4NUFCOUY6QkVDRkI2OjZBRkI0RjUxIiwidmlzaXRvcl9pZCI6IjI0MjQ2NDMxMDc3OTA5OTkzNzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bcb96ea6055153210934ca0a3b54c624cfc23e0b5c8c46544d76704727921cb1 |
| hovercard-subject-tag | pull_request:3992537263 |
| 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/5426/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
Sidebar workflow list and mothership chat list were already server-prefetched, but the folder list wasn't — so a cold sidebar load painted a flat workflow list, then flashed into folde... |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/5426/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5426%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%2F5426%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/5426/files |
| Reload | https://github.com/simstudioai/sim/pull/5426/files |
| Reload | https://github.com/simstudioai/sim/pull/5426/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 |
| sidebar-prefetch-folders-permissions | https://github.com/simstudioai/sim/tree/sidebar-prefetch-folders-permissions |
|
Conversation
5
| https://github.com/simstudioai/sim/pull/5426 |
|
Commits
5
| https://github.com/simstudioai/sim/pull/5426/commits |
|
Checks
15
| https://github.com/simstudioai/sim/pull/5426/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/5426/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5426/files |
|
fix(sidebar): prefetch folders and workspace permissions on cold load
| https://github.com/simstudioai/sim/pull/5426/files#top |
|
Show all changes
5 commits
| https://github.com/simstudioai/sim/pull/5426/files |
|
cce2e10
fix(sidebar): prefetch folders and workspace permissions on cold load
waleedlatif1 Jul 5, 2026
| https://github.com/simstudioai/sim/pull/5426/commits/cce2e10be5b510cd82daff0e566c1acabb724aef |
|
b90f782
refactor(sidebar): dedupe folder query and permission lookups from /s…
waleedlatif1 Jul 5, 2026
| https://github.com/simstudioai/sim/pull/5426/commits/b90f78259d55c5f77144ab0cf6668748c0f3ed05 |
|
9d93827
docs(workspaces): trim getWorkspacePermissionsForViewer tsdoc to matc…
waleedlatif1 Jul 5, 2026
| https://github.com/simstudioai/sim/pull/5426/commits/9d938278c857c4a6f82b2d6df8bd01cb27a7fc12 |
|
2a10b88
fix(folders): reference FOLDER_LIST_STALE_TIME constant instead of du…
waleedlatif1 Jul 5, 2026
| https://github.com/simstudioai/sim/pull/5426/commits/2a10b88e3f59827abae643ba9ef7e8a556eceafe |
|
d9b4047
Merge remote-tracking branch 'origin/staging' into sidebar-prefetch-f…
waleedlatif1 Jul 5, 2026
| https://github.com/simstudioai/sim/pull/5426/commits/d9b40473c9ba7b57f9ce5c77f9acf275759af5fe |
|
Clear filters
| https://github.com/simstudioai/sim/pull/5426/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5426/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5426/files |
|
route.ts
| https://github.com/simstudioai/sim/pull/5426/files#diff-4398b7055f123cbcbc87b1c0928f06630175e24cb39a72f28fe70d8f45766d48 |
|
route.ts
| https://github.com/simstudioai/sim/pull/5426/files#diff-312ea52cc8a82213638ab480f5771640a73d3350c8b147a8bf729e8266f26edb |
|
prefetch.ts
| https://github.com/simstudioai/sim/pull/5426/files#diff-17f9da631614610a1ed03ff8fad6b917e56b57da971435a4cf7561dfaf7383f3 |
|
queries.ts
| https://github.com/simstudioai/sim/pull/5426/files#diff-8c09d4934ac710b9fc5d471563a51c44da290d6daee339c54f2d124faad282e4 |
|
utils.ts
| https://github.com/simstudioai/sim/pull/5426/files#diff-07191b757d3b2d0d7bb1010340242588896ee4ade5df67d9e36b8e07522da1a8 |
| apps/sim/app/api/folders/route.ts | https://github.com/simstudioai/sim/pull/5426/files#diff-4398b7055f123cbcbc87b1c0928f06630175e24cb39a72f28fe70d8f45766d48 |
|
View file
| https://github.com/simstudioai/sim/blob/d9b40473c9ba7b57f9ce5c77f9acf275759af5fe/apps/sim/app/api/folders/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5426/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-4398b7055f123cbcbc87b1c0928f06630175e24cb39a72f28fe70d8f45766d48 |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-4398b7055f123cbcbc87b1c0928f06630175e24cb39a72f28fe70d8f45766d48 |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-4398b7055f123cbcbc87b1c0928f06630175e24cb39a72f28fe70d8f45766d48 |
| apps/sim/app/api/workspaces/[id]/permissions/route.ts | https://github.com/simstudioai/sim/pull/5426/files#diff-312ea52cc8a82213638ab480f5771640a73d3350c8b147a8bf729e8266f26edb |
|
View file
| https://github.com/simstudioai/sim/blob/d9b40473c9ba7b57f9ce5c77f9acf275759af5fe/apps/sim/app/api/workspaces/%5Bid%5D/permissions/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5426/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-312ea52cc8a82213638ab480f5771640a73d3350c8b147a8bf729e8266f26edb |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-312ea52cc8a82213638ab480f5771640a73d3350c8b147a8bf729e8266f26edb |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-312ea52cc8a82213638ab480f5771640a73d3350c8b147a8bf729e8266f26edb |
| apps/sim/app/workspace/[workspaceId]/prefetch.ts | https://github.com/simstudioai/sim/pull/5426/files#diff-17f9da631614610a1ed03ff8fad6b917e56b57da971435a4cf7561dfaf7383f3 |
|
View file
| https://github.com/simstudioai/sim/blob/d9b40473c9ba7b57f9ce5c77f9acf275759af5fe/apps/sim/app/workspace/%5BworkspaceId%5D/prefetch.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5426/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-17f9da631614610a1ed03ff8fad6b917e56b57da971435a4cf7561dfaf7383f3 |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-17f9da631614610a1ed03ff8fad6b917e56b57da971435a4cf7561dfaf7383f3 |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-17f9da631614610a1ed03ff8fad6b917e56b57da971435a4cf7561dfaf7383f3 |
| apps/sim/lib/folders/queries.ts | https://github.com/simstudioai/sim/pull/5426/files#diff-8c09d4934ac710b9fc5d471563a51c44da290d6daee339c54f2d124faad282e4 |
|
View file
| https://github.com/simstudioai/sim/blob/d9b40473c9ba7b57f9ce5c77f9acf275759af5fe/apps/sim/lib/folders/queries.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5426/{{ revealButtonHref }} |
| apps/sim/lib/workspaces/permissions/utils.ts | https://github.com/simstudioai/sim/pull/5426/files#diff-07191b757d3b2d0d7bb1010340242588896ee4ade5df67d9e36b8e07522da1a8 |
|
View file
| https://github.com/simstudioai/sim/blob/d9b40473c9ba7b57f9ce5c77f9acf275759af5fe/apps/sim/lib/workspaces/permissions/utils.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5426/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-07191b757d3b2d0d7bb1010340242588896ee4ade5df67d9e36b8e07522da1a8 |
|
| https://github.com/simstudioai/sim/pull/5426/files#diff-07191b757d3b2d0d7bb1010340242588896ee4ade5df67d9e36b8e07522da1a8 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5426/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 |