Empty "Pinned" section in sidebar — no way to pin sessions
Summary
The sidebar shows a Pinned section header (pushpin icon) that is always empty, and there is no way to pin any agent session to begin with.
Repro
- Open the desktop app.
- Look at the left sidebar — the Pinned collapsible section appears below Search.
- Expand it — body is empty. There is no pin affordance on any session row, project, or context menu.
Root cause
Shipped as a deliberate UI placeholder in PR #3310 (Feat/sidebar collapsible sections).
frontend/src/renderer/components/Sidebar.tsx:300-310:
{/* Pinned — collapsible; body empty until pin functionality lands. */}
<div className="sidebar-expanded-chrome flex shrink-0 flex-col ...">
<SectionDisclosure
icon={<Pin strokeWidth={1.75} aria-hidden="true" />}
label="Pinned"
open={pinnedOpen}
onToggle={() => setPinnedOpen((v) => !v)}
className="mb-1"
/>
{pinnedOpen ? <div className="pb-2" /> : null} {/* ← empty body */}
</div>
The inline comment is explicit: "body empty until pin functionality lands." There is no is_pinned / IsPinned / pinned_at field anywhere in the backend, no API route to pin/unpin a session, and no UI affordance to trigger it. The feature was never implemented — only the shell.
- Author: @Annieeeee11
- Merged by: @codebanditssss — 2026-07-31
Impact
Minor UX papercut: a dead affordance visible to every user. The section looks interactive but does nothing. Users (and now our own triage flow) assume sessions can be pinned and go looking for a control that doesn't exist.
Suggested fix
Pick one of:
- Hide the section until pin functionality exists — remove the
Pinnedblock (lines 300-310) fromSidebar.tsx. Smallest possible change; no user-visible feature regression because nothing was working. - Implement the feature — add
is_pinnedto sessions (backend migration + DTO + API route to toggle), a pin control on session rows, and wire the sidebar body to list pinned sessions. Larger; file asenhancementseparately.
Recommend (1) now to stop shipping a broken-looking UI, with (2) as a follow-up enhancement.
Priority
P2 — cosmetic/UX dead affordance, not a functional break.
Thanks for the detailed writeup — agree this is a dead affordance that should get resolved.
I'd suggest going with option 1 (hide the section) as an immediate fix — it's a minimal, safe change since nothing was actually functional yet, and it stops the misleading UI right away. Happy to open a PR for that.
For option 2 (full pin implementation — is_pinned field, migration, API route, UI control), I think that's worth tracking separately as an enhancement so it doesn't block the quick fix here. Could @Prasad-D-Ware assign this to me? Happy to take it on once we've settled on an approach.
@AshutoshIIT1234 if you are picking this up. Please sync in with me once.
Thanks for contributing to Agent Orchestrator.
This issue is being picked up by the current external contributor on-call pair:
- @illegalcall
- @pulkit7070
If someone is already working on this, please continue as usual. The on-call pair is added for visibility, tracking, and support, not to take over the work. If you need help with review, direction, reproduction, or next steps, please tag @illegalcall and @pulkit7070 here.
For faster context or live questions, you can also join the AO Discord.
Join the session here: https://discord.gg/H6ZDcUXmq
Come by if you want to see what is being built, ask questions, or just hang around with the community.