⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
'use client';
import { useTranslations } from 'next-intl';
import { useTeamQuery } from '@/services/teams.service';
import SectionPageView from '@/components/common/page/SectionPageView';
import ListSkeleton from '@/components/common/skeleton/ListSkeleton';
import TeamGitConnections from './TeamGitConnections';
export default function TeamGitSection({ teamId }: { teamId: number }) {
const t = useTranslations('teams.integrations');
const { data: team, isPending } = useTeamQuery(teamId);
return (
<SectionPageView title="Git" description={null} wide>
{isPending ? (
<ListSkeleton rows={2} rowClassName="h-16" />
) : team?.role === 'owner' || team?.role === 'manager' ? (
<TeamGitConnections teamId={teamId} />
) : (
<p className="text-sm text-muted-foreground">{t('noAccess')}</p>
)}
</SectionPageView>
);
}