Skip to content

ref(settings): convert OwnerInput from class to function component#110200

Open
JoshuaKGoldberg wants to merge 1 commit intomasterfrom
function-component-owner-input
Open

ref(settings): convert OwnerInput from class to function component#110200
JoshuaKGoldberg wants to merge 1 commit intomasterfrom
function-component-owner-input

Conversation

@JoshuaKGoldberg
Copy link
Member

This component had two areas of unused code:

  • Class methods: mentionableUsers, mentionableTeams, and handleAddRule were never used
  • Props: paths and urls were never used in its code

Tested by going to /settings/projects/*/ownership/ and editing the ownership rules.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 9, 2026
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review March 9, 2026 14:42
@JoshuaKGoldberg JoshuaKGoldberg changed the title ref(views): convert OwnerInput from class to function component ref(settings): convert OwnerInput from class to function component Mar 9, 2026
@JoshuaKGoldberg JoshuaKGoldberg requested a review from a team March 9, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant