diff --git a/apps/web/app/gitlab/gitlab-page-client.tsx b/apps/web/app/gitlab/gitlab-page-client.tsx index 14102ea927..45521b439a 100644 --- a/apps/web/app/gitlab/gitlab-page-client.tsx +++ b/apps/web/app/gitlab/gitlab-page-client.tsx @@ -18,6 +18,7 @@ import { Card, CardContent } from "@kandev/ui/card"; import { Input } from "@kandev/ui/input"; import { Spinner } from "@kandev/ui/spinner"; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@kandev/ui/tabs"; +import { PageTopbar } from "@/components/page-topbar"; import { fetchGitLabStatus } from "@/lib/api/domains/gitlab-api"; import { useGitLabUserIssues, useGitLabUserMRs } from "@/hooks/domains/gitlab/use-user-search"; import type { GitLabStatus, Issue, MR } from "@/lib/types/gitlab"; @@ -242,56 +243,40 @@ export function GitLabPageClient({ workspaceId: _workspaceId }: { workspaceId?: const connected = status?.authenticated || status?.token_configured; return ( -
- - {!statusLoading && !connected ? ( - - ) : ( - - )} -
- ); -} - -function PageHeader({ - status, - statusLoading, - onRefresh, -}: { - status: GitLabStatus | null; - statusLoading: boolean; - onRefresh: () => void; -}) { - return ( -
-
- -
-

GitLab

-

- {status?.host ?? "https://gitlab.com"} · merge requests and issues -

-
+
+ } + actions={ + + } + /> +
+ {!statusLoading && !connected ? ( + + ) : ( + + )}
- -
+ ); }