Skip to content

refactor: update app buttons to use the new button component #17684

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 9 commits into from
May 6, 2025
Merged
Show file tree
Hide file tree
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
Fix vscode button styles
  • Loading branch information
BrunoQuaresma committed May 6, 2025
commit 662cc94e3a12c68fc3d9a343ddad430d720c80b0
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import Menu from "@mui/material/Menu";
import MenuItem from "@mui/material/MenuItem";
import { API } from "api/api";
import type { DisplayApp } from "api/typesGenerated";
import { VSCodeIcon } from "components/Icons/VSCodeIcon";
import { VSCodeInsidersIcon } from "components/Icons/VSCodeInsidersIcon";
import { ChevronDownIcon } from "lucide-react";
import { type FC, useRef, useState } from "react";
import { AgentButton } from "../AgentButton";
import { DisplayAppNameMap } from "../AppLink/AppLink";
Expand Down Expand Up @@ -62,7 +62,7 @@ export const VSCodeDesktopButton: FC<VSCodeDesktopButtonProps> = (props) => {
}}
size="icon-lg"
>
<KeyboardArrowDownIcon css={{ fontSize: 16 }} />
<ChevronDownIcon />
</AgentButton>
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import Menu from "@mui/material/Menu";
import MenuItem from "@mui/material/MenuItem";
import { API } from "api/api";
import type { DisplayApp } from "api/typesGenerated";
import { VSCodeIcon } from "components/Icons/VSCodeIcon";
import { VSCodeInsidersIcon } from "components/Icons/VSCodeInsidersIcon";
import { ChevronDownIcon } from "lucide-react";
import { type FC, useRef, useState } from "react";
import { AgentButton } from "../AgentButton";
import { DisplayAppNameMap } from "../AppLink/AppLink";
Expand Down Expand Up @@ -63,9 +63,9 @@ export const VSCodeDevContainerButton: FC<VSCodeDevContainerButtonProps> = (
onClick={() => {
setIsVariantMenuOpen(true);
}}
css={{ paddingLeft: 0, paddingRight: 0 }}
size="icon-lg"
>
<KeyboardArrowDownIcon css={{ fontSize: 16 }} />
<ChevronDownIcon />
</AgentButton>
</div>

Expand Down
Loading