René's URL Explorer Experiment


Title: fix: remember last active sidebar tab per agent session by jaaydenh · Pull Request #24631 · coder/coder · GitHub

Open Graph Title: fix: remember last active sidebar tab per agent session by jaaydenh · Pull Request #24631 · coder/coder

X Title: fix: remember last active sidebar tab per agent session by jaaydenh · Pull Request #24631 · coder/coder

Description: Secure environments for developers and their agents - fix: remember last active sidebar tab per agent session by jaaydenh · Pull Request #24631 · coder/coder

Open Graph Description: closes CODAGT-142 The Agents right-panel tabs (Git, Terminal, Desktop) reset to the default tab (Git) every time the user switches between agent sessions. This happens because KeyedAgentChatPage fo...

X Description: closes CODAGT-142 The Agents right-panel tabs (Git, Terminal, Desktop) reset to the default tab (Git) every time the user switches between agent sessions. This happens because KeyedAgentChatPage fo...

Opengraph URL: https://github.com/coder/coder/pull/24631

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5deea96f-3144-c85f-e6a6-29699b963da7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5BE:33444D:147FF10:1B4741D:6B012F68
html-safe-nonce3d0e95e3568060afea0cc35afb6861ef89f36398091f860503a49e2d91379a6f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUJFOjMzNDQ0RDoxNDdGRjEwOjFCNDc0MUQ6NkIwMTJGNjgiLCJ2aXNpdG9yX2lkIjoiMTkwODExMzA3NTAwNTg5NDUwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac12d0548bc4ed956c5367ec593eecd7a660573a741df40491935949bdfe31b473
hovercard-subject-tagpull_request:3568150385
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/24631/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1147f8cfdee16ca334567c7a577624015d5c04c1023f8cfef864a6f77c3deabe/coder/coder/pull/24631
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1147f8cfdee16ca334567c7a577624015d5c04c1023f8cfef864a6f77c3deabe/coder/coder/pull/24631
og:image:altcloses CODAGT-142 The Agents right-panel tabs (Git, Terminal, Desktop) reset to the default tab (Git) every time the user switches between agent sessions. This happens because KeyedAgentChatPage fo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejaaydenh
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/24631#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F24631
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%2Fcoder%2Fcoder%2Fpull%2F24631
Sign uphttps://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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/24631
Reloadhttps://github.com/coder/coder/pull/24631
Reloadhttps://github.com/coder/coder/pull/24631
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
jaaydenhhttps://github.com/jaaydenh
mainhttps://github.com/coder/coder/tree/main
tab-state-g9dchttps://github.com/coder/coder/tree/tab-state-g9dc
Conversationhttps://github.com/coder/coder/pull/24631
Commits9 (9)https://github.com/coder/coder/pull/24631/commits
Checkshttps://github.com/coder/coder/pull/24631/checks
Files changedhttps://github.com/coder/coder/pull/24631/files
fix: remember last active sidebar tab per agent sessionhttps://github.com/coder/coder/pull/24631#top
jaaydenhhttps://github.com/jaaydenh
mainhttps://github.com/coder/coder/tree/main
tab-state-g9dchttps://github.com/coder/coder/tree/tab-state-g9dc
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
Apr 22, 2026https://github.com/coder/coder/pull/24631#issue-4310119296
Please reload this pagehttps://github.com/coder/coder/pull/24631
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
jaaydenhhttps://github.com/jaaydenh
Apr 22, 2026https://github.com/coder/coder/pull/24631#event-24762014420
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
Apr 22, 2026https://github.com/coder/coder/pull/24631#event-24762028108
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
Apr 22, 2026https://github.com/coder/coder/pull/24631#issuecomment-4297771827
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Apr 22, 2026 https://github.com/coder/coder/pull/24631#pullrequestreview-4156349810
View reviewed changes https://github.com/coder/coder/pull/24631/files
coder-agents-reviewhttps://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/24631#pullrequestreview-4156349810
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPageView.stories.tsxhttps://github.com/coder/coder/pull/24631/files#diff-82356adaa081d39de9ed7dcfca021ef62c2b699a5bd2042f0e1af31ce076a830
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPageView.tsxhttps://github.com/coder/coder/pull/24631/files#diff-cf340be7810cbc1378cfc991c1cbf7b5df4a0eefe28d4596d9bc06fd18669b7e
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.test.tshttps://github.com/coder/coder/pull/24631/files#diff-9956fda12fda29ab85930d7f5009265038d2865847cf18d86753d8e13b456893
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
force-pushedhttps://github.com/coder/coder/compare/2ef3f535292dd42bf21c7723e6d72298edd52ebe..f23f22b840ad8609fa3471def4a7d784977c2a06
2ef3f53https://github.com/coder/coder/commit/2ef3f535292dd42bf21c7723e6d72298edd52ebe
f23f22bhttps://github.com/coder/coder/commit/f23f22b840ad8609fa3471def4a7d784977c2a06
Compare https://github.com/coder/coder/compare/2ef3f535292dd42bf21c7723e6d72298edd52ebe..f23f22b840ad8609fa3471def4a7d784977c2a06
April 22, 2026 16:57https://github.com/coder/coder/pull/24631#event-24764668526
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
Apr 23, 2026https://github.com/coder/coder/pull/24631#event-24798004717
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
force-pushedhttps://github.com/coder/coder/compare/f23f22b840ad8609fa3471def4a7d784977c2a06..7550b73bf6eb93fdbddd443f1a8d0c288b96ed05
f23f22bhttps://github.com/coder/coder/commit/f23f22b840ad8609fa3471def4a7d784977c2a06
7550b73https://github.com/coder/coder/commit/7550b73bf6eb93fdbddd443f1a8d0c288b96ed05
Compare https://github.com/coder/coder/compare/f23f22b840ad8609fa3471def4a7d784977c2a06..7550b73bf6eb93fdbddd443f1a8d0c288b96ed05
April 23, 2026 13:36https://github.com/coder/coder/pull/24631#event-24798185229
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
Apr 23, 2026https://github.com/coder/coder/pull/24631#issuecomment-4305646772
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Apr 23, 2026 https://github.com/coder/coder/pull/24631#pullrequestreview-4163756594
View reviewed changes https://github.com/coder/coder/pull/24631/files
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/24631#pullrequestreview-4163756594
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPageView.tsxhttps://github.com/coder/coder/pull/24631/files#diff-cf340be7810cbc1378cfc991c1cbf7b5df4a0eefe28d4596d9bc06fd18669b7e
Please reload this pagehttps://github.com/coder/coder/pull/24631
jaaydenhhttps://github.com/jaaydenh
April 24, 2026 05:40https://github.com/coder/coder/pull/24631#commits-pushed-5449e6c
https://github.com/jaaydenh
feat(site/src/pages/AgentsPage): persist sidebar tab per agent sessionhttps://github.com/coder/coder/pull/24631/commits/5449e6c68028525e8dcda42ed88ca2bd6e7352fd
5449e6chttps://github.com/coder/coder/pull/24631/commits/5449e6c68028525e8dcda42ed88ca2bd6e7352fd
https://github.com/jaaydenh
test(site/pages/AgentsPage): add storybook play tests for sidebar tab…https://github.com/coder/coder/pull/24631/commits/7b56c27a71ace0a94eb8dc28aecbd7453c6a5d18
7b56c27https://github.com/coder/coder/pull/24631/commits/7b56c27a71ace0a94eb8dc28aecbd7453c6a5d18
https://github.com/jaaydenh
style(site/src/pages/AgentsPage): fix biome formattinghttps://github.com/coder/coder/pull/24631/commits/ca42e09b416dd22c2e5787467bcd2c99275b29f2
ca42e09https://github.com/coder/coder/pull/24631/commits/ca42e09b416dd22c2e5787467bcd2c99275b29f2
https://github.com/jaaydenh
refactor(site/src/pages/AgentsPage): address PR review commentshttps://github.com/coder/coder/pull/24631/commits/7825775cc1213e1f9f08d1b06509324df4475b38
7825775https://github.com/coder/coder/pull/24631/commits/7825775cc1213e1f9f08d1b06509324df4475b38
@internalhttps://github.com/internal
https://github.com/jaaydenh
fix(site/src/pages/AgentsPage): skip tab persist for archived chatshttps://github.com/coder/coder/pull/24631/commits/5e7363e09245858d318e731cb3202db2e0b43bdd
5e7363ehttps://github.com/coder/coder/pull/24631/commits/5e7363e09245858d318e731cb3202db2e0b43bdd
#24631https://github.com/coder/coder/pull/24631
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
force-pushedhttps://github.com/coder/coder/compare/7550b73bf6eb93fdbddd443f1a8d0c288b96ed05..5e7363e09245858d318e731cb3202db2e0b43bdd
7550b73https://github.com/coder/coder/commit/7550b73bf6eb93fdbddd443f1a8d0c288b96ed05
5e7363ehttps://github.com/coder/coder/commit/5e7363e09245858d318e731cb3202db2e0b43bdd
Compare https://github.com/coder/coder/compare/7550b73bf6eb93fdbddd443f1a8d0c288b96ed05..5e7363e09245858d318e731cb3202db2e0b43bdd
April 24, 2026 05:48https://github.com/coder/coder/pull/24631#event-24824747157
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
April 24, 2026 10:22https://github.com/coder/coder/pull/24631#event-24833162357
https://github.com/jaaydenh
refactor(site/src/pages/AgentsPage): remove inline step commentshttps://github.com/coder/coder/pull/24631/commits/2e16b3cace01a5217aac49fea5d2016d7b52eba1
2e16b3chttps://github.com/coder/coder/pull/24631/commits/2e16b3cace01a5217aac49fea5d2016d7b52eba1
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
DanielleMaywoodhttps://github.com/DanielleMaywood
April 24, 2026 11:44https://github.com/coder/coder/pull/24631#event-24835397737
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
Apr 24, 2026 https://github.com/coder/coder/pull/24631#pullrequestreview-4170161850
View reviewed changes https://github.com/coder/coder/pull/24631/files/2e16b3cace01a5217aac49fea5d2016d7b52eba1
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files/2e16b3cace01a5217aac49fea5d2016d7b52eba1#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files/2e16b3cace01a5217aac49fea5d2016d7b52eba1#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
site/src/pages/AgentsPage/AgentChatPage.tsxhttps://github.com/coder/coder/pull/24631/files/2e16b3cace01a5217aac49fea5d2016d7b52eba1#diff-9461d3b1961fc36bb8c68ce9622665d143b56b420c4b380fcee3a2cd997d33c9
Please reload this pagehttps://github.com/coder/coder/pull/24631
jaaydenhhttps://github.com/jaaydenh
April 24, 2026 13:38https://github.com/coder/coder/pull/24631#commits-pushed-9c9d79d
https://github.com/jaaydenh
fix: remove unnecessary checkshttps://github.com/coder/coder/pull/24631/commits/9c9d79d52b4a5991aaba869b357652db9f1c7c17
9c9d79dhttps://github.com/coder/coder/pull/24631/commits/9c9d79d52b4a5991aaba869b357652db9f1c7c17
https://github.com/jaaydenh
Merge branch 'main' into tab-state-g9dchttps://github.com/coder/coder/pull/24631/commits/e9f1cacdaec378882bb0fe3863638484022724f8
e9f1cachttps://github.com/coder/coder/pull/24631/commits/e9f1cacdaec378882bb0fe3863638484022724f8
https://github.com/jaaydenh
Merge branch 'main' into tab-state-g9dchttps://github.com/coder/coder/pull/24631/commits/d2f6d4075dccf9982c3950fb066db437f2c819bd
d2f6d40https://github.com/coder/coder/pull/24631/commits/d2f6d4075dccf9982c3950fb066db437f2c819bd
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
23b30b7https://github.com/coder/coder/commit/23b30b72853730f1884ad472b5ce0707e120ba4d
Apr 27, 2026https://github.com/coder/coder/pull/24631#event-24899452344
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/jaaydenh
jaaydenhhttps://github.com/jaaydenh
April 27, 2026 09:38https://github.com/coder/coder/pull/24631#event-24899453736
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 27, 2026https://github.com/coder/coder/pull/24631#event-24899462948
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F24631
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connector[bot] https://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/24631/files/7550b73bf6eb93fdbddd443f1a8d0c288b96ed05
https://github.com/DanielleMaywood
DanielleMaywood https://github.com/DanielleMaywood
https://github.com/coder/coder/pull/24631/files/2e16b3cace01a5217aac49fea5d2016d7b52eba1
https://github.com/apps/coder-agents-review
coder-agents-review[bot] https://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/24631/files/9ade2c53bfb840399b7e1793707b5a9619efb5cb
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/jaaydenh
jaaydenh https://github.com/jaaydenh
Please reload this pagehttps://github.com/coder/coder/pull/24631
https://github.com/jaaydenh
https://github.com/DanielleMaywood
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.