Skip to content

fix(site): hide "Show parent apps" when no running or starting devcontainers #19200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 6, 2025
Merged
Changes from 1 commit
Commits
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
test: add story
  • Loading branch information
DanielleMaywood committed Aug 6, 2025
commit bf87a475f1d08d05c0b7ce23a5c4fd826df1b906
21 changes: 21 additions & 0 deletions site/src/modules/resources/AgentRow.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,24 @@ export const Devcontainer: Story = {
});
},
};

export const FoundDevcontainer: Story = {
args: {
agent: {
...M.MockWorkspaceAgentReady,
},
},
beforeEach: () => {
spyOn(API, "getAgentContainers").mockResolvedValue({
devcontainers: [
{
...M.MockWorkspaceAgentDevcontainer,
status: "stopped",
container: undefined,
agent: undefined,
},
],
containers: [],
});
},
};
Loading