Automattic / Automattic/jetpack

Janitorial: Review, and maybe remove not used React components

Open
#11,137 1 comment 0 reactions 0 assignees View on GitHub
[Type] Janitorial Admin Page
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

I wasn't able find any usage of `CardSection` & `CardFooter` components around the project. They might be good candidates for clean-up.

Located in `_inc/client/components/card/index.jsx`

Also, I noticed `Form` and (at least) `MultiCheckboxInput` is not used anymore.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting `_inc/client/components/card/index.jsx` and searching the project for uses of `CardSection`, `CardFooter`, `Form`, and `MultiCheckboxInput`. Confirm whether each component is unused before deciding what cleanup is appropriate; done means the review is complete and any removal does not leave referenced components behind.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.