Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .github/workflows/react-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0

- uses: millionco/react-doctor@v2
# Advisory by default: React Doctor reports findings on every PR — a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import Link from "next/link";
import { useState } from "react";
import { toast } from "sonner";
import { Button } from "@/components/button";
import { TitleFiltersSection } from "@/components/integrations/title-filters-section";
import { useOrganizationsContext } from "@/components/providers/organization-provider";
import { dashboardOrpc } from "@/lib/orpc/query";
import type { GitHubIntegration, GitHubRepository } from "@/types/integrations";
Expand Down Expand Up @@ -644,6 +645,20 @@ export default function PageClient({ integrationId }: PageClientProps) {
slug={activeOrganization?.slug ?? ""}
/>

{integration.repositories.map((repo) => (
<TitleFiltersSection
key={repo.id}
organizationId={organizationId}
source="github"
targetId={repo.id}
targetLabel={
integration.repositories.length > 1
? `${repo.owner}/${repo.repo}`
: undefined
}
/>
))}

{organizationId && integration.repositories.length > 0 ? (
<div className="space-y-4">
<div className="flex items-center justify-between gap-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { format } from "date-fns";
import dynamic from "next/dynamic";
import { useState } from "react";
import { Button } from "@/components/button";
import { TitleFiltersSection } from "@/components/integrations/title-filters-section";
import { useOrganizationsContext } from "@/components/providers/organization-provider";
import { dashboardOrpc } from "@/lib/orpc/query";
import type { LinearIntegration } from "@/types/integrations";
Expand Down Expand Up @@ -186,6 +187,12 @@ export default function PageClient({ integrationId }: PageClientProps) {
</div>
</div>
</div>

<TitleFiltersSection
organizationId={organizationId}
source="linear"
targetId={integration.id}
/>
</div>
</div>
</div>
Expand Down
Loading
Loading