René's URL Explorer Experiment


Title: feat(sidebar): add Tables and Files flyouts to the collapsed rail by waleedlatif1 · Pull Request #6882 · simstudioai/sim · GitHub

Open Graph Title: feat(sidebar): add Tables and Files flyouts to the collapsed rail by waleedlatif1 · Pull Request #6882 · simstudioai/sim

X Title: feat(sidebar): add Tables and Files flyouts to the collapsed rail by waleedlatif1 · Pull Request #6882 · simstudioai/sim

Description: Summary Tables and Files now open a hover flyout on the collapsed rail, matching Chats and Workflows. Folders render as submenus, the open resource is marked, and the chip stays a real link so clicking still opens the list page and right-click still reaches the nav context menu. Rows are ordered by the shared sortResources, so pinned rows float and the flyout reads in the same order as the page it links into. Each flyout owns its queries and mounts only when the menu opens. A hook on the sidebar keeps its cache subscription on every workspace route even with enabled: false, so an unrelated writer (the table-import poller ticks every 2s) would re-render the whole sidebar for a flyout nobody opened. Fixes a menu height bug that is not sidebar-specific: every DropdownMenuContent was capped at a flat 240px. At 28px per row, 13px per separator and 12px padding, a 7-row action menu with 3 separators measures 247px and scrolled for 7px, while the 7-row menu beside it with 1 separator did not. The cap is now 420px, clamped with min() against the space Radix measures so a menu near a viewport edge stays on screen — which the flat value never did. Removes two dead components (CollapsedFileFolderItems, FileList) that were exported but never rendered, and extracts SidebarNavChip so the rail chip has one definition. Type of Change New feature Bug fix Testing 11 new tests covering the entry builder (ordering, pinned-first, orphan hoisting, cycle dropping) and the flyout trigger. Each verified to fail when the code it covers is reverted. bun run type-check clean across apps/sim and packages/emcn; bun run lint, bun run check:audits (30/30), and the block-registry audit all pass. 217 sidebar/folders tests and 75 emcn tests green. Not yet checked visually in a browser. Notes The menu height class is shared by every DropdownMenuContent and DropdownMenuSubContent, so menus that scrolled at 240px now grow to their content height up to 420px. Three call sites already override the class deliberately to be viewport-tall; those are unchanged. A deeper fix — invert the default to viewport-only and make the cap an opt-in maxHeight prop for the long data-driven lists — is worth doing separately, but it is a larger design-system change than this bug warrants. 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 Tables and Files now open a hover flyout on the collapsed rail, matching Chats and Workflows. Folders render as submenus, the open resource is marked, and the chip stays a real link so cli...

X Description: Summary Tables and Files now open a hover flyout on the collapsed rail, matching Chats and Workflows. Folders render as submenus, the open resource is marked, and the chip stays a real link so cli...

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

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:c008dc2f-bd74-a83c-49b2-61ee50e7f64e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB81A:3C556:1562548:1D35F72:6AFB7833
html-safe-noncea831c7ec073c85f2dfe7f465131c84b5633b22c4993507a1fc29370cbf284c5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODFBOjNDNTU2OjE1NjI1NDg6MUQzNUY3Mjo2QUZCNzgzMyIsInZpc2l0b3JfaWQiOiI4MTA4MjY1MDAyMzY5Nzc1NjY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4f111b775fba9559502084ee3dba2c74ede2c42bf2e9677ff402f2ee79ba499b
hovercard-subject-tagpull_request:4318897227
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/6882/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 Tables and Files now open a hover flyout on the collapsed rail, matching Chats and Workflows. Folders render as submenus, the open resource is marked, and the chip stays a real link so cli...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6882/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6882%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%2F6882%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/6882/files
Reloadhttps://github.com/simstudioai/sim/pull/6882/files
Reloadhttps://github.com/simstudioai/sim/pull/6882/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests201 (201)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
feat/sidebar-tables-fileshttps://github.com/simstudioai/sim/tree/feat/sidebar-tables-files
Conversation 13 https://github.com/simstudioai/sim/pull/6882
Commits 4 https://github.com/simstudioai/sim/pull/6882/commits
Checks 30 https://github.com/simstudioai/sim/pull/6882/checks
Files changed https://github.com/simstudioai/sim/pull/6882/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6882/files
feat(sidebar): add Tables and Files flyouts to the collapsed rail https://github.com/simstudioai/sim/pull/6882/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/6882/files
4b0a24b feat(sidebar): add Tables and Files flyouts to the collapsed rail waleedlatif1 Aug 20, 2026 https://github.com/simstudioai/sim/pull/6882/commits/4b0a24bafc16f1be1d68b8dad832c870ede4b113
49700d0 fix(emcn): stop ordinary menus scrolling at the shared height cap waleedlatif1 Aug 20, 2026 https://github.com/simstudioai/sim/pull/6882/commits/49700d078e95c71d847a7b1dbfee8ca340389b33
8f75a88 fix(sidebar): hold the rail flyout until its lists resolve for this w… waleedlatif1 Aug 20, 2026 https://github.com/simstudioai/sim/pull/6882/commits/8f75a88e62223a556a6074a9897c12155d241f0d
d1bb132 improvement(sidebar): mark pinned rows in the rail flyout waleedlatif1 Aug 20, 2026 https://github.com/simstudioai/sim/pull/6882/commits/d1bb1320a7e498c3b32507637b35a68304e4e0cc
Clear filters https://github.com/simstudioai/sim/pull/6882/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6882/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6882/files
flyout-entries.test.ts https://github.com/simstudioai/sim/pull/6882/files#diff-8fcc16d06959c3dfad66aa6a6fcaee290edc2959d135fe4b0f45b07c109c7667
flyout-entries.ts https://github.com/simstudioai/sim/pull/6882/files#diff-fcdfad977c85592cf0463b5281582cf6af0fe7c81945b38b2c25fa0d4211a728
foldered-resources.ts https://github.com/simstudioai/sim/pull/6882/files#diff-069e50a6409c03da75c9c2a27364b5c12320eca38f7e20c3fb8a43a65ff74afa
index.ts https://github.com/simstudioai/sim/pull/6882/files#diff-c4a245a2535d154a9859253f7aa12cd277a4df0a976d5a973d04cc308fbddb96
collapsed-sidebar-menu.test.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-7f371ff50be61d86f8f38ce5229fbf62ceb6e700d1b1ee5abb80efa44947be01
collapsed-sidebar-menu.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-c40f5d9681d9bb2d0a3fa7bb3b011e08062d06f291d731b5d64a0713d1f4f3e6
index.ts https://github.com/simstudioai/sim/pull/6882/files#diff-8eb4401b8f8ddb7b2d93e9aa72c77bb817bdbefe8cf95cb5943a9e4daa62d71a
file-list.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-36a115f4d9dff92b9cb3f1d669c1abc6e4a8aed0aea3093a48af8535927f2a97
index.ts https://github.com/simstudioai/sim/pull/6882/files#diff-895318b3d5abb3fc676ab95fbe72f2a7e04e6686e41f61bc28d430170d3ca634
index.ts https://github.com/simstudioai/sim/pull/6882/files#diff-4ba6b6e9bd1242643993c9ef5c62d389923ca4b16f2fe56ef6f08c4f665049a6
index.ts https://github.com/simstudioai/sim/pull/6882/files#diff-500a7a2daf107cdc03305bbdcea1ff2352684a639c3912f51ee8c40860631305
rail-resource-flyout.test.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-921fb4865f29c818d6f6f10bae01023218788f3af712dd3b7e73d0282848ff1e
rail-resource-flyout.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-18f2410de939aad7060d2af33c7accca0d38c7ccee7ec66bd145ec56d959c7d4
index.ts https://github.com/simstudioai/sim/pull/6882/files#diff-6ac92a6f51e090c3a1cff496927668cc0dc7caa7d761ef02f5992c4ba3dab0f8
sidebar-nav-chip.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-ec5781ed22fd4361b20788081ac0ff5651d00a5f5c1e1e97f7ab9361e8bcba29
sidebar.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-fe0f9ef26aae01478e9790a231ce91eaa9af5ccb0acd5656ead6f12ef7f332c3
dropdown-menu.tsx https://github.com/simstudioai/sim/pull/6882/files#diff-919060122ca6ed4ce8d5a5e5bfa1b3d01ceead438603631ca29b2083efe261a2
apps/sim/app/workspace/[workspaceId]/components/folders/flyout-entries.test.tshttps://github.com/simstudioai/sim/pull/6882/files#diff-8fcc16d06959c3dfad66aa6a6fcaee290edc2959d135fe4b0f45b07c109c7667
View file https://github.com/simstudioai/sim/blob/d1bb1320a7e498c3b32507637b35a68304e4e0cc/apps/sim/app/workspace/%5BworkspaceId%5D/components/folders/flyout-entries.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6882/{{ revealButtonHref }}
apps/sim/app/workspace/[workspaceId]/components/folders/flyout-entries.tshttps://github.com/simstudioai/sim/pull/6882/files#diff-fcdfad977c85592cf0463b5281582cf6af0fe7c81945b38b2c25fa0d4211a728
View file https://github.com/simstudioai/sim/blob/d1bb1320a7e498c3b32507637b35a68304e4e0cc/apps/sim/app/workspace/%5BworkspaceId%5D/components/folders/flyout-entries.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6882/{{ revealButtonHref }}
apps/sim/app/workspace/[workspaceId]/components/folders/foldered-resources.tshttps://github.com/simstudioai/sim/pull/6882/files#diff-069e50a6409c03da75c9c2a27364b5c12320eca38f7e20c3fb8a43a65ff74afa
View file https://github.com/simstudioai/sim/blob/d1bb1320a7e498c3b32507637b35a68304e4e0cc/apps/sim/app/workspace/%5BworkspaceId%5D/components/folders/foldered-resources.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6882/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6882/files#diff-069e50a6409c03da75c9c2a27364b5c12320eca38f7e20c3fb8a43a65ff74afa
https://github.com/simstudioai/sim/pull/6882/files#diff-069e50a6409c03da75c9c2a27364b5c12320eca38f7e20c3fb8a43a65ff74afa
apps/sim/app/workspace/[workspaceId]/components/folders/index.tshttps://github.com/simstudioai/sim/pull/6882/files#diff-c4a245a2535d154a9859253f7aa12cd277a4df0a976d5a973d04cc308fbddb96
View file https://github.com/simstudioai/sim/blob/d1bb1320a7e498c3b32507637b35a68304e4e0cc/apps/sim/app/workspace/%5BworkspaceId%5D/components/folders/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6882/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6882/files#diff-c4a245a2535d154a9859253f7aa12cd277a4df0a976d5a973d04cc308fbddb96
Please reload this pagehttps://github.com/simstudioai/sim/pull/6882/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6882/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.