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