Skip to content

PM-5800: Hide copilot fee for task challenges - #2103

Merged
jmgasper merged 1 commit into
devfrom
PM-5800
Aug 4, 2026
Merged

PM-5800: Hide copilot fee for task challenges#2103
jmgasper merged 1 commit into
devfrom
PM-5800

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

What was broken

Task challenge setup in the Work app displayed a Copilot Fee field, allowing project managers to bundle a copilot payment with the task instead of recording the copilot work as a separate task payment.

Root cause

The challenge editor rendered the copilot fee input for every billable challenge without considering the resolved task challenge state.

What was changed

  • Hide the copilot fee input and its layout column for task challenges.
  • Keep copilot assignment and the rest of task billing unchanged.
  • Preserve the copilot fee input for non-task challenges.
  • Document that the fee input is available only for non-task challenges.

Any added/updated tests

  • Added form coverage that verifies task challenges hide the fee while retaining copilot assignment and billing.
  • Added coverage that verifies non-task challenges still show the fee.
  • The two focused PM-5800 tests pass.
  • Lint passes.
  • The production build passes with existing warnings.
  • The full test suite was run and matches the fetched origin/dev baseline: 18 suites and 32 tests fail both before and after this change. This branch adds two passing tests, increasing the passing total from 999 to 1001 without adding failures.

What was broken

Task challenge setup in the Work app displayed a Copilot Fee field, allowing project managers to bundle a copilot payment with the task.

Root cause

The challenge editor rendered the copilot fee input for every billable challenge without considering the resolved task challenge state.

What was changed

- Hide the copilot fee input and its layout column for task challenges.
- Keep copilot assignment and the rest of task billing unchanged.
- Preserve the copilot fee input for non-task challenges and document the task-only restriction.

Any added/updated tests

- Added form coverage that verifies task challenges hide the fee while retaining copilot assignment and billing.
- Added coverage that verifies non-task challenges still show the fee.
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 3, 2026 21:07
@jmgasper
jmgasper merged commit 798dc3f into dev Aug 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant