Skip to content

refactor(site): Group app and agent actions together #7267

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
Apr 24, 2023
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
Add collapse
  • Loading branch information
BrunoQuaresma committed Apr 24, 2023
commit 5e21eb9b6e37ec664eba552a308dfadc120f9bc1
6 changes: 4 additions & 2 deletions site/src/components/Resources/AgentRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import { AgentLatency } from "./AgentLatency"
import { AgentMetadata } from "./AgentMetadata"
import { AgentVersion } from "./AgentVersion"
import { AgentStatus } from "./AgentStatus"
import Collapse from "@material-ui/core/Collapse"

export interface AgentRowProps {
agent: WorkspaceAgent
Expand Down Expand Up @@ -282,7 +283,7 @@ export const AgentRow: FC<AgentRowProps> = ({

{hasStartupFeatures && (
<div className={styles.logsPanel}>
{showStartupLogs && (
<Collapse in={showStartupLogs}>
<AutoSizer disableHeight>
{({ width }) => (
<List
Expand All @@ -305,7 +306,8 @@ export const AgentRow: FC<AgentRowProps> = ({
</List>
)}
</AutoSizer>
)}
</Collapse>

<div className={styles.logsPanelButtons}>
{showStartupLogs ? (
<button
Expand Down