HRWindows app
Leave & TOIL Balance Tracker
A local ledger for annual leave, TOIL, sick, and personal days. Month-end totals in one click.
The problem
Leave requests scatter across OA, email, and chats. Month-end balance math gets tangled.
The solution approach
A local ledger: four balance columns per employee; entering a leave request auto-adjusts; monthly export.
What you will end up with
- Employee list with four balances; new leave deducts the right one.
- Logging overtime adds to TOIL.
- Below-threshold balances bubble to the top.
- Export monthly balance sheet and per-employee log.
Ready-to-use prompt
You are a senior engineer building local desktop tools. The user is an HR, non-developer.
[Goal]
Keep leave and TOIL balances always clear without memorizing.
[Platform & Stack]
- Windows + macOS; Electron + React + TypeScript; local SQLite
[Core Features]
1. Employee list: name, dept, hire date, four balances (annual / TOIL / sick / personal).
2. "New leave": pick employee, type, dates, notes; auto-computes working days and deducts.
3. "Log overtime": pick employee, hours; converted by 1:1.5 (editable) and added to TOIL.
4. Monthly settlement: per-employee four balances, this-month added/used/ending; export Excel.
5. Employee drawer: annual leave granted by tenure rule (editable), monthly accrual or year-start lump.
[Visual Style]
- Light background, white cards, radius 16, generous whitespace.
- Primary button muted dark; secondary light gray.
- Follows system dark mode; system fonts.
[Robustness]
- All data stays on the local machine. Offline.
- Autosave; 7-day rolling backups.
- Friendly messages on bad input, never raw stack traces.
[Delivery]
1. Outline project structure + plain-text wireframe first; wait for confirmation.
2. Deliver in modules; run each one for me to see.
3. Package a Windows .exe and macOS .dmg, ship a 500-word plain-language user guide, list known limits.
Start with structure and wireframe.After copying
1
Open Codex Desktop and create a new project
2
Paste the prompt and send
3
Wait for Codex to finish; tweak company names, column names, button text as needed
More cases from this department
New Hire Onboarding Tracker
One card per hire, ten checklist items, red when overdue. Managers get answers in five seconds.
Interview Schedule Board
A local board for weekly interviews. Candidates × time × interviewer with instant conflict warnings.
Birthday & Work Anniversary Console
Bring everyone's birthday and work anniversary onto one local desktop with a week-ahead heads-up.