Skip to content

Commit

Permalink
Merge pull request #87 from diggerhq/fix/remove-activity-tab-for-now
Browse files Browse the repository at this point in the history
temporary removal of activity tab
  • Loading branch information
motatoes authored Nov 28, 2024
2 parents 51f8a98 + cb768d0 commit 255a2b3
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { SwitcherAndToggle } from '@/components/SidebarComponents/SidebarLogo';
import { FreeTrialComponent } from '@/components/SubscriptionCards';
import { Skeleton } from '@/components/ui/skeleton';
import { differenceInDays } from 'date-fns';
import { Activity, FileText, FlagIcon, Home, Layers, MessageCircle, Users } from 'lucide-react';
import { FileText, FlagIcon, Home, Layers, MessageCircle, Users } from 'lucide-react';

async function OrganizationSubscriptionSidebarCard({
organizationId,
Expand Down Expand Up @@ -98,11 +98,11 @@ async function OrganizationSidebarInternal({
href={`/org/${organizationId}/teams`}
icon={<Users className="size-4 text-foreground" />}
/>
<SidebarLink
{/* <SidebarLink
label="Activity"
href={`/org/${organizationId}/activity`}
icon={<Activity className="size-4 text-foreground" />}
/>
/> */}
<SidebarLink
label="Docs"
href={`https://docs.digger.dev/team/getting-started/gha-aws`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { SidebarLink } from '@/components/SidebarLink';
import { fetchSlimOrganizations } from '@/data/user/organizations';
import { getOrganizationOfTeam } from '@/data/user/teams';
import { cn } from '@/utils/cn';
import { Activity, FileText, FlagIcon, Home, Layers, MessageCircle, Users } from 'lucide-react';
import { FileText, FlagIcon, Home, Layers, MessageCircle, Users } from 'lucide-react';
import { Suspense } from 'react';

async function TeamSidebarInternal({ organizationId }: { organizationId: string }) {
Expand Down Expand Up @@ -43,11 +43,11 @@ async function TeamSidebarInternal({ organizationId }: { organizationId: string
href={`/org/${organizationId}/teams`}
icon={<Users className="size-4 text-foreground" />}
/>
<SidebarLink
{/* <SidebarLink
label="Activity"
href={`/org/${organizationId}/activity`}
icon={<Activity className="size-4 text-foreground" />}
/>
/> */}
<SidebarLink
label="Docs"
href={`https://docs.digger.dev/team/getting-started/gha-aws`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fetchSlimOrganizations } from '@/data/user/organizations';
import { getSlimProjectById, getSlimProjectBySlug } from '@/data/user/projects';
import { cn } from '@/utils/cn';
import { projectSlugParamSchema } from '@/utils/zod-schemas/params';
import { Activity, ArrowLeft, FileText, FlagIcon, Layers, MessageCircle, Users } from 'lucide-react';
import { ArrowLeft, FileText, FlagIcon, Layers, MessageCircle, Users } from 'lucide-react';
import { Suspense } from 'react';

async function ProjectSidebarInternal({ projectId, projectSlug }: { projectId: string; projectSlug: string }) {
Expand Down Expand Up @@ -47,11 +47,11 @@ async function ProjectSidebarInternal({ projectId, projectSlug }: { projectId: s
href={`/org/${organizationId}/teams`}
icon={<Users className="size-4 text-foreground" />}
/>
<SidebarLink
{/* <SidebarLink
label="Activity"
href={`/org/${organizationId}/activity`}
icon={<Activity className="size-4 text-foreground" />}
/>
/> */}
<SidebarLink
label="Docs"
href={`https://docs.digger.dev/team/getting-started/gha-aws`}
Expand Down

0 comments on commit 255a2b3

Please sign in to comment.