stacklok / stacklok/toolhive-studio
Test coverage: Window controls & quit-confirm
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 167
- Forks
- 24
- Avg merge
- 11h 32m
- Merged PRs (30d)
- 91
Description
What to do
Test IPC handlers for minimise/maximise/close and the quit-confirmation modal on beforeunload.
Files to cover
- src/common/components/layout/top-nav/window-controls.tsx
- src/common/components/layout/top-nav/quit-confirmation-listener.tsx
- src/common/hooks/use-confirm-quit.ts
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the three listed files: window-controls.tsx, quit-confirmation-listener.tsx, and use-confirm-quit.ts. Start by identifying the minimise, maximise, close, and beforeunload IPC paths, then add tests covering those handlers and the quit-confirmation modal behavior. Done means the specified window-control and quit-confirmation flows have automated coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100