Skip to content

PM-1270 Exclude cancelled and completed projects from copilot request creation #1660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

himaniraghav3
Copy link
Collaborator

@himaniraghav3 himaniraghav3 requested a review from kkartunov August 1, 2025 14:45
? activeProject.status.toUpperCase()
: ''
const isCompletedOrCancelled =
projectStatus === CHALLENGE_STATUS.CANCELLED || projectStatus === CHALLENGE_STATUS.COMPLETED
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a more descriptive variable name for isCompletedOrCancelled to clarify its purpose, such as isProjectInactive.

Copy link
Contributor

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@himaniraghav3 hiding the button is good on WM side.
Please note we also need to:

  1. Do the same on Copilot Portal side for "New Copilot Request" at https://copilots.topcoder-dev.com/
  2. Filter out canceled & completed projects on the request form at "Select the project you want the copilot for"

@himaniraghav3 himaniraghav3 merged commit 8ede5aa into develop Aug 5, 2025
4 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.

2 participants