René's URL Explorer Experiment


Title: feat(tables): improve view and filter controls by j15z · Pull Request #6725 · simstudioai/sim · GitHub

Open Graph Title: feat(tables): improve view and filter controls by j15z · Pull Request #6725 · simstudioai/sim

X Title: feat(tables): improve view and filter controls by j15z · Pull Request #6725 · simstudioai/sim

Description: Summary This second PR builds on #6724 and completes the table-view control changes. With table-views enabled, users can choose which saved view is a table's default via a pin in the Views menu. The Columns and Sort menus stay open across view-editing gestures. The filter builder applies dropdown and row gestures immediately, while typed text commits on Enter or blur. With table-views disabled, none of those interaction changes leak into the existing experience: the filter builder keeps its legacy Apply/Clear flow and Sort closes after a selection. The flag is resolved server-side for both table-detail and embedded surfaces and passed into these interactions explicitly. Filter commits now happen directly in completed user-event handlers, not in an after-render effect. Opening the panel, rerendering it, or refreshing column data does not write anything by itself. The save baseline still seeds from the builder's own reading of the stored filter, so a stored tree the flat builder renders differently is only normalized after the user actually edits a rule. Autosave hardening: An autosave response settling no longer remounts an open filter panel and wipes in-progress text or focus; reapplying an identical view configuration is skipped. "Filter by cell value" saves the narrowed filter to the active view. A stale update-view response can no longer demote the current default in the cache; a promotion must be fresh versus both its own cached row and the currently pinned row. isNull and isNotNull conditions and mixed AND/OR filters round-trip through the builder without being silently dropped or flattened until the user changes them. Switching a complete valueless filter to an operator or column that needs a value keeps the saved condition active until the replacement value is committed, even when another rule is edited or removed in the meantime. Invisible rename/delete action slots pass clicks through to their view row; the controls become interactive only when shown. Type of Change Bug fix New feature Breaking change Documentation Other: ___________ Testing Five focused suites for the changed surfaces: 51 tests across resource options, the filter panel, views menu, columns menu, and view-mutation hooks. Coverage includes commit-on-Enter/blur, incomplete operator transitions preserving the saved filter across other rule changes, passive panel/column refreshes writing nothing, OR boundaries surviving cleared or removed group-leading rules, isNull shapes, stale promotion responses leaving the default untouched, the disabled default pin staying inert, and flag-off legacy filter/sort behavior. bun run lint and bun run lint:check bun run check:audits (30 repository policy audits) bun run type-check (26 package tasks) bun run apps/sim/scripts/check-block-registry.ts feat/better-table-views-ux Review focus: field-commit semantics, autosave reapply behavior while the panel is open, single-default cache state, and menu selection without closing the menus. 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) Screenshots/Videos Not included. DOM interaction tests cover the changed menus and filter-commit behavior. Post-Deploy Monitoring & Validation For 24 hours, monitor table-view update errors and save-error toasts after filter, column, and default-view interactions. Validate that selecting "Set as default" leaves exactly one default view and that the chosen view opens after returning to the table. Validate that typed filters apply on Enter or blur, persist after leaving the panel, and that opening or passively rerendering a saved view's filter panel writes nothing. Treat increased table-view update failures, duplicate defaults, or lost filter state as rollback triggers. Owner: Tables feature maintainers. This child PR can be rolled back independently if the new controls regress while the autosave foundation remains healthy.

Open Graph Description: Summary This second PR builds on #6724 and completes the table-view control changes. With table-views enabled, users can choose which saved view is a table's default via a pin in the Views menu...

X Description: Summary This second PR builds on #6724 and completes the table-view control changes. With table-views enabled, users can choose which saved view is a table's default via a pin in the Views ...

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

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:1fd6e563-50ad-d684-1f9d-231e740bf2b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC16:D16D6:FAEFC2:159402E:6AFB67C5
html-safe-noncec5748126bd8a9dffedf55f002461c3aba826aea6b502c908ec0c25e3efe5f799
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzE2OkQxNkQ2OkZBRUZDMjoxNTk0MDJFOjZBRkI2N0M1IiwidmlzaXRvcl9pZCI6IjYwNDgyNDk0MzI3OTk2NjgxNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac44de72d9add3a3fc5c5ce4f89a53e418a872df4479cb865c94552891aed7b3b2
hovercard-subject-tagpull_request:4284471480
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/6725/files
twitter:imagehttps://avatars.githubusercontent.com/u/96924014?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/96924014?s=400&v=4
og:image:altSummary This second PR builds on #6724 and completes the table-view control changes. With table-views enabled, users can choose which saved view is a table's default via a pin in the Views menu...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6725/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6725%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%2F6725%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/6725/files
Reloadhttps://github.com/simstudioai/sim/pull/6725/files
Reloadhttps://github.com/simstudioai/sim/pull/6725/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
j15zhttps://github.com/j15z
staginghttps://github.com/simstudioai/sim/tree/staging
feat/table-view-controlshttps://github.com/simstudioai/sim/tree/feat/table-view-controls
Conversation 43 https://github.com/simstudioai/sim/pull/6725
Commits 14 https://github.com/simstudioai/sim/pull/6725/commits
Checks 29 https://github.com/simstudioai/sim/pull/6725/checks
Files changed https://github.com/simstudioai/sim/pull/6725/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6725/files
feat(tables): improve view and filter controls https://github.com/simstudioai/sim/pull/6725/files#top
Show all changes 14 commits https://github.com/simstudioai/sim/pull/6725/files
916c4a5 feat(tables): improve view and filter controls j15z Aug 15, 2026 https://github.com/simstudioai/sim/pull/6725/commits/916c4a5ac7da58caebf37d26e0b162616da9a54a
691bf17 fix(tables): keep menu actions open j15z Aug 15, 2026 https://github.com/simstudioai/sim/pull/6725/commits/691bf17db0ed633ad14629e769d3d7e555c0921d
11f677c fix(tables): guard view autosave against echo remounts and stale resp… j15z Aug 16, 2026 https://github.com/simstudioai/sim/pull/6725/commits/11f677ccb1bb7b8d8aae5f4c94ff63b000ce19c1
d680d2d fix(tables): keep and/or filter toggles, autosave only real edits j15z Aug 16, 2026 https://github.com/simstudioai/sim/pull/6725/commits/d680d2d8b4b0ae4a629fc30ac3c00f3e4722f27d
7f9d53d fix(tables): compute view-row action spacer and cover the default pin j15z Aug 16, 2026 https://github.com/simstudioai/sim/pull/6725/commits/7f9d53d6549339349085d6f95c089a5a0e821728
c30c9a9 feat(tables): apply filter text on enter or blur instead of a debounce j15z Aug 17, 2026 https://github.com/simstudioai/sim/pull/6725/commits/c30c9a91b6796579c1d307ed79700a0501af3cb4
848da15 fix(tables): apply filter edits from user events j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6725/commits/848da15a0a4e89a34d1a3d7bfa0a82b251375eb4
5e7187e fix(tables): reject stale default promotions j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6725/commits/5e7187ef44dbeeaf6066943e02d670b9ca42a10d
8162bb3 fix(tables): preserve filters during rule transitions j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6725/commits/8162bb3e181e1b30d5849db501672df8df4a7993
ab9fe8b fix(tables): isolate flagged view interactions j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6725/commits/ab9fe8b2f737de32b31eefe1fcebcd54451e5382
1b280a1 fix(tables): preserve OR boundaries when rules drop j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6725/commits/1b280a1c45268d3cbb723065bf6025af6c0bc356
711a917 fix(tables): retain deferred filter conditions j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6725/commits/711a9175ce9ce4a3a102309672328b5175529aa2
a48e3fd fix(tables): keep hidden view actions click-through j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6725/commits/a48e3fdc9899a6a0627a7b0ccc4a41564f1062db
01df823 fix(tables): keep disabled view pins from selecting the row j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6725/commits/01df8236a105ae8eeadb36454ef35c68c6d6fa16
Clear filters https://github.com/simstudioai/sim/pull/6725/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6725/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6725/files
resource-options.test.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-5375e41abc91a9ed19803cecc532d84362476646a9bf2b5b05d9b2227b24a15f
resource-options.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
columns-menu.test.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-7916d4a451a7ab82252db8e15f241ea83699dc3e415d411e35adfd794045d74a
columns-menu.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
table-filter.test.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-c558aa2fefdc78f8ce8781a018a8fbf66be78ee0ba38ec86e66c1db5e58ed7ed
table-filter.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-52988f8348974c205648c53ff177154f83f46180bd69cd1092197a222aa94bb8
views-menu.test.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-5a33ef7a9970993a8b81720c22105296080a38f01399e07225deaf4d363b5a13
views-menu.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-a15e422746a146cf8c23adeb9435aa1af4849ae0b55d00d6d17a05481fea098e
table.tsx https://github.com/simstudioai/sim/pull/6725/files#diff-5a65d49f1fb75a42db9178db41caa5cb9bf776a547ab82822e99a13bd51a1669
tables.test.ts https://github.com/simstudioai/sim/pull/6725/files#diff-e8f0c479945a05fcd2f89070b6e2fca86b6227403b80903c5e4f8e9b5bafe28d
tables.ts https://github.com/simstudioai/sim/pull/6725/files#diff-1d761ed5a7a2ed9ba4435d0f39c5f1f7ac13c177b301c401b38f5a6d731ac8cb
feature-flags.ts https://github.com/simstudioai/sim/pull/6725/files#diff-3e4749df9f5e590f0e3d17cc4e1fed55b8788c93f823e02fba3409ba2ca708c2
converters.ts https://github.com/simstudioai/sim/pull/6725/files#diff-e94d1f939543a1e05a3d5716c8ae9d055aa1acd68d971b6cecdc2501a52d0919
...e/[workspaceId]/components/resource/components/resource-options/resource-options.test.tsxhttps://github.com/simstudioai/sim/pull/6725/files#diff-5375e41abc91a9ed19803cecc532d84362476646a9bf2b5b05d9b2227b24a15f
View file https://github.com/simstudioai/sim/blob/01df8236a105ae8eeadb36454ef35c68c6d6fa16/apps/sim/app/workspace/%5BworkspaceId%5D/components/resource/components/resource-options/resource-options.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6725/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6725/files#diff-5375e41abc91a9ed19803cecc532d84362476646a9bf2b5b05d9b2227b24a15f
...kspace/[workspaceId]/components/resource/components/resource-options/resource-options.tsxhttps://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
View file https://github.com/simstudioai/sim/blob/01df8236a105ae8eeadb36454ef35c68c6d6fa16/apps/sim/app/workspace/%5BworkspaceId%5D/components/resource/components/resource-options/resource-options.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6725/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
https://github.com/simstudioai/sim/pull/6725/files#diff-ab23991bc5c7e0bcc568ec7f411ce53f319346f3d6f1d9faf82a6d722b10bb35
...pp/workspace/[workspaceId]/tables/[tableId]/components/columns-menu/columns-menu.test.tsxhttps://github.com/simstudioai/sim/pull/6725/files#diff-7916d4a451a7ab82252db8e15f241ea83699dc3e415d411e35adfd794045d74a
View file https://github.com/simstudioai/sim/blob/01df8236a105ae8eeadb36454ef35c68c6d6fa16/apps/sim/app/workspace/%5BworkspaceId%5D/tables/%5BtableId%5D/components/columns-menu/columns-menu.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6725/{{ revealButtonHref }}
...sim/app/workspace/[workspaceId]/tables/[tableId]/components/columns-menu/columns-menu.tsxhttps://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
View file https://github.com/simstudioai/sim/blob/01df8236a105ae8eeadb36454ef35c68c6d6fa16/apps/sim/app/workspace/%5BworkspaceId%5D/tables/%5BtableId%5D/components/columns-menu/columns-menu.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6725/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
https://github.com/simstudioai/sim/pull/6725/files#diff-0c28e51775c49c4a3f7b72d7854f22350c16a7da52f1d3906a5ecdee7280611f
Please reload this pagehttps://github.com/simstudioai/sim/pull/6725/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6725/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.