[Frontend] - Deleting WPs should accept a change request ID

Open
#1,588 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start after resolving the dependency on issue #1587. Review DeleteWorkPackageView.tsx and the change request dropdown component, then update the related functions in work-packages.api.ts and work-packages.hooks.ts. Done means the deleting work package form requires selecting a change request ID and passes that ID through the deletion flow.

Written by the indexing model from the issue text.

Description

difficult front-end

Make these changes on a new branch: feature/cr-delete-wp

Blocked by: #1587

Description

The deleting WP form should take in a change request ID to be deleted.

Acceptance Criteria

Deleting a work package require the user to select a change request first.

Proposed Solution
  • Use the change request dropdown component to select the change request in DeleteWorkPackageView.tsx
  • work-packages.api.ts: update the delete work package function to accept a crID
  • work-packages.hooks.ts: update the delete package hook to accept a crID
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

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.

More from Northeastern-Electric-Racing/FinishLine

All issues in Northeastern-Electric-Racing/FinishLine

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.