Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
51d076f
feat(site): expose workspace apps in chat workspace pill
DanielleMaywood Apr 13, 2026
057ac8d
test(site): add storybook stories for WorkspacePill
DanielleMaywood Apr 13, 2026
dd3f0be
refactor(site): drop appendChatIdToHref, match AgentRow pattern
DanielleMaywood Apr 13, 2026
da60ae8
chore(site): remove stale-prone comments from WorkspacePill
DanielleMaywood Apr 13, 2026
fd165c9
refactor(site): WorkspacePill owns its status display, eliminate Reac…
DanielleMaywood Apr 13, 2026
f366b30
fix(site): remove stray whitespace expression in ChatTopBar
DanielleMaywood Apr 13, 2026
ba6fda9
fix(site): update AgentChatPage story for meatball menu changes
DanielleMaywood Apr 13, 2026
3441075
refactor(site): use Popover styling from #24308 for WorkspacePill
DanielleMaywood Apr 13, 2026
9689199
refactor(site): move Copy SSH and View Workspace from meatball to pill
DanielleMaywood Apr 13, 2026
6610110
fix(site): flip chevron direction for top popover, suppress tooltip w…
DanielleMaywood Apr 13, 2026
20de227
fix(site): show all workspace apps in pill, not just external ones
DanielleMaywood Apr 13, 2026
9c4be48
fix(site): address self-review findings (separator, overflow, story)
DanielleMaywood Apr 13, 2026
29ae400
fix(site): address review feedback (folder, status indicator, null gu…
DanielleMaywood Apr 13, 2026
0dcd9bd
fix(site): address panel review feedback (dropdown, token guard, stor…
DanielleMaywood Apr 13, 2026
5d6aa30
fix(site): address self-review findings (mutation unmount, disabled s…
DanielleMaywood Apr 13, 2026
559e05b
fix(site): address self-review round 2 (tooltip, alt, folder fallback…
DanielleMaywood Apr 13, 2026
1b186da
refactor(site): inline cls variables and remove workspaceStatusDisplay
DanielleMaywood Apr 13, 2026
19ba116
refactor(site): extract StatusIcon component to deduplicate status ic…
DanielleMaywood Apr 13, 2026
a95bf52
fix(site): address R3 review feedback (shared status, mutation lift, …
DanielleMaywood Apr 14, 2026
831572d
fix(site/src/pages/AgentsPage): add external app disabled assertions,…
DanielleMaywood Apr 14, 2026
6373d75
fix(site/src/pages/AgentsPage): fix WithWorkspace story props, add en…
DanielleMaywood Apr 14, 2026
ef908e8
fix(site/src/pages/AgentsPage): useClipboard, restore Cursor, fix fak…
DanielleMaywood Apr 14, 2026
95d78c5
fix(site/src/pages/AgentsPage): remove builtin Cursor, fix clipboard/…
DanielleMaywood Apr 14, 2026
cff4e04
fix(site/src/pages/AgentsPage): assert href absence on disabled exter…
DanielleMaywood Apr 14, 2026
aedb81c
fix(site/src/pages/AgentsPage): group launch items above separator
DanielleMaywood Apr 14, 2026
ed94b48
fix(site/src/pages/AgentsPage): use consistent app names without Open…
DanielleMaywood Apr 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(site): address self-review findings (separator, overflow, story)
  • Loading branch information
DanielleMaywood committed Apr 13, 2026
commit 9c4be48ecddada7062f85772d0ec7ca8e84bc7ed
16 changes: 8 additions & 8 deletions site/src/pages/AgentsPage/components/AgentChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -930,18 +930,18 @@ export const AgentChatInput: FC<AgentChatInputProps> = ({
* hide and reorder via CSS. The pill is invisible
* when there's no overflow but still occupies
* layout space, preventing measurement flicker. */}
{workspace && workspaceAgent && chatId && (
<WorkspacePill
workspace={workspace}
agent={workspaceAgent}
chatId={chatId}
sshCommand={sshCommand}
/>
)}
<div
ref={badgeContainerRef}
className="flex min-w-0 items-center gap-1 overflow-hidden"
>
{workspace && workspaceAgent && chatId && (
<WorkspacePill
workspace={workspace}
agent={workspaceAgent}
chatId={chatId}
sshCommand={sshCommand}
/>
)}{" "}
{allBadges.map((badge, i) => {
const isOverflow = overflowCount > 0 && i >= visibleCount;
return (
Expand Down
3 changes: 1 addition & 2 deletions site/src/pages/AgentsPage/components/ChatTopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ export const ChatTopBar: FC<ChatTopBarProps> = ({
>
{!isArchived && (
<>
<DropdownMenuSeparator />
{onRegenerateTitle && (
<>
<DropdownMenuItem
Expand All @@ -204,7 +203,7 @@ export const ChatTopBar: FC<ChatTopBarProps> = ({
</DropdownMenuItem>
<DropdownMenuSeparator />
</>
)}
)}{" "}
Comment thread
DanielleMaywood marked this conversation as resolved.
Outdated
</>
)}
{isArchived ? (
Expand Down
14 changes: 3 additions & 11 deletions site/src/pages/AgentsPage/components/WorkspacePill.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,21 +167,13 @@ export const WithExternalAppsOnly: Story = {
},
};

/** When the agent has no apps at all, the pill renders as a simple link
* to the workspace page instead of a dropdown trigger. */
/** When the agent has no apps at all, the component returns null.
* The fallback plain link is handled by the ToolBadge in
* AgentChatInput, not by WorkspacePill. */
export const NoApps: Story = {
Comment thread
DanielleMaywood marked this conversation as resolved.
args: {
...defaultProps,
workspace: MockWorkspace,
agent: agentWithNoApps,
},
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
const link = canvas.getByText("Test-Workspace");
// The pill should be a link, not a dropdown trigger.
expect(link.closest("a")).toHaveAttribute(
"href",
expect.stringContaining("/@"),
);
},
};