SSWConsulting / SSWConsulting/TimePro.Tools
MCP Apps: leave create, update and cancel (form with dry-run preview)
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3
- Forks
- 0
- Avg merge
- 29m
- Merged PRs (30d)
- 28
Description
Part of MCP Apps (https://github.com/SSWConsulting/TimePro.Tools/issues/78). Create, update, cancel.
A leave form: type, dates, all-day or partial with workday times (hour or half-hour rule enforced locally as the CLI does), note, approver, cc. The page calls the tool with dryRun first and shows the proposed payload for confirmation, then submits (create_leave / update_leave, both through the shared services, terminal-status guard applies). Cancel shows the requested-then-pending-cancellation state and polls get_leave_entries the way tp leave cancel --wait does.
Never exercised against staging with real submissions (approver emails); WireMock and the dry-run path only, plus one supervised real run by JK.
Contributor guide
No contributing guide indexed for this repository
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
Start with the MCP Apps page and the shared services behind create_leave, update_leave, and get_leave_entries; compare cancellation polling with tp leave cancel --wait. Exercise the dry-run and WireMock paths first. Done means create, update, and cancel support the described form, confirmation preview, terminal-status guard, and polling behavior without untested real submissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, cli, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100