Skip to content

refactor(site): make minor design tweaks and fix issues on more options menus #10493

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 13 commits into from
Nov 3, 2023
Merged
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
BrunoQuaresma committed Nov 2, 2023
commit 9787123f8a9810fb000f8e787f1ec7649a8cf2af
1 change: 0 additions & 1 deletion site/src/pages/UsersPage/UsersTable/UsersTableBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
TableLoaderSkeleton,
TableRowSkeleton,
} from "components/TableLoader/TableLoader";
import { TableRowMenu } from "components/TableRowMenu/TableRowMenu";
import { EnterpriseBadge } from "components/DeploySettingsLayout/Badges";
import HideSourceOutlined from "@mui/icons-material/HideSourceOutlined";
import KeyOutlined from "@mui/icons-material/KeyOutlined";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { makeStyles } from "@mui/styles";
import { FC, Fragment, ReactNode, useRef, useState } from "react";
import { FC, Fragment, ReactNode } from "react";
import { Workspace, WorkspaceBuildParameter } from "api/typesGenerated";
import {
ActionLoadingButton,
Expand Down Expand Up @@ -70,8 +70,6 @@ export const WorkspaceActions: FC<WorkspaceActionsProps> = ({
canChangeVersions,
);
const canBeUpdated = workspace.outdated && canAcceptJobs;
const menuTriggerRef = useRef<HTMLButtonElement>(null);
const [isMenuOpen, setIsMenuOpen] = useState(false);

// A mapping of button type to the corresponding React component
const buttonMapping: ButtonMapping = {
Expand Down