refactor: remove the CTP_MEMBER user flag (#2465)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-05 01:13:34 +02:00
1 parent 639ade3802
commit ab68b61653
45 files changed
+206 -429

No files matched your search

@@ -28,11 +28,6 @@ const STAFF_DESCRIPTOR = msg({
comment:
'Short badge title in the user profile badges popout. Preserve {productName}; it is inserted by code. English locales use Title Case for official badge titles; other locales should use natural local capitalization.',
});
const COMMUNITY_TEAM_DESCRIPTOR = msg({
message: '{productName} Community Team',
comment:
'Short badge title in the user profile badges popout. Preserve {productName}; it is inserted by code. English locales use Title Case for official badge titles; other locales should use natural local capitalization.',
});
const PARTNER_DESCRIPTOR = msg({
message: '{productName} Partner',
comment:
@@ -104,14 +99,6 @@ export const UserProfileBadges: React.FC<UserProfileBadgesProps> = observer(
url: Routes.careers(),
});
}
if (!selfHosted && user.flags & PublicUserFlags.CTP_MEMBER) {
result.push({
type: 'icon',
key: 'ctp_member',
iconUrl: badgeAssetUrl('ctp.svg'),
tooltip: i18n._(COMMUNITY_TEAM_DESCRIPTOR, {productName: PRODUCT_NAME}),
});
}
if (!selfHosted && user.flags & PublicUserFlags.PARTNER) {
result.push({
type: 'icon',