GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(site/src): show only pinned projects in the Coder Agents sidebar by jaaydenh · Pull Request #32040 · coder/coder

Conversation

@jaaydenh

@jaaydenh jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

First frontend layer of the Projects page and pinned projects design, on top of the backend in #32025 and #32026. The sidebar now shows only the projects the user has pinned.

  • The sidebar's Projects section lists only pinned projects, in pin order, read from the new project summaries query (GET /api/experimental/chats/projects/summaries). The backend migration pins every project each owner already has, and new projects start pinned, so nothing a user owns disappears on upgrade.
  • The sidebar chat list sends pinned_projects_only=true, so chats in projects the user hasn't pinned leave the sidebar unless the chat itself is pinned. They stay reachable from the project page.
  • A collapsed folder shows the number of the user's unread chats in it, and its link announces the count. A folder's menu gains Unpin project.
  • A Projects item under New chat links to /agents/projects and is highlighted there and on any project page. The page itself lands in a later PR in this stack.
  • Summaries refresh after relevant chat watch events (debounced), when a chat is opened, after mark read or unread, and after a project role change. Pin and unpin also refresh the sidebar chat list, since the filter changes which chats it returns.

Later PRs in this stack move pinned projects into the Pinned area, add drag reordering, and add the move-to-unpinned-project dialog.

Verification

pnpm check, pnpm lint (tsc, oxlint, circular deps, React Compiler, knip) and the touched unit and story tests pass. The full stack was dogfooded on a dev deployment; this is the sidebar at the top of the stack:

Pinned project folders with unread counts

Note

Most of this PR was written by AI agents (Xum, with UAT run through Coder Agents). The verification above is from those runs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@jaaydenh
feat(site/src): show only pinned projects in the Coder Agents sidebar
0353cd5
The Projects section now lists the user's pinned projects from the
project summaries, in pin order, with an unread count on collapsed
folders and an Unpin project item in the folder menu. The sidebar chat
list passes pinned_projects_only, so chats in unpinned projects leave
the sidebar, and a Projects nav item under New chat links to
/agents/projects.
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot assigned jaaydenh Nov 11, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T10:27:37.590512Z b3e61e9 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 11, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0353cd5f4f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread site/src/pages/AgentsPage/components/ChatsSidebar/chats/ChatsPanel.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread site/src/pages/AgentsPage/AgentsPageLayout.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh
fix(site/src/pages/AgentsPage): refresh project summaries when the ch…
0a4ea36
…at watch reconnects
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 11, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a4ea36e1f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread site/src/pages/AgentsPage/AgentsPageLayout.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread site/src/pages/AgentsPage/utils/agentSidebarFilters.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread site/src/pages/AgentsPage/components/ChatsSidebar/chats/ProjectFolders.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

jaaydenh added 5 commits November 11, 2026 08:46
@jaaydenh
fix(site/src/pages/AgentsPage): refresh project summaries when a chat…
05eda4c
… needs action

A chat that pauses for input publishes only an action_required watch
event, so the project summaries now refresh on it too.
@jaaydenh
fix(site/src): keep new chats in unpinned projects out of the sidebar…
9b5f14c
… list

When a chat is created or unarchived in a project the user has not
pinned, the watch handler no longer prepends it to the pinned projects
only sidebar lists, which the server would leave it out of.
@jaaydenh
fix(site/src/pages/AgentsPage/components/ChatsSidebar): keep focus in…
a936e17
… the sidebar after unpinning a project

Unpinning removes the folder whose menu held focus, so the closing menu
now moves focus to the next pinned project folder, else the previous
one, else the Projects nav item.
@jaaydenh
fix(site/src/pages/AgentsPage/components/ChatsSidebar/chats): use Rea…
9e1b119
…ct.RefObject for the unpin focus fallback
@jaaydenh
fix(site/src/pages/AgentsPage/components/ChatsSidebar/chats): keep th…
6269009
…e unpin focus helper out of the render scope

A closure defined among the component's hooks lost its memoization and
failed the React Compiler check, so the neighbor lookup is a module
function.
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 11, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6269009af3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread site/src/pages/AgentsPage/components/ChatsSidebar/chats/ChatsPanel.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread site/src/pages/AgentsPage/components/ChatsSidebar/chats/projectGrouping.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

jaaydenh added 4 commits November 11, 2026 09:55
@jaaydenh
fix(site/src/pages/AgentsPage/components/ChatsSidebar): hold back cha…
f5db39f
…ts of a project the summaries list as unpinned

After an unpin, the summaries can refetch before the chat list, so the
project's chats showed under Chats until the list caught up. Grouping now
takes every summary and holds back the unpinned chats of a project they
list as unpinned. Chats of a project the summaries lack still show.
@jaaydenh
fix(site/src): unpin a project in the sidebar at once
30b5994
Unpinning marks the project unpinned in the cached summaries before the
request runs, so its folder and chats leave the sidebar at once, and
restores the summaries if the request fails.
@jaaydenh
fix(site/src/pages/AgentsPage): keep focus visible after unpinning th…
931fb9f
…e last project on a small screen

The Projects nav item hides below the sm breakpoint, so unpinning the
last project moved focus to a hidden link and then to the body. Focus now
goes to the first rendered of the Projects nav item and the chat filters
button.
@jaaydenh
test(site/src/pages/AgentsPage): move the unpin focus and watch handl…
b3e61e9
…er tests to the reorder layer

They keep this layer under the review size budget, and the reorder layer
adds them back.
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: b3e61e980f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh
jaaydenh added this pull request to stack #32074 November 12, 2026 09:20
@jaaydenh jaaydenh mentioned this pull request Nov 12, 2026
feat(site/src): add the Coder Agents projects page #32083
Draft

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@jaaydenh jaaydenh

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@jaaydenh
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.