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

stacklok / toolhive-studio / 24677580704
66%
main: 71%

Build:
Build:
LAST BUILD BRANCH: fix/auto-2316
DEFAULT BRANCH: main
Ran 20 Apr 2026 04:22PM UTC
Jobs 1
Files 459
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Apr 2026 04:18PM UTC coverage: 65.898% (+0.06%) from 65.836%
24677580704

Pull #2048

github

samuv
feat(playground): persist composer drafts across route and thread changes

The Playground composer text lived only in component state, so navigating away from /playground/chat/$threadId (or switching thread) discarded any unsent draft. This wires ChatInputPrompt to the useThreadDraft hook so drafts survive both.

- Add a threadId prop to ChatInputPrompt and replace useState('') with useThreadDraft(threadId)

- Key both ChatInputPrompt instances by threadId in ChatInterface so a thread switch remounts the composer — the lazy initializer re-reads the right draft, and as a bonus the internal PromptInput attachments reset too (previously they bled across threads)

- Call clearThreadDraft inside handleDeleteThread so removing a thread doesn't leave an orphan localStorage key
Pull Request #2048: feat(playground): persist composer drafts per thread across route changes

3653 of 6042 branches covered (60.46%)

18 of 20 new or added lines in 3 files covered. (90.0%)

6 existing lines in 1 file now uncovered.

5774 of 8762 relevant lines covered (65.9%)

120.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% renderer/src/features/chat/components/chat-input-prompt.tsx
1
94.44
renderer/src/features/chat/hooks/use-thread-draft.ts

Coverage Regressions

Lines Coverage ∆ File
6
88.51
0.0% renderer/src/features/chat/hooks/use-playground-threads.ts
Jobs
ID Job ID Ran Files Coverage
1 24677580704.1 20 Apr 2026 04:22PM UTC 459
65.9
GitHub Action Run
Source Files on build 24677580704
  • Tree
  • List 459
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24677580704
  • Pull Request #2048
  • PR Base - main (#24661603277)
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