Skip to content

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

Description

@jernejk

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MCP AppsInteractive UI over MCP tools (MCP Apps extension)Priority: P3Nice to haveType: FeatureA suggested idea for this project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions