| 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:db1cb996-3095-ec0b-d1cb-099fc6e8770f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C9E8:11532:903CF6:CC4EF1:6AFB509C |
| html-safe-nonce | b0f7bcd29d495ef8fbdd76b6ea9913d41179fa9dd1835f5fb2b4b2994e66a178 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUU4OjExNTMyOjkwM0NGNjpDQzRFRjE6NkFGQjUwOUMiLCJ2aXNpdG9yX2lkIjoiMTQyOTIzMjUzNjU1ODE5NDg0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3d163775195b0bbb3f5423e1b0e8f725920cb776750cd9a9589a42cfde119b1c |
| hovercard-subject-tag | pull_request:4133757488 |
| 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/5965/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 | Follow-up to the tables/files collaboration work, on the realtime-rooms integration branch. Pure UX + architecture polish — no protocol/schema changes.
Files — collaborative editing
Carets/selecti... |
| 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/5965/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5965%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%2F5965%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/5965/files |
| Reload | https://github.com/simstudioai/sim/pull/5965/files |
| Reload | https://github.com/simstudioai/sim/pull/5965/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 |
| realtime-rooms | https://github.com/simstudioai/sim/tree/realtime-rooms |
| realtime-rooms-presence-polish | https://github.com/simstudioai/sim/tree/realtime-rooms-presence-polish |
|
Conversation
47
| https://github.com/simstudioai/sim/pull/5965 |
|
Commits
11
| https://github.com/simstudioai/sim/pull/5965/commits |
|
Checks
4
| https://github.com/simstudioai/sim/pull/5965/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/5965/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5965/files |
|
feat(realtime): accurate in-file presence + collaborative-caret polish
| https://github.com/simstudioai/sim/pull/5965/files#top |
|
Show all changes
11 commits
| https://github.com/simstudioai/sim/pull/5965/files |
|
2c4dbbe
feat(realtime): accurate in-file presence + collaborative-caret polish
waleedlatif1 Jul 25, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/2c4dbbeca9126558b51f01a2905b710e7906981a |
|
a2283bb
fix(realtime): guard stale workspace-files join + server-authenticate…
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/a2283bbfeb18942089e65bbe5a65402fb3da91cf |
|
1940235
refactor(realtime): apply full-PR audit + cleanup findings
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/19402350d9b53485ef7a32241b139c54067aadbc |
|
42c4ac9
fix(realtime): recreate doc in effect on StrictMode remount + drop co…
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/42c4ac9e1b2b6a02fb0448a1278c75a88ad1b40b |
|
8291967
fix(realtime): keep the collaborative Y.Doc stable for the editor's life
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/82919671ffdda51e0fc1102a6932a519486f3519 |
|
b4a0c29
fix(realtime): key file-doc presence per session + seat the caret cap…
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/b4a0c29e9ea5838eae25db3b833643fe66e56881 |
|
2f4afc5
fix(realtime): StrictMode-safe deferred teardown of the collaborative…
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/2f4afc53925dfcf863fd6ae17d6203763121b354 |
|
8dd12b8
fix(realtime): restore the collaborative caret's hover hit-slop
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/8dd12b8382234df1c440e221cb5bbb5ad4e14086 |
|
84bd92d
fix(realtime): cancel an in-flight workspace-files join when its view…
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/84bd92d61b42c5491dd05fb58cf10daeb560e112 |
|
510e9d3
fix(realtime): keep the file-doc join generation monotonic across swi…
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/510e9d3a1b2df06eb041fbd748c0fb8c1bda7f83 |
|
1309adc
fix(realtime): cancel an in-flight file-doc join when its file is left
waleedlatif1 Jul 26, 2026
| https://github.com/simstudioai/sim/pull/5965/commits/1309adc06fee126d04e0950455eba7e83fcdfeef |
|
Clear filters
| https://github.com/simstudioai/sim/pull/5965/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5965/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5965/files |
|
connection.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-350c00b05962f03e49676e9082062cfd36c889b82e0628b635fc25c99a76a00b |
|
file-doc.test.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
file-doc.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
workspace-files.test.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-388fdd5e6e1fa974aa526d25013b17b0247438fa08ed407f1524c05acd5841b5 |
|
workspace-files.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-084fa627c9e97a3928b4a3f7142e5f07cd55343416f5d15b1786afe432f6f5ca |
|
index.test.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-9fef171346df3d85119b44ead35d90fa1ed07332b5c4babfe41239cf9c91ea7e |
|
presence-avatars.tsx
| https://github.com/simstudioai/sim/pull/5965/files#diff-9a369f30fc2875f1405fd45a8c5044e46a6a033ac3439603e703cb39c106cf1d |
|
caret-presence.test.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-df89101c4d656fb2425440f293ad3ef2f39007834e4656e29f32a1842131dbfe |
|
caret-presence.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-825120cef2903d4d3256581c3931049a5bb9a40dfb85b9c22f8a6530a5de6d5b |
|
file-doc-avatars.tsx
| https://github.com/simstudioai/sim/pull/5965/files#diff-c6a43f872c5820c4ddc346ac52a8d29e5b2704b37c9ca4c137877fc268bec6f1 |
|
file-doc-provider.test.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-86ca687225a7128b114120aeef6e5609bd452da7c03292cf199518373ace515d |
|
file-doc-provider.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-598531064700e61a529706f022aa7de5653fea72bca2dfd7a0ca6ab621a666b2 |
|
file-doc-room-context.tsx
| https://github.com/simstudioai/sim/pull/5965/files#diff-cb7b134832bc2eb1465f462d88700b0de532c7e1ad7191f919c2e72081b281bc |
|
use-file-doc-collaboration.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-c9736519fd609a6344dda75d5bcfe0ca8d56f6dfd33fbe58a6c83751d572842e |
|
editor-extensions.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926 |
|
rich-markdown-editor.css
| https://github.com/simstudioai/sim/pull/5965/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
files.tsx
| https://github.com/simstudioai/sim/pull/5965/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9 |
|
use-workspace-files-room.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-141bf4f4babf802e435a0b949cd4187dc1d64cd3c6ebc6fc845d49fc98cf8faf |
|
remote-selection-overlay.tsx
| https://github.com/simstudioai/sim/pull/5965/files#diff-72afc81eb1251e22984e6bfacce6bd5ba4429ec12c0dd3ead584ad40257c73c6 |
|
table-grid.tsx
| https://github.com/simstudioai/sim/pull/5965/files#diff-264141b75a0ee2c4464df4bb6f5722cd982587470cf162e5aae9de04c84fbc0e |
|
utils.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-2f1c4e42cbe292c4f41a2c97863217a35116e736675e2ecaa72ef1e470c0804f |
|
file-doc.ts
| https://github.com/simstudioai/sim/pull/5965/files#diff-bd163d5b3b9fb43f7bbeb3bd7248e735cf4f29c19bf08f24055e0a4f986f1d78 |
| apps/realtime/src/handlers/connection.ts | https://github.com/simstudioai/sim/pull/5965/files#diff-350c00b05962f03e49676e9082062cfd36c889b82e0628b635fc25c99a76a00b |
|
View file
| https://github.com/simstudioai/sim/blob/1309adc06fee126d04e0950455eba7e83fcdfeef/apps/realtime/src/handlers/connection.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5965/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-350c00b05962f03e49676e9082062cfd36c889b82e0628b635fc25c99a76a00b |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-350c00b05962f03e49676e9082062cfd36c889b82e0628b635fc25c99a76a00b |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-350c00b05962f03e49676e9082062cfd36c889b82e0628b635fc25c99a76a00b |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-350c00b05962f03e49676e9082062cfd36c889b82e0628b635fc25c99a76a00b |
| apps/realtime/src/handlers/file-doc.test.ts | https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
View file
| https://github.com/simstudioai/sim/blob/1309adc06fee126d04e0950455eba7e83fcdfeef/apps/realtime/src/handlers/file-doc.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5965/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-e5340b7461b8def251df0b8bcc90796d84ac1296310a7be1230cd374551aae77 |
| apps/realtime/src/handlers/file-doc.ts | https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
View file
| https://github.com/simstudioai/sim/blob/1309adc06fee126d04e0950455eba7e83fcdfeef/apps/realtime/src/handlers/file-doc.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5965/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5965/files |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5965/files |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
|
| https://github.com/simstudioai/sim/pull/5965/files#diff-d3588b9954ee6e449255c053a6b579f4f687e6afa4ed18f60ab53077ad8411c8 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5965/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 |