mirror of
https://github.com/unraid/api.git
synced 2026-01-03 23:19:54 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced an interactive server selector that lets users toggle between different server modes (e.g., Default and OEM Activation) via a dropdown. - Integrated reactive state management across key pages, ensuring dynamic UI updates. - Added new popover components for enhanced UI interactions. - Introduced a settings interface for developers, allowing access to server selection within a popover. - **Bug Fixes** - Restored functionality for the downgrade feature that was previously removed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1209127325997642
30 lines
622 B
Vue
30 lines
622 B
Vue
<script lang="ts" setup>
|
|
import {
|
|
Popover,
|
|
PopoverContent,
|
|
PopoverTrigger,
|
|
Button,
|
|
} from '@unraid/ui';
|
|
|
|
import { CogIcon } from '@heroicons/vue/24/solid';
|
|
</script>
|
|
|
|
<template>
|
|
<Popover>
|
|
<PopoverTrigger as-child>
|
|
<Button type="button" size="icon" class="fixed bottom-4 right-4 rounded-full bg-teal-500 z-50"><CogIcon class="size-6" /></Button>
|
|
</PopoverTrigger>
|
|
<PopoverContent>
|
|
<DummyServerSwitcher />
|
|
</PopoverContent>
|
|
</Popover>
|
|
|
|
|
|
</template>
|
|
|
|
<style lang="postcss">
|
|
/* Import unraid-ui globals first */
|
|
@import '@unraid/ui/styles';
|
|
@import '../assets/main.css';
|
|
</style>
|