Skip to content

feat(ui): Convert Feature component to FC#104659

Merged
scttcper merged 2 commits intomasterfrom
scttcper/class-component-feature
Dec 10, 2025
Merged

feat(ui): Convert Feature component to FC#104659
scttcper merged 2 commits intomasterfrom
scttcper/class-component-feature

Conversation

@scttcper
Copy link
Copy Markdown
Member

not removing the HoC for now since org prop is being abused to pass in custom orgs in tests

not removing the HoC for now
@scttcper scttcper requested a review from a team December 10, 2025 00:19
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 10, 2025
Comment on lines +121 to +126
const shouldMatchOnlyProject = feature.match(/^projects:(.+)/);
if (shouldMatchOnlyProject) {
return projectFeatures.includes(shouldMatchOnlyProject[1]!);
}

const shouldMatchOnlyOrg = feature.match(/^organizations:(.+)/);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would test() be better since we don't use the matches?

@scttcper scttcper merged commit ba18529 into master Dec 10, 2025
47 checks passed
@scttcper scttcper deleted the scttcper/class-component-feature branch December 10, 2025 22:59
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants