Part of MCP Apps (#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.
Part of MCP Apps (#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
dryRunfirst 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 pollsget_leave_entriesthe waytp leave cancel --waitdoes.Never exercised against staging with real submissions (approver emails); WireMock and the dry-run path only, plus one supervised real run by JK.