2026-09-24 10:59:02 +00:00
|
|
|
// Module ID: 17860
|
|
|
|
|
// Function ID: 17861
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: VoiceChannelHoistingExperiment
|
2026-09-24 10:59:02 +00:00
|
|
|
// Dependencies: [4745, 4742, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useVoiceChannelHoistingExperiment
|
|
|
|
|
|
2026-09-24 10:59:02 +00:00
|
|
|
// Module 17860 (VoiceChannelHoistingExperiment)
|
|
|
|
|
import ExperimentConstants from "ExperimentConstants" /* 4745 */;
|
|
|
|
|
import createExperiment from "module_4742" /* 4742 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { kind: "guild", id: "2025-12_voice_channel_hoisting", label: "Voice Channel Hoisting", commonTriggerPoint: ExperimentConstants.CommonTriggerPoints.VOICE_CALL, defaultConfig: { enableWaveformIcon: false, enableHighlight: false }, treatments: null };
|
2026-07-29 08:29:29 +00:00
|
|
|
const items = [{ id: 1, label: "Both waveform and highlight", config: { enableWaveformIcon: true, enableHighlight: true } }, { id: 2, label: "Waveform icon only", config: { enableWaveformIcon: true, enableHighlight: false } }];
|
2026-09-10 05:38:07 +00:00
|
|
|
obj.treatments = items;
|
|
|
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/channel/VoiceChannelHoistingExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const VoiceChannelHoistingExperiment = experiment;
|
|
|
|
|
export const useVoiceChannelHoistingExperiment = function useVoiceChannelHoistingExperiment(guildId, location) {
|
|
|
|
|
return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false });
|
|
|
|
|
};
|