Skip to content

feat(codecov): Hide TA feature#109527

Merged
calvin-codecov merged 1 commit intomasterfrom
cy/hide_ta
Mar 3, 2026
Merged

feat(codecov): Hide TA feature#109527
calvin-codecov merged 1 commit intomasterfrom
cy/hide_ta

Conversation

@calvin-codecov
Copy link
Contributor

Hide the Prevent TA feature

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 26, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment on lines -164 to 177
{showPreventNav(organization) ? (
{showPreventNav() ? (
<Container position="relative" height="100%">
<SidebarLink
to={`/${prefix}/prevent/tests/`}
activeTo={`/${prefix}/prevent/`}
analyticsKey="prevent"
group={PrimaryNavGroup.PREVENT}
{...makeNavItemProps(PrimaryNavGroup.PREVENT)}
>
<IconPrevent />
</SidebarLink>
<BetaBadge type="beta" />
</Container>
) : null}
Copy link
Member

Choose a reason for hiding this comment

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

Could nuke this too now. err, maybe not

It's things like PrimaryNavGroup.PREVENT and IconPrevent that might not be caught by knip

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing this block doesn't trigger knip since all icons are allowed and PrimaryNavGroup.Prevent is still used in other places with the new knip exception entries. Were you suggesting to remove this block too?

Copy link
Member

Choose a reason for hiding this comment

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

No,doesn't matter imo.
It's more about identifying these things that knip is going to miss. in the 11K lines i wouldn't have spotted it... But doing that rm command in pieces will take too long. So idk, i expect there'll be extra things like these to identify and get over time. Also the backend will be more manual i expect too.

@calvin-codecov calvin-codecov marked this pull request as ready for review February 27, 2026 00:27
@calvin-codecov calvin-codecov requested a review from a team as a code owner February 27, 2026 00:27
@calvin-codecov calvin-codecov merged commit 1448df5 into master Mar 3, 2026
60 of 61 checks passed
@calvin-codecov calvin-codecov deleted the cy/hide_ta branch March 3, 2026 19:32
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.

3 participants