René's URL Explorer Experiment


Title: fix(logs): close sidebar when selected log disappears from filtered list by waleedlatif1 · Pull Request #4186 · simstudioai/sim · GitHub

Open Graph Title: fix(logs): close sidebar when selected log disappears from filtered list by waleedlatif1 · Pull Request #4186 · simstudioai/sim

X Title: fix(logs): close sidebar when selected log disappears from filtered list by waleedlatif1 · Pull Request #4186 · simstudioai/sim

Description: Summary Bug fix: Sidebar now closes automatically when the selected log disappears from the filtered list (e.g., clearing an execution ID filter). Uses derived state (effectiveSidebarOpen) instead of a useEffect, avoiding extra render cycles and covering all filter-clearing paths. Cleanup: Removed 12 unnecessary useMemo and 6 useCallback calls from non-memo'd components in the logs module. Replaced a dashboard useEffect state reset with a render-time reset pattern. Fixed CSS variable token usage in the line chart. Added hierarchical statsAll key to the React Query key factory. Added partialize to the log details UI store to prevent persisting transient isResizing state. Test plan Open logs page, select a log to open the sidebar Apply an execution ID filter, then clear it — sidebar should close Apply status/workflow filters, select a log, clear filters — sidebar should close if log is no longer in list Verify sidebar resize still works and persists width across reloads Verify dashboard chart segment selection resets when filters change Verify notification workflow selector still works

Open Graph Description: Summary Bug fix: Sidebar now closes automatically when the selected log disappears from the filtered list (e.g., clearing an execution ID filter). Uses derived state (effectiveSidebarOpen) instead...

X Description: Summary Bug fix: Sidebar now closes automatically when the selected log disappears from the filtered list (e.g., clearing an execution ID filter). Uses derived state (effectiveSidebarOpen) instead...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5e2ec3b9-f289-f6f5-913a-b0beef558e63
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2D8:16F3DB:A3D150:E97F07:6A63806A
html-safe-nonce01c8b4994e91d7881c2f4d64679eba5dea6ac0aa6a235c6b58050688c0786c75
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkQ4OjE2RjNEQjpBM0QxNTA6RTk3RjA3OjZBNjM4MDZBIiwidmlzaXRvcl9pZCI6Ijc4MDE0OTAzMzE4MTM1MTEyNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf5f072e73bb9662f511dc12f6478cc74c66056b1ba0fe73ec7897c8f46ef5004
hovercard-subject-tagpull_request:3535911198
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/4186/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 Bug fix: Sidebar now closes automatically when the selected log disappears from the filtered list (e.g., clearing an execution ID filter). Uses derived state (effectiveSidebarOpen) instead...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f
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
releasee839936ba5faffb9c836dda1cf4729d50c88a32e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4186/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4186%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4186%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
Reloadhttps://github.com/simstudioai/sim/pull/4186/files
Reloadhttps://github.com/simstudioai/sim/pull/4186/files
Reloadhttps://github.com/simstudioai/sim/pull/4186/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4186/files
simstudioai https://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Notifications https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Fork 3.7k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Star 29.2k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Code https://github.com/simstudioai/sim
Issues 111 https://github.com/simstudioai/sim/issues
Pull requests 121 https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality 0 https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
Code https://github.com/simstudioai/sim
Issues https://github.com/simstudioai/sim/issues
Pull requests 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 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
waleedlatif1/fix-ui-bughttps://github.com/simstudioai/sim/tree/waleedlatif1/fix-ui-bug
Conversation 3 https://github.com/simstudioai/sim/pull/4186
Commits 1 https://github.com/simstudioai/sim/pull/4186/commits
Checks 13 https://github.com/simstudioai/sim/pull/4186/checks
Files changed https://github.com/simstudioai/sim/pull/4186/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4186/files
fix(logs): close sidebar when selected log disappears from filtered list https://github.com/simstudioai/sim/pull/4186/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/4186/files
f5d6b6f fix(logs): close sidebar when selected log disappears from filtered l… waleedlatif1 Apr 15, 2026 https://github.com/simstudioai/sim/pull/4186/commits/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3
Clear filters https://github.com/simstudioai/sim/pull/4186/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4186/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4186/files
line-chart.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-96c1dd6d93b026dfd39047f47ce8cb3310d485273de66bbe88f4545e465b589e
dashboard.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
log-details.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
logs-list.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-2201c690363d97e41b24d309c6788ca496aad47ccdad2ab82ba1264ee3b113b2
workflow-selector.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-2b690319f7418f249b35dafe22a9f66d695a8035d299e08008c119874843a431
notifications.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-5f897be190c954a369dc4515cbdb088ff489d101a84a9c89472a643ccdc74b9f
logs.tsx https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
logs.ts https://github.com/simstudioai/sim/pull/4186/files#diff-722505727ce697191ca949b9489f37fc62dc6e71c72fd368a4cb745ec045e3ca
store.ts https://github.com/simstudioai/sim/pull/4186/files#diff-88919fd4fc0f9c746fe2fbc9b40590d8689d36356afe3588c7987941049a5b69
...pp/workspace/[workspaceId]/logs/components/dashboard/components/line-chart/line-chart.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-96c1dd6d93b026dfd39047f47ce8cb3310d485273de66bbe88f4545e465b589e
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/components/line-chart/line-chart.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-96c1dd6d93b026dfd39047f47ce8cb3310d485273de66bbe88f4545e465b589e
https://github.com/simstudioai/sim/pull/4186/files#diff-96c1dd6d93b026dfd39047f47ce8cb3310d485273de66bbe88f4545e465b589e
https://github.com/simstudioai/sim/pull/4186/files#diff-96c1dd6d93b026dfd39047f47ce8cb3310d485273de66bbe88f4545e465b589e
apps/sim/app/workspace/[workspaceId]/logs/components/dashboard/dashboard.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/dashboard.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/4186/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/4186/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/log-details/log-details.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
https://github.com/simstudioai/sim/pull/4186/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
https://github.com/simstudioai/sim/pull/4186/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
https://github.com/simstudioai/sim/pull/4186/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
apps/sim/app/workspace/[workspaceId]/logs/components/logs-list/logs-list.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-2201c690363d97e41b24d309c6788ca496aad47ccdad2ab82ba1264ee3b113b2
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/logs-list/logs-list.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-2201c690363d97e41b24d309c6788ca496aad47ccdad2ab82ba1264ee3b113b2
https://github.com/simstudioai/sim/pull/4186/files#diff-2201c690363d97e41b24d309c6788ca496aad47ccdad2ab82ba1264ee3b113b2
.../logs-toolbar/components/notifications/components/workflow-selector/workflow-selector.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-2b690319f7418f249b35dafe22a9f66d695a8035d299e08008c119874843a431
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/logs-toolbar/components/notifications/components/workflow-selector/workflow-selector.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-2b690319f7418f249b35dafe22a9f66d695a8035d299e08008c119874843a431
https://github.com/simstudioai/sim/pull/4186/files#diff-2b690319f7418f249b35dafe22a9f66d695a8035d299e08008c119874843a431
...ace/[workspaceId]/logs/components/logs-toolbar/components/notifications/notifications.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-5f897be190c954a369dc4515cbdb088ff489d101a84a9c89472a643ccdc74b9f
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/logs-toolbar/components/notifications/notifications.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-5f897be190c954a369dc4515cbdb088ff489d101a84a9c89472a643ccdc74b9f
https://github.com/simstudioai/sim/pull/4186/files#diff-5f897be190c954a369dc4515cbdb088ff489d101a84a9c89472a643ccdc74b9f
apps/sim/app/workspace/[workspaceId]/logs/logs.tsxhttps://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
View file https://github.com/simstudioai/sim/blob/f5d6b6fec5bf8c7ac69389c13eb0d0c07b5996b3/apps/sim/app/workspace/%5BworkspaceId%5D/logs/logs.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4186/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
https://github.com/simstudioai/sim/pull/4186/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
Please reload this pagehttps://github.com/simstudioai/sim/pull/4186/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4186/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.