bcgov / bcgov/range-web

Remove confirmed dead code from action/api/reducer/component layers

Open
#1,345 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Summary: remove mechanically-confirmed dead code across the frontend while preserving behavior.\n\nScope completed:\n- Removed unreferenced action creators and wrappers in src/actionCreators\n- Removed unreferenced API helpers in src/api\n- Removed dead reducer/action subtree for agreements-with-all-plans\n- Removed zero-inbound component files identified by import-graph scan\n- Removed one component-level unused variable warning\n\nAcceptance criteria:\n- [x] Dead code removed in reviewable slices\n- [x] npm run typecheck passes\n- [x] No remaining zero-inbound component files from this pass\n\nNotes: this task intentionally does not change behavior or tackle broader no-explicit-any cleanup.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing src/actionCreators, src/api, the reducer/action subtree, and component files covered by the import-graph pass; run npm run typecheck. The issue reports dead-code removal and the zero-inbound-component check as complete, so confirm those acceptance criteria before taking it on.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.