diff --git a/ui/page/settingsCreator/view.jsx b/ui/page/settingsCreator/view.jsx index 6f392bd9e..b1df77392 100644 --- a/ui/page/settingsCreator/view.jsx +++ b/ui/page/settingsCreator/view.jsx @@ -11,6 +11,8 @@ import I18nMessage from 'component/i18nMessage'; const DEBOUNCE_REFRESH_MS = 1000; +const FEATURE_IS_READY = false; + type Props = { activeChannelClaim: ChannelClaim, settingsByChannelId: { [string]: PerChannelSettings }, @@ -138,30 +140,32 @@ export default function SettingsCreatorPage(props: Props) { )} {!isBusy && ( <> - - setSettings({ comments_enabled: !commentsEnabled })} - /> - setSettings({ slow_mode_min_gap: e.target.value })} - /> - - } - /> + {FEATURE_IS_READY && ( + + setSettings({ comments_enabled: !commentsEnabled })} + /> + setSettings({ slow_mode_min_gap: e.target.value })} + /> + + } + /> + )} } /> - - }}>Minimum %lbc% tip amount for comments - } - helper={__( - 'Enabling a minimum amount to comment will force all comments, including livestreams, to have tips associated with them. This can help prevent spam.' - )} - className="form-field--price-amount" - min={0} - step="any" - type="number" - placeholder="1" - value={minTipAmountComment} - onChange={(e) => setSettings({ min_tip_amount_comment: parseFloat(e.target.value) })} - /> - }}>Minimum %lbc% tip amount for hyperchats - } - helper={__( - 'Enabling a minimum amount to hyperchat will force all TIPPED comments to have this value in order to be shown. This still allows regular comments to be posted.' - )} - className="form-field--price-amount" - min={0} - step="any" - type="number" - placeholder="1" - value={minTipAmountSuperChat} - onChange={(e) => setSettings({ min_tip_amount_super_chat: parseFloat(e.target.value) })} - /> - - } - /> + {FEATURE_IS_READY && ( + + }}>Minimum %lbc% tip amount for comments + } + helper={__( + 'Enabling a minimum amount to comment will force all comments, including livestreams, to have tips associated with them. This can help prevent spam.' + )} + className="form-field--price-amount" + min={0} + step="any" + type="number" + placeholder="1" + value={minTipAmountComment} + onChange={(e) => setSettings({ min_tip_amount_comment: parseFloat(e.target.value) })} + /> + }}>Minimum %lbc% tip amount for hyperchats + } + helper={__( + 'Enabling a minimum amount to hyperchat will force all TIPPED comments to have this value in order to be shown. This still allows regular comments to be posted.' + )} + className="form-field--price-amount" + min={0} + step="any" + type="number" + placeholder="1" + value={minTipAmountSuperChat} + onChange={(e) => setSettings({ min_tip_amount_super_chat: parseFloat(e.target.value) })} + /> + + } + /> + )} )}