mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
feat: remove Canary Testers guild integration (#1572)
This commit is contained in:
1 parent
a9a51f576c
commit
f88b0f69b2
56 files changed
+1156
-4266
No files matched your search
@@ -24,11 +24,6 @@ const SCHEDULED_MAINTENANCE_NAGBAR_DESCRIPTOR = msg({
|
||||
comment:
|
||||
'Developer / debug surface — keep terse and technical. Label in the developer Nagbar controls panel for the scheduled-maintenance banner.',
|
||||
});
|
||||
const CANARY_TESTER_CTA_NAGBAR_DESCRIPTOR = msg({
|
||||
message: 'Canary tester CTA nagbar',
|
||||
comment:
|
||||
'Developer / debug surface — keep terse and technical. Label in the developer Nagbar controls panel for the canary-tester CTA banner.',
|
||||
});
|
||||
const UNCLAIMED_ACCOUNT_NAGBAR_DESCRIPTOR = msg({
|
||||
message: 'Unclaimed account nagbar',
|
||||
comment: 'Developer control label for the unclaimed-account banner.',
|
||||
@@ -365,18 +360,6 @@ export const getNagbarControls = (): Array<NagbarControlDefinition> => [
|
||||
forceShowDisabled: (state) => state.forceVoiceSessionRestore,
|
||||
forceHideDisabled: (state) => state.forceHideVoiceSessionRestore,
|
||||
},
|
||||
{
|
||||
key: 'forceCanaryTesterCta',
|
||||
label: CANARY_TESTER_CTA_NAGBAR_DESCRIPTOR,
|
||||
forceKey: 'forceCanaryTesterCta',
|
||||
forceHideKey: 'forceHideCanaryTesterCta',
|
||||
resetKeys: ['forceCanaryTesterCta'],
|
||||
status: (state) =>
|
||||
state.forceCanaryTesterCta ? FORCE_ENABLED : state.forceHideCanaryTesterCta ? FORCE_DISABLED : USING_ACTUAL_STATE,
|
||||
useActualDisabled: (state) => !state.forceCanaryTesterCta && !state.forceHideCanaryTesterCta,
|
||||
forceShowDisabled: (state) => state.forceCanaryTesterCta,
|
||||
forceHideDisabled: (state) => state.forceHideCanaryTesterCta,
|
||||
},
|
||||
{
|
||||
key: 'forceInvitesDisabled',
|
||||
label: INVITES_DISABLED_NAGBAR_DESCRIPTOR,
|
||||
|
||||
Reference in new issue
Block a user