• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / codegate-ui / 13069930661

31 Jan 2025 09:25AM UTC coverage: 73.779% (+0.5%) from 73.312%
13069930661

Pull #234

github

web-flow
Merge d769920d7 into 9911a7a58
Pull Request #234: feat(alerts): tabs for filtering table

364 of 560 branches covered (65.0%)

Branch coverage included in aggregate %.

22 of 23 new or added lines in 3 files covered. (95.65%)

3 existing lines in 1 file now uncovered.

784 of 996 relevant lines covered (78.71%)

76.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/features/workspace/hooks/use-active-workspaces.ts
1
import { ListActiveWorkspacesResponse } from "@/api/generated";
2
import { v1ListActiveWorkspacesOptions } from "@/api/generated/@tanstack/react-query.gen";
3
import { useQuery } from "@tanstack/react-query";
4

5
export function useActiveWorkspaces<T = ListActiveWorkspacesResponse>({
×
6
  select,
7
}: {
8
  select?: (data?: ListActiveWorkspacesResponse) => T;
9
} = {}) {
10
  return useQuery({
380✔
11
    ...v1ListActiveWorkspacesOptions(),
12
    refetchInterval: 5_000,
13
    refetchIntervalInBackground: true,
14
    refetchOnMount: true,
15
    refetchOnReconnect: true,
16
    refetchOnWindowFocus: true,
17
    retry: false,
18
    select,
19
  });
20
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc