Skip to content

refactor(site): Redesign the agent row #7226

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 8 commits into from
Apr 20, 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
Remove unused code
  • Loading branch information
BrunoQuaresma committed Apr 18, 2023
commit 0c617c3dc693beec0bca408e58a57c685e16e07d
37 changes: 0 additions & 37 deletions site/src/components/Resources/AgentRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -432,27 +432,6 @@ const useStyles = makeStyles((theme) => ({
marginLeft: "auto",
},

startupLinks: {
display: "flex",
alignItems: "center",
gap: theme.spacing(2),
marginTop: theme.spacing(0.5),
},

startupLink: {
cursor: "pointer",
display: "flex",
gap: 4,
alignItems: "center",
userSelect: "none",
whiteSpace: "nowrap",

"& svg": {
width: 12,
height: 12,
},
},

startupLogs: {
maxHeight: 256,
borderBottom: `1px solid ${theme.palette.divider}`,
Expand All @@ -469,12 +448,6 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: theme.palette.background.default,
},

agentStatusWrapper: {
width: theme.spacing(4.5),
display: "flex",
justifyContent: "center",
},

agentNameAndStatus: {
fontWeight: 600,
display: "flex",
Expand All @@ -490,10 +463,6 @@ const useStyles = makeStyles((theme) => ({
maxWidth: 260,
},

agentOS: {
textTransform: "capitalize",
},

agentDataGroup: {
display: "flex",
alignItems: "baseline",
Expand All @@ -511,12 +480,6 @@ const useStyles = makeStyles((theme) => ({
},
},

agentStartupLogs: {
maxHeight: 200,
display: "flex",
flexDirection: "column-reverse",
},

apps: {
display: "flex",
flexWrap: "wrap",
Expand Down