Skip to content

feat: split management settings sidebar into deployment/organization sidebars #15388

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 19 commits into from
Dec 18, 2024
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
fix: fix format
  • Loading branch information
jaaydenh committed Dec 17, 2024
commit f176daba121ddba9d1f29bb3308292114f37d1b0
8 changes: 4 additions & 4 deletions site/src/modules/management/OrganizationSidebarView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import { cx } from "@emotion/css";
import AddIcon from "@mui/icons-material/Add";
import type { AuthorizationResponse, Organization } from "api/typesGenerated";
import { Loader } from "components/Loader/Loader";
import {
Sidebar as BaseSidebar,
SettingsSidebarNavItem as SidebarNavSubItem,
} from "components/Sidebar/Sidebar";
import { Stack } from "components/Stack/Stack";
import { UserAvatar } from "components/UserAvatar/UserAvatar";
import type { Permissions } from "contexts/auth/permissions";
import { type ClassName, useClassName } from "hooks/useClassName";
import { useDashboard } from "modules/dashboard/useDashboard";
import type { FC, ReactNode } from "react";
import { Link, NavLink } from "react-router-dom";
import {
Sidebar as BaseSidebar,
SettingsSidebarNavItem as SidebarNavSubItem,
} from "components/Sidebar/Sidebar";

export interface OrganizationWithPermissions extends Organization {
permissions: AuthorizationResponse;
Expand Down