2022-11-28 22:57:27 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
const featureFlags = useFeatureFlags()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-12-04 14:17:02 +00:00
|
|
|
<CommonDropdown placement="top">
|
|
|
|
<slot />
|
|
|
|
<template #popper>
|
|
|
|
<CommonDropdownItem
|
|
|
|
:checked="featureFlags.experimentalVirtualScroll"
|
|
|
|
@click="toggleFeatureFlag('experimentalVirtualScroll')"
|
|
|
|
>
|
|
|
|
{{ $t('feature_flag.virtual_scroll') }}
|
|
|
|
</CommonDropdownItem>
|
2022-12-06 11:07:17 +00:00
|
|
|
<CommonDropdownItem
|
|
|
|
:checked="featureFlags.experimentalAvatarOnAvatar"
|
|
|
|
@click="toggleFeatureFlag('experimentalAvatarOnAvatar')"
|
|
|
|
>
|
|
|
|
{{ $t('feature_flag.avatar_on_avatar') }}
|
|
|
|
</CommonDropdownItem>
|
2022-12-17 21:11:39 +00:00
|
|
|
<CommonDropdownItem
|
2022-12-17 21:28:47 +00:00
|
|
|
:checked="featureFlags.experimentalGitHubCards"
|
2022-12-17 21:11:39 +00:00
|
|
|
@click="toggleFeatureFlag('experimentalGitHubCards')"
|
|
|
|
>
|
|
|
|
{{ $t('feature_flag.github_cards') }}
|
|
|
|
</CommonDropdownItem>
|
2022-12-19 15:44:14 +00:00
|
|
|
<CommonDropdownItem
|
|
|
|
:checked="featureFlags.experimentalUserSwitcherSidebar"
|
|
|
|
@click="toggleFeatureFlag('experimentalUserSwitcherSidebar')"
|
|
|
|
>
|
|
|
|
{{ $t('feature_flag.user_switcher_sidebar') }}
|
|
|
|
</CommonDropdownItem>
|
2022-12-04 14:17:02 +00:00
|
|
|
</template>
|
|
|
|
</CommonDropdown>
|
2022-11-28 22:57:27 +00:00
|
|
|
</template>
|