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

stacklok / codegate-ui / 12808884537

16 Jan 2025 12:28PM UTC coverage: 68.451% (-0.2%) from 68.636%
12808884537

Pull #88

github

web-flow
Merge cc7d14913 into 02c8c826a
Pull Request #88: refactor: fetch prompts data using react-query

205 of 379 branches covered (54.09%)

Branch coverage included in aggregate %.

18 of 19 new or added lines in 6 files covered. (94.74%)

1 existing line in 1 file now uncovered.

396 of 499 relevant lines covered (79.36%)

29.7 hits per line

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

50.0
/src/hooks/useCurrentPromptStore.ts
1
import { create } from "zustand";
2

3
type CurrentPromptState = {
4
  currentPromptId: string;
5
  setCurrentPromptId: (id: string) => void;
6
};
7

8
export const useCurrentPromptStore = create<CurrentPromptState>((set) => ({
2✔
9
  currentPromptId: "",
NEW
10
  setCurrentPromptId: (id: string) => set({ currentPromptId: id }),
×
11
}));
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