| 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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:dd1c106d-48d5-9601-cfb3-0f887017145a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9832:4E2A2:22511E:2FFA50:6AFB6FA0 |
| html-safe-nonce | bb79fe350ca01ed3b343b8b211e14764a7831620f547ca97a9b1e26026023b66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODMyOjRFMkEyOjIyNTExRToyRkZBNTA6NkFGQjZGQTAiLCJ2aXNpdG9yX2lkIjoiNDIyMjU1MjU5ODcwMTEwOTE1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be5d28f7a3dae98fd510f9f61279529d71ef586fa6d8aba1cf43c317c43ff2a8 |
| hovercard-subject-tag | pull_request:2722386659 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/882/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3ee04eb00d53cc6ff42a5270af9bfbf85da1ca31a0d4c626fcf5e81b3e0a5f3e/simstudioai/sim/pull/882 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ee04eb00d53cc6ff42a5270af9bfbf85da1ca31a0d4c626fcf5e81b3e0a5f3e/simstudioai/sim/pull/882 |
| og:image:alt | Summary
Finding next available DB slot for a KB tag was not reliable. This PR fixes that by making it server side.
Takes into account:
Edit vs Create
FieldType
UI indications
Uniqueness constraint... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | icecrasher321 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 88808b1fae5ab8a526a73e7ce5542a10eb9d6971 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/882#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F882 |
| 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%2F882 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/882 |
| Reload | https://github.com/simstudioai/sim/pull/882 |
| Reload | https://github.com/simstudioai/sim/pull/882 |
| 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 requests198 (198) | 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 |
| https://github.com/simstudioai/sim |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/kb-slot-finding | https://github.com/simstudioai/sim/tree/fix/kb-slot-finding |
| Conversation | https://github.com/simstudioai/sim/pull/882 |
| Commits3 (3) | https://github.com/simstudioai/sim/pull/882/commits |
| Checks | https://github.com/simstudioai/sim/pull/882/checks |
| Files changed | https://github.com/simstudioai/sim/pull/882/files |
| fix(kb-tag-slots): finding next slot, create versus edit differentiation | https://github.com/simstudioai/sim/pull/882#top |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/kb-slot-finding | https://github.com/simstudioai/sim/tree/fix/kb-slot-finding |
|
| https://github.com/icecrasher321 |
| icecrasher321 | https://github.com/icecrasher321 |
| Aug 5, 2025 | https://github.com/simstudioai/sim/pull/882#issue-3294411355 |
| Contributor License Agreement (CLA) | https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| August 5, 2025 13:48 | https://github.com/simstudioai/sim/pull/882#commits-pushed-2c93b75 |
| fix(kb-tag-slots): finding next slot, create versus edit differentiation | https://github.com/simstudioai/sim/pull/882/commits/2c93b75e9f85e9bb38a9af394aa9e109f4e758a5 |
| 2c93b75 | https://github.com/simstudioai/sim/pull/882/commits/2c93b75e9f85e9bb38a9af394aa9e109f4e758a5 |
| remove unused test file | https://github.com/simstudioai/sim/pull/882/commits/24af0bec246c0df1274b6aae8f22890a96f05529 |
| 24af0be | https://github.com/simstudioai/sim/pull/882/commits/24af0bec246c0df1274b6aae8f22890a96f05529 |
| fix lint | https://github.com/simstudioai/sim/pull/882/commits/36038aef822cce05958ecec1744bc47b6b4070b6 |
| 36038ae | https://github.com/simstudioai/sim/pull/882/commits/36038aef822cce05958ecec1744bc47b6b4070b6 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Aug 5, 2025 | https://github.com/simstudioai/sim/pull/882#issuecomment-3156609878 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| Vercel for Git ↗︎ | https://vercel.link/github-learn-more |
| Inspect | https://vercel.com/sim-studio/sim/GQBfA3z4L8Bx5YccWpDjPCeuS7So |
| Visit Preview | https://sim-git-fix-kb-slot-finding-sim-studio.vercel.app |
| Add feedback | https://vercel.live/open-feedback/sim-git-fix-kb-slot-finding-sim-studio.vercel.app?via=pr-comment-feedback-link |
| Inspect | https://vercel.com/sim-studio/docs/4TXzkG4DwtMnE7u3FqkqpqjMM5nH |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Aug 5, 2025
| https://github.com/simstudioai/sim/pull/882#pullrequestreview-3089688103 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6 |
| greptile-apps | https://github.com/apps/greptile-apps |
| https://github.com/simstudioai/sim/pull/882#pullrequestreview-3089688103 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Edit Code Review Bot Settings | https://app.greptile.com/review/github |
| Greptile | https://greptile.com?utm_source=greptile_expert&utm_medium=github&utm_campaign=code_reviews&utm_content=sim_882 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| apps/sim/hooks/use-next-available-slot.ts | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-d764c82c6d42eb5222f74d325f12ddb01e9a97b2aa476dae718a7df2104d6c1a |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| apps/sim/hooks/use-tag-definitions.ts | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-e7ca49f35891e4e865741e36f7a872d1ddfea8fb6a230e7efa0fcd4a72a7ba80 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| apps/sim/app/api/knowledge/[id]/next-available-slot/route.ts | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-63833e1637a4a75eb74951887a81c65e78e51e95594949e6de1aa64ab1438720 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| ...m/app/workspace/[workspaceId]/knowledge/components/document-tag-entry/document-tag-entry.tsx | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-6a4379987f9ea67123a2f1996f72f1e0c7d62812173a8d6751de6c65b1f6436c |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| ...m/app/workspace/[workspaceId]/knowledge/components/document-tag-entry/document-tag-entry.tsx | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-6a4379987f9ea67123a2f1996f72f1e0c7d62812173a8d6751de6c65b1f6436c |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| apps/sim/app/api/knowledge/[id]/documents/[documentId]/tag-definitions/route.ts | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-e487ecd2ad408f0f48e5902c6b018b5b3b325ec7d9d4a4a57862ee7b2f068c51 |
| greptile-apps | https://github.com/apps/greptile-apps |
| Aug 5, 2025 | https://github.com/simstudioai/sim/pull/882#discussion_r2255321347 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| link | https://app.greptile.com/review/custom-context?memory=c63aedff-69e6-48d8-81cf-9763416ee01c |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| apps/sim/app/api/knowledge/[id]/documents/route.ts | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-8ba835fc554235c6cdcaf93dfa804d06aecafbe8ecf2de4a04ea97bcf094cf33 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| apps/sim/app/api/knowledge/[id]/documents/route.ts | https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6#diff-8ba835fc554235c6cdcaf93dfa804d06aecafbe8ecf2de4a04ea97bcf094cf33 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| https://github.com/icecrasher321 |
| icecrasher321 | https://github.com/icecrasher321 |
| be65bf7 | https://github.com/simstudioai/sim/commit/be65bf795f75ad4231d6970e66cb4998d7473ddc |
| Aug 5, 2025 | https://github.com/simstudioai/sim/pull/882#event-18999779172 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://sim-qtprbt8pr-sim-studio.vercel.app |
| Preview – sim | https://sim-qtprbt8pr-sim-studio.vercel.app |
| August 5, 2025 20:59 | https://github.com/simstudioai/sim/pull/882#event-18999784949 |
| View deployment | https://sim-qtprbt8pr-sim-studio.vercel.app |
| https://github.com/icecrasher321 |
| icecrasher321 | https://github.com/icecrasher321 |
|
Aug 5, 2025
| https://github.com/simstudioai/sim/pull/882#ref-pullrequest-3294436906 |
|
v0.3.20: KB Tag fixes
#883
| https://github.com/simstudioai/sim/pull/883 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| August 6, 2025 00:22 | https://github.com/simstudioai/sim/pull/882#event-19001879915 |
| waleedlatif1 | https://github.com/waleedlatif1 |
|
Aug 6, 2025
| https://github.com/simstudioai/sim/pull/882#ref-commit-5a71f3c |
|
| https://github.com/icecrasher321 |
|
| https://github.com/waleedlatif1 |
| fix(kb-tag-slots): finding next slot, create versus edit differentiat… | https://github.com/simstudioai/sim/commit/5a71f3cb6f1132dc7088bb8c0cb39563aeca83df |
| 5a71f3c | https://github.com/simstudioai/sim/commit/5a71f3cb6f1132dc7088bb8c0cb39563aeca83df |
| #882 | https://github.com/simstudioai/sim/pull/882 |
| arenadeveloper02 | https://github.com/arenadeveloper02 |
|
Sep 19, 2025
| https://github.com/simstudioai/sim/pull/882#ref-commit-3a4ae4d |
|
| https://github.com/icecrasher321 |
| fix(kb-tag-slots): finding next slot, create versus edit differentiat… | https://github.com/arena-position2/p2-sim/commit/3a4ae4df643dae8c9afef22cf130318b2ba0fc59 |
| 3a4ae4d | https://github.com/arena-position2/p2-sim/commit/3a4ae4df643dae8c9afef22cf130318b2ba0fc59 |
| simstudioai#882 | https://github.com/simstudioai/sim/pull/882 |
| Deployed | https://sim-qtprbt8pr-sim-studio.vercel.app |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://sim-qtprbt8pr-sim-studio.vercel.app |
| Deployed | https://docs-fak28nuar-sim-studio.vercel.app |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://docs-fak28nuar-sim-studio.vercel.app |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F882 |
|
| https://github.com/apps/greptile-apps |
|
greptile-apps[bot]
| https://github.com/apps/greptile-apps |
|
| https://github.com/simstudioai/sim/pull/882/files/36038aef822cce05958ecec1744bc47b6b4070b6 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
| Please reload this page | https://github.com/simstudioai/sim/pull/882 |
|
| https://github.com/icecrasher321 |
|
| 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 |