| 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:7025a699-71d8-2f7f-4b22-29a46e2354c6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9ECA:243AE6:99DB55:DA6B7C:6AFB5365 |
| html-safe-nonce | 2d8bbe85857e9c1b61ca0abaca65688c72ba09ce61730f536cfb465be61926db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUNBOjI0M0FFNjo5OURCNTU6REE2QjdDOjZBRkI1MzY1IiwidmlzaXRvcl9pZCI6IjczMDcxMzI4MTQzMDA1MDA4MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2fc7fc6a55bb49cf9a9f2e4bac5a4c5f4437411568a1679f259421e6993ca65c |
| hovercard-subject-tag | pull_request:4658112416 |
| 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/8361/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
Chat find closed and cleared its query when a pending chat adopted its persisted id (undefined → id), although that's the same conversation. It now resets only when an existing scope c... |
| 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/8361/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8361%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%2F8361%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/8361/files |
| Reload | https://github.com/simstudioai/sim/pull/8361/files |
| Reload | https://github.com/simstudioai/sim/pull/8361/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/chat-find-and-mention-edges | https://github.com/simstudioai/sim/tree/fix/chat-find-and-mention-edges |
|
Conversation
12
| https://github.com/simstudioai/sim/pull/8361 |
|
Commits
4
| https://github.com/simstudioai/sim/pull/8361/commits |
|
Checks
31
| https://github.com/simstudioai/sim/pull/8361/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/8361/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8361/files |
|
fix(chat): keep find stable across footnotes and pending chats, and match mention chips next to punctuation
| https://github.com/simstudioai/sim/pull/8361/files#top |
|
Show all changes
4 commits
| https://github.com/simstudioai/sim/pull/8361/files |
|
52a7a88
fix(chat): keep find stable across footnotes and pending chats, and m…
waleedlatif1 Sep 28, 2026
| https://github.com/simstudioai/sim/pull/8361/commits/52a7a88a33217f46d51aa90cfb919d22cf894d88 |
|
4a5d1e8
fix(chat): keep the longest overlapping mention chip and centralize t…
waleedlatif1 Sep 28, 2026
| https://github.com/simstudioai/sim/pull/8361/commits/4a5d1e8c92b2025497cadb504604e55110a93dbd |
|
b7c2dc5
fix(chat): avoid Array.at in the mention range merge
waleedlatif1 Sep 28, 2026
| https://github.com/simstudioai/sim/pull/8361/commits/b7c2dc5cdf8e1473bb09ae718f0479bca0460ee0 |
|
f884d83
fix(chat): only treat a period as a mention boundary when no name con…
waleedlatif1 Sep 28, 2026
| https://github.com/simstudioai/sim/pull/8361/commits/f884d83137123724716f6ce74564c7a93251e4a2 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/8361/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8361/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8361/files |
|
composer.test.tsx
| https://github.com/simstudioai/sim/pull/8361/files#diff-87db22bac8dfc69031cb29da7aef3fd7c472fdd1c581a81e1b5294ec51d3bcf6 |
|
organization-home.test.tsx
| https://github.com/simstudioai/sim/pull/8361/files#diff-5647ada0df30b4740f33505e1ec51ce6b45d4d6a81afcbc3b8af1ebb73c09885 |
|
chat-content.tsx
| https://github.com/simstudioai/sim/pull/8361/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2 |
|
chat-find-text.ts
| https://github.com/simstudioai/sim/pull/8361/files#diff-9180e057788f7f136316965ca6f76c90aa790674464f0ad3a4e7c1044aa0ff29 |
|
use-chat-find.test.tsx
| https://github.com/simstudioai/sim/pull/8361/files#diff-c7c9f478e8de415fa1f8ce1a4f8c86eab080a5f15e38346e6ad46c493c9ebe47 |
|
use-chat-find.ts
| https://github.com/simstudioai/sim/pull/8361/files#diff-7ca9676871c35d9860a694b8ae998d21ef147fb2d54497e81c602313fbc8c890 |
|
use-prompt-editor.test.tsx
| https://github.com/simstudioai/sim/pull/8361/files#diff-a8f1083a14a5b4e5aa24a64348b073e05f8da872c3cd3edcc8bbe88866412bd6 |
|
utils.test.ts
| https://github.com/simstudioai/sim/pull/8361/files#diff-06919daa46dd776d4bab11fdc3625737372a80b9abfe238c455cade1c36e821f |
|
utils.ts
| https://github.com/simstudioai/sim/pull/8361/files#diff-abfa6b87d301c2136c386ba1276d36e67a698885fafd81740a3937046c683144 |
|
index.ts
| https://github.com/simstudioai/sim/pull/8361/files#diff-38963b775b9a08da9c40dbdf25380b1bd038aa3f9f93e9c657ef549fb39f512c |
|
integration-matcher.mock.ts
| https://github.com/simstudioai/sim/pull/8361/files#diff-a97dbf15b765b18f0ee0177576ad17d04925f6a58d9b73b95568eafc7c931d32 |
| apps/sim/app/o/[organizationId]/home/components/composer/composer.test.tsx | https://github.com/simstudioai/sim/pull/8361/files#diff-87db22bac8dfc69031cb29da7aef3fd7c472fdd1c581a81e1b5294ec51d3bcf6 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/o/%5BorganizationId%5D/home/components/composer/composer.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-87db22bac8dfc69031cb29da7aef3fd7c472fdd1c581a81e1b5294ec51d3bcf6 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-87db22bac8dfc69031cb29da7aef3fd7c472fdd1c581a81e1b5294ec51d3bcf6 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-87db22bac8dfc69031cb29da7aef3fd7c472fdd1c581a81e1b5294ec51d3bcf6 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-87db22bac8dfc69031cb29da7aef3fd7c472fdd1c581a81e1b5294ec51d3bcf6 |
| apps/sim/app/o/[organizationId]/home/organization-home.test.tsx | https://github.com/simstudioai/sim/pull/8361/files#diff-5647ada0df30b4740f33505e1ec51ce6b45d4d6a81afcbc3b8af1ebb73c09885 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/o/%5BorganizationId%5D/home/organization-home.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-5647ada0df30b4740f33505e1ec51ce6b45d4d6a81afcbc3b8af1ebb73c09885 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-5647ada0df30b4740f33505e1ec51ce6b45d4d6a81afcbc3b8af1ebb73c09885 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-5647ada0df30b4740f33505e1ec51ce6b45d4d6a81afcbc3b8af1ebb73c09885 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-5647ada0df30b4740f33505e1ec51ce6b45d4d6a81afcbc3b8af1ebb73c09885 |
| ...ce/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx | https://github.com/simstudioai/sim/pull/8361/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/message-content/components/chat-content/chat-content.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-431cad27d522bf111633c79d6973e5728792d1c6f60727071bf49f495d1153a2 |
| apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/chat-find-text.ts | https://github.com/simstudioai/sim/pull/8361/files#diff-9180e057788f7f136316965ca6f76c90aa790674464f0ad3a4e7c1044aa0ff29 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/mothership-chat/chat-find-text.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-9180e057788f7f136316965ca6f76c90aa790674464f0ad3a4e7c1044aa0ff29 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-9180e057788f7f136316965ca6f76c90aa790674464f0ad3a4e7c1044aa0ff29 |
| apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/use-chat-find.test.tsx | https://github.com/simstudioai/sim/pull/8361/files#diff-c7c9f478e8de415fa1f8ce1a4f8c86eab080a5f15e38346e6ad46c493c9ebe47 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/mothership-chat/use-chat-find.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/use-chat-find.ts | https://github.com/simstudioai/sim/pull/8361/files#diff-7ca9676871c35d9860a694b8ae998d21ef147fb2d54497e81c602313fbc8c890 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/mothership-chat/use-chat-find.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-7ca9676871c35d9860a694b8ae998d21ef147fb2d54497e81c602313fbc8c890 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-7ca9676871c35d9860a694b8ae998d21ef147fb2d54497e81c602313fbc8c890 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-7ca9676871c35d9860a694b8ae998d21ef147fb2d54497e81c602313fbc8c890 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-7ca9676871c35d9860a694b8ae998d21ef147fb2d54497e81c602313fbc8c890 |
| ...rkspaceId]/home/components/user-input/components/prompt-editor/use-prompt-editor.test.tsx | https://github.com/simstudioai/sim/pull/8361/files#diff-a8f1083a14a5b4e5aa24a64348b073e05f8da872c3cd3edcc8bbe88866412bd6 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/user-input/components/prompt-editor/use-prompt-editor.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-a8f1083a14a5b4e5aa24a64348b073e05f8da872c3cd3edcc8bbe88866412bd6 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-a8f1083a14a5b4e5aa24a64348b073e05f8da872c3cd3edcc8bbe88866412bd6 |
| apps/sim/app/workspace/[workspaceId]/home/components/user-message-content/utils.test.ts | https://github.com/simstudioai/sim/pull/8361/files#diff-06919daa46dd776d4bab11fdc3625737372a80b9abfe238c455cade1c36e821f |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/user-message-content/utils.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
| apps/sim/app/workspace/[workspaceId]/home/components/user-message-content/utils.ts | https://github.com/simstudioai/sim/pull/8361/files#diff-abfa6b87d301c2136c386ba1276d36e67a698885fafd81740a3937046c683144 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/user-message-content/utils.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-abfa6b87d301c2136c386ba1276d36e67a698885fafd81740a3937046c683144 |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-abfa6b87d301c2136c386ba1276d36e67a698885fafd81740a3937046c683144 |
| Please reload this page | https://github.com/simstudioai/sim/pull/8361/files |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-abfa6b87d301c2136c386ba1276d36e67a698885fafd81740a3937046c683144 |
| packages/testing/src/mocks/index.ts | https://github.com/simstudioai/sim/pull/8361/files#diff-38963b775b9a08da9c40dbdf25380b1bd038aa3f9f93e9c657ef549fb39f512c |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/packages/testing/src/mocks/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-38963b775b9a08da9c40dbdf25380b1bd038aa3f9f93e9c657ef549fb39f512c |
|
| https://github.com/simstudioai/sim/pull/8361/files#diff-38963b775b9a08da9c40dbdf25380b1bd038aa3f9f93e9c657ef549fb39f512c |
| packages/testing/src/mocks/integration-matcher.mock.ts | https://github.com/simstudioai/sim/pull/8361/files#diff-a97dbf15b765b18f0ee0177576ad17d04925f6a58d9b73b95568eafc7c931d32 |
|
View file
| https://github.com/simstudioai/sim/blob/f884d83137123724716f6ce74564c7a93251e4a2/packages/testing/src/mocks/integration-matcher.mock.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8361/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/8361/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 |