René's URL Explorer Experiment


Title: improvement(url-state): migrate list search/sort/filter view-state to nuqs by waleedlatif1 · Pull Request #5648 · simstudioai/sim · GitHub

Open Graph Title: improvement(url-state): migrate list search/sort/filter view-state to nuqs by waleedlatif1 · Pull Request #5648 · simstudioai/sim

X Title: improvement(url-state): migrate list search/sort/filter view-state to nuqs by waleedlatif1 · Pull Request #5648 · simstudioai/sim

Description: Summary Migrate shareable list view-state (search, sort, filters, selected-entity id) from useState to nuqs URL params across knowledge, files, logs, skills, and settings Knowledge list: new search-params.ts — search, connector/content/owner filters, sort+dir; add the required Suspense boundary on the page entry Files list: add search, nullable sort+dir, and type/size/uploaded-by filter params in a separate history: 'replace' group so filter writes never pollute the back stack (folder navigation keeps push) Logs: add sort+dir params so sorted views deep-link and fetch correctly on load Skills: add search param alongside the existing skillId Settings: fix workflow-mcp-servers reading mcpServerId via useSearchParams into useState (selection now writes the URL, back closes the detail view); migrate six settings search boxes to nuqs with debounced URL writes Consolidate the per-component settings search-param definitions (incl. teammates) into one shared settings/components/search-params.ts Type of Change Improvement Testing Typecheck + biome clean; behavior semantics (debounce timing, default sort orderings, folder name/asc fallback in files) preserved exactly Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Migrate shareable list view-state (search, sort, filters, selected-entity id) from useState to nuqs URL params across knowledge, files, logs, skills, and settings Knowledge list: new searc...

X Description: Summary Migrate shareable list view-state (search, sort, filters, selected-entity id) from useState to nuqs URL params across knowledge, files, logs, skills, and settings Knowledge list: new searc...

Opengraph URL: https://github.com/simstudioai/sim/pull/5648

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:f5b15bec-45a8-e1c7-b090-eeb01b9e2059
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id84B8:8CC91:2C3BBC:3C79AA:6AFB526B
html-safe-nonce63eae276715e7ece18c593d4a0fb5329cabd76f85c8e7e36d077c21e3f191b63
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEI4OjhDQzkxOjJDM0JCQzozQzc5QUE6NkFGQjUyNkIiLCJ2aXNpdG9yX2lkIjoiNTA5OTc2NTM3MjU2OTA3MzcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf5c1b38867fac8446b328530a7baff055d1712feda1c323ccd2c37667b5d7dd0
hovercard-subject-tagpull_request:4048436558
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5648/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Migrate shareable list view-state (search, sort, filters, selected-entity id) from useState to nuqs URL params across knowledge, files, logs, skills, and settings Knowledge list: new searc...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5648/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5648%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5648%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/simstudioai/sim/pull/5648/files
Reloadhttps://github.com/simstudioai/sim/pull/5648/files
Reloadhttps://github.com/simstudioai/sim/pull/5648/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
nuqs-url-state-fixeshttps://github.com/simstudioai/sim/tree/nuqs-url-state-fixes
Conversation 18 https://github.com/simstudioai/sim/pull/5648
Commits 4 https://github.com/simstudioai/sim/pull/5648/commits
Checks 17 https://github.com/simstudioai/sim/pull/5648/checks
Files changed https://github.com/simstudioai/sim/pull/5648/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5648/files
improvement(url-state): migrate list search/sort/filter view-state to nuqs https://github.com/simstudioai/sim/pull/5648/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/5648/files
30f826f improvement(url-state): migrate list search/sort/filter view-state to… waleedlatif1 Jul 13, 2026 https://github.com/simstudioai/sim/pull/5648/commits/30f826f0468295a604bf102346b1c5510c46399e
492e0bd fix(url-state): clear mcpServerId selection when the selected workflo… waleedlatif1 Jul 13, 2026 https://github.com/simstudioai/sim/pull/5648/commits/492e0bde4db952f9aaec19dda746893ed9e4fe21
48df8f6 fix(url-state): resolve-gated MCP server detail view + replace-on-clo… waleedlatif1 Jul 14, 2026 https://github.com/simstudioai/sim/pull/5648/commits/48df8f60f2976e660f0c09e37014e046b7351faa
422cfd4 fix(url-state): explicit Suspense boundary for account settings sections waleedlatif1 Jul 14, 2026 https://github.com/simstudioai/sim/pull/5648/commits/422cfd4e86b4b1d0a9b4a2a1c4b8c9e51323a7f2
Clear filters https://github.com/simstudioai/sim/pull/5648/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5648/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5648/files
page.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-0041f3cdc282d5aa4e6cd06d5228995665fa8776feff5825c288aff5a18c0cb8
files.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
search-params.ts https://github.com/simstudioai/sim/pull/5648/files#diff-5772dc589ce3b200ce2c9a8a45374200a12637d24e85c74d03d7784624fd9d06
knowledge.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
page.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-eb72a2496ddfcede69d918d0262dfc93e9c59189d6f3d78e308a155a6ad0d485
search-params.ts https://github.com/simstudioai/sim/pull/5648/files#diff-780845891f67888adefbd13bb9a3261de871a44ead76eb73290087db8e19e8f1
logs.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
search-params.ts https://github.com/simstudioai/sim/pull/5648/files#diff-cddbedf4c5b90240861dcfd1882f7273d462992d5bb1176ca3eb4453da6212b0
api-keys.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-ec7967ebcdce63118eeb33a59a35a2767b0fe41f36fa197553758ade73e761b3
copilot.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-5e72035508aba47f403d7cf23de5300b4a22adbc0978deccd2018c720f6b67c2
custom-tools.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-3716dbdb44daa653e829caa644c29b1dc2ad568f2505c2298a73a730d9d7cb02
mcp.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-a4da5c277b6d754bb18bdf732cde648008b9624c1d73729926799e4a5c6a8fbc
search-params.ts https://github.com/simstudioai/sim/pull/5648/files#diff-e0cbacb0230f0a9a94289cf1b88b372308dadd14ace8791b5e4559e6b3c32af3
secrets-manager.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-2b2005db8b8d047cb3aba7c97de2978fe046a48ced2e80dd066bd341bc0d4c04
search-params.ts https://github.com/simstudioai/sim/pull/5648/files#diff-2fc6c6d0bd5b412df60f659727fe12af4799fe12650c1199616882356fef009e
teammates.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-6552de4cf6d80acc6c8dcc22e8fcfeb9c1c503a332b25cc33f6310c8aaced1b5
workflow-mcp-servers.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-837f49406d0f223c875fd1223cf42f35ad614c98e32feae2b37fc87192767919
search-params.ts https://github.com/simstudioai/sim/pull/5648/files#diff-740226b342e1f7d41959678e656c7e39b466b42c1acb1683ec48d43d797a658f
skills.tsx https://github.com/simstudioai/sim/pull/5648/files#diff-c49910d737c278148382d79c7a0a76e6cddc842b14ba46063c40d4d6baea470f
apps/sim/app/account/settings/[section]/page.tsxhttps://github.com/simstudioai/sim/pull/5648/files#diff-0041f3cdc282d5aa4e6cd06d5228995665fa8776feff5825c288aff5a18c0cb8
View file https://github.com/simstudioai/sim/blob/422cfd4e86b4b1d0a9b4a2a1c4b8c9e51323a7f2/apps/sim/app/account/settings/%5Bsection%5D/page.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5648/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5648/files#diff-0041f3cdc282d5aa4e6cd06d5228995665fa8776feff5825c288aff5a18c0cb8
https://github.com/simstudioai/sim/pull/5648/files#diff-0041f3cdc282d5aa4e6cd06d5228995665fa8776feff5825c288aff5a18c0cb8
apps/sim/app/workspace/[workspaceId]/files/files.tsxhttps://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
View file https://github.com/simstudioai/sim/blob/422cfd4e86b4b1d0a9b4a2a1c4b8c9e51323a7f2/apps/sim/app/workspace/%5BworkspaceId%5D/files/files.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5648/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
https://github.com/simstudioai/sim/pull/5648/files#diff-0284e2e46ba0636bd37fb01a0bee2a53844af9bbaf0a5879e3b182c0f34e67a9
apps/sim/app/workspace/[workspaceId]/files/search-params.tshttps://github.com/simstudioai/sim/pull/5648/files#diff-5772dc589ce3b200ce2c9a8a45374200a12637d24e85c74d03d7784624fd9d06
View file https://github.com/simstudioai/sim/blob/422cfd4e86b4b1d0a9b4a2a1c4b8c9e51323a7f2/apps/sim/app/workspace/%5BworkspaceId%5D/files/search-params.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5648/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5648/files#diff-5772dc589ce3b200ce2c9a8a45374200a12637d24e85c74d03d7784624fd9d06
https://github.com/simstudioai/sim/pull/5648/files#diff-5772dc589ce3b200ce2c9a8a45374200a12637d24e85c74d03d7784624fd9d06
apps/sim/app/workspace/[workspaceId]/knowledge/knowledge.tsxhttps://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
View file https://github.com/simstudioai/sim/blob/422cfd4e86b4b1d0a9b4a2a1c4b8c9e51323a7f2/apps/sim/app/workspace/%5BworkspaceId%5D/knowledge/knowledge.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5648/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
https://github.com/simstudioai/sim/pull/5648/files#diff-c94a1040beada0cc0b8033410cc00f26610a4d0a25eeb6123bbf3a2206021142
apps/sim/app/workspace/[workspaceId]/knowledge/page.tsxhttps://github.com/simstudioai/sim/pull/5648/files#diff-eb72a2496ddfcede69d918d0262dfc93e9c59189d6f3d78e308a155a6ad0d485
View file https://github.com/simstudioai/sim/blob/422cfd4e86b4b1d0a9b4a2a1c4b8c9e51323a7f2/apps/sim/app/workspace/%5BworkspaceId%5D/knowledge/page.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5648/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5648/files#diff-eb72a2496ddfcede69d918d0262dfc93e9c59189d6f3d78e308a155a6ad0d485
Please reload this pagehttps://github.com/simstudioai/sim/pull/5648/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5648/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.