SSWConsulting / SSWConsulting/TimePro.Tools

MCP Apps: leave create, update and cancel (form with dry-run preview)

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: MCP Apps Priority: P3 Type: Feature
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.