Skip to content
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

Remove unused Id prop from access schedule list #5154

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

NTARelix
Copy link
Contributor

Reported by sonarcloud: https://sonarcloud.io/project/issues?fileUuids=AX6fELCkjUUWs1HF_Tc8&resolved=false&types=CODE_SMELL&id=jellyfin_jellyfin-web&open=AYr_7x6Y4nroI6nze3Zu

Changes
Recommendations for First Time Contributors suggests fixing code smells listed on SonarCloud. The fixed smell is an unused React prop on the AccessScheduleList component. After confirming it was unused, I removed it from the interface and the sole reference to that prop from the UserParentalControl component. Building produced no errors, all vitest tests passed locally, and the parental control schedule seemed to have no regressions in my manual test in the browser.

The Contributing docs also say to add your name to the contribution markdown file, so I included that in my commit.

Issues
No GitHub issues resolved, but the following SonarCloud code smell will be resolved: https://sonarcloud.io/project/issues?fileUuids=AX6fELCkjUUWs1HF_Tc8&resolved=false&types=CODE_SMELL&id=jellyfin_jellyfin-web&open=AYr_7x6Y4nroI6nze3Zu

@NTARelix NTARelix requested a review from a team as a code owner January 24, 2024 05:01
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@dmitrylyzo dmitrylyzo added the cleanup Cleanup of legacy code or code smells label Jan 24, 2024
@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 90cda0e
Status ✅ Deployed!
Preview URL https://2a156dda.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs
View bot logs

@thornbill
Copy link
Member

Supersedes #4902

@thornbill thornbill merged commit 657b15e into jellyfin:master Feb 7, 2024
20 checks passed
@thornbill thornbill added this to the v10.9.0 milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Cleanup of legacy code or code smells
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants