mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(experiments): ship seven treatments to everyone (#2798)
This commit is contained in:
1 parent
9e614026d7
commit
910db6734b
167 files changed
+4608
-58147
No files matched your search
@@ -21,12 +21,6 @@ import {useServiceWorkerBadge} from '@app/features/app/hooks/useServiceWorkerBad
|
||||
import {useTabKeyFocusGuard} from '@app/features/app/hooks/useTabKeyFocusGuard';
|
||||
import {type LayoutVariant, LayoutVariantProvider} from '@app/features/app/state/LayoutVariantContext';
|
||||
import RuntimeCrash from '@app/features/app/state/RuntimeCrash';
|
||||
import BlockedMessageGroupsRollout, {
|
||||
BLOCKED_MESSAGE_GROUPS_EXPERIMENT_CLASS,
|
||||
} from '@app/features/channel/state/BlockedMessageGroupsRollout';
|
||||
import MessageHoverTrackingRollout, {
|
||||
MESSAGE_HOVER_TRACKING_EXPERIMENT_CLASS,
|
||||
} from '@app/features/channel/state/MessageHoverTrackingRollout';
|
||||
import {showMyselfTypingHelper} from '@app/features/devtools/utils/ShowMyselfTypingHelper';
|
||||
import GatewayConnection from '@app/features/gateway/transport/GatewayConnection';
|
||||
import {AppI18nProvider} from '@app/features/i18n/components/AppI18nProvider';
|
||||
@@ -45,7 +39,6 @@ import Theme from '@app/features/theme/state/Theme';
|
||||
import ThemeLibrary from '@app/features/theme/state/ThemeLibrary';
|
||||
import {useThemeStudioBroadcast} from '@app/features/theme_studio/state/ThemeStudioBroadcast';
|
||||
import ThemeStudioState from '@app/features/theme_studio/state/ThemeStudioState';
|
||||
import TypingPolicy from '@app/features/typing/state/TypingPolicy';
|
||||
import {SVGMasks} from '@app/features/ui/components/SVGMasks';
|
||||
import FocusRingScope from '@app/features/ui/focus_ring/FocusRingScope';
|
||||
import {useTextInputContextMenu} from '@app/features/ui/hooks/useTextInputContextMenu';
|
||||
@@ -126,12 +119,8 @@ export const AppWrapper = observer(({children}: AppWrapperProps) => {
|
||||
const handleSkipLinkFocus = useTabKeyFocusGuard();
|
||||
useInertBackground(ringsContainerRef, hasBlockingModal || topPopoutRequiresBackdrop);
|
||||
useEffect(() => {
|
||||
TypingPolicy.start();
|
||||
showMyselfTypingHelper.start();
|
||||
return () => {
|
||||
showMyselfTypingHelper.stop();
|
||||
TypingPolicy.stop();
|
||||
};
|
||||
return () => showMyselfTypingHelper.stop();
|
||||
}, []);
|
||||
useEffect(
|
||||
() =>
|
||||
@@ -165,8 +154,6 @@ export const AppWrapper = observer(({children}: AppWrapperProps) => {
|
||||
useDocumentClassToggle('reduced-motion', reducedMotion);
|
||||
useDocumentClassToggle('mobile-layout', MobileLayout.platformMobileDetected || MobileLayout.enabled);
|
||||
useDocumentClassToggle(UNFOCUSED_FULLY_INTERACTIVE_CLASS, stayInteractiveWhenUnfocused);
|
||||
useDocumentClassToggle(MESSAGE_HOVER_TRACKING_EXPERIMENT_CLASS, MessageHoverTrackingRollout.enabled);
|
||||
useDocumentClassToggle(BLOCKED_MESSAGE_GROUPS_EXPERIMENT_CLASS, BlockedMessageGroupsRollout.enabled);
|
||||
useDesktopAllowTransparency(isNative);
|
||||
useWindowEventListeners({preventDocumentScroll: !isNative});
|
||||
useRemScaleTracking();
|
||||
|
||||
Reference in new issue
Block a user