UPD: Clean up profile manager

This commit is contained in:
Robert Kossessa
2024-01-24 01:35:52 +01:00
parent af5ef844f8
commit 4d7bd0f946
3 changed files with 18 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
<template> <template>
<div class="flex"> <div class="flex">
<Menubar class="w-full h-20 rounded-none bg-zinc-950 border-l-0"> <Menubar class="w-full h-20 rounded-none bg-zinc-950 border-l-0">
<div class="p-8"> <div class="p-2">
<h1 class="text-3xl">ZERO/ONE</h1> <h1 class="text-3xl">ZERO/ONE</h1>
<p class="text-xs text-muted-foreground">Haptic Configuration Tool</p> <p class="text-xs text-muted-foreground">Haptic Configuration Tool</p>
</div> </div>

View File

@@ -13,20 +13,18 @@
</div> </div>
</div> </div>
<Separator /> <Separator />
<Pop />
<DeviceBar /> <DeviceBar />
<SchemaTest /> <SchemaTest />
</div> </div>
</template> </template>
<script> <script>
import Pop from '@/components/old/Pop.vue'
import ScrambleReveal from '@/components/effects/ScrambleText.vue' import ScrambleReveal from '@/components/effects/ScrambleText.vue'
import { Separator } from '@/components/ui/separator/index.js'
import SchemaTest from '@/components/SchemaTest.vue' import SchemaTest from '@/components/SchemaTest.vue'
import DeviceBar from '@/components/device-gui/DeviceBar.vue' import DeviceBar from '@/components/device-gui/DeviceBar.vue'
import { Separator } from '@/components/ui/separator/index.js'
export default { export default {
name: 'ProfileManager', name: 'ProfileManager',
components: { DeviceBar: DeviceBar, SchemaTest, Separator, Pop, ScrambleText: ScrambleReveal }, components: { Separator, DeviceBar: DeviceBar, SchemaTest, ScrambleText: ScrambleReveal },
} }
</script> </script>

View File

@@ -54,24 +54,24 @@
}, },
"program_settings": { "program_settings": {
"connection_type": { "connection_type": {
"midi": "Standalone MIDI I/O",
"title": "Connection Type", "title": "Connection Type",
"usb": "USB (Virtual HID)", "usb": "USB (Virtual HID)"
"midi": "Standalone MIDI I/O"
},
"subtitle": "Operation mode and Profile Naming",
"title": "Program Settings",
"profile_properties": {
"title": "Profile Properties",
"program_name": "Program Name",
"program_description": "Program Description",
"show_description": "Show Description in GUI"
}, },
"internal_profile_toggle": { "internal_profile_toggle": {
"title": "Internal Profile Toggle", "operation": "Operation",
"subtitle": "Hardcoded macro that allows you to quickly toggle between stored profiles , comes handy if you want to operate device in Standalone mode.", "subtitle": "Hardcoded macro that allows you to quickly toggle between stored profiles , comes handy if you want to operate device in Standalone mode.",
"warning": "Warning: Overrides software defined macro if combination is the same", "title": "Internal Profile Toggle",
"operation": "Operation" "warning": "Warning: Overrides software defined macro if combination is the same"
} },
"profile_properties": {
"program_description": "Program Description",
"program_name": "Program Name",
"show_description": "Show Description in GUI",
"title": "Profile Properties"
},
"subtitle": "Operation mode and Profile Naming",
"title": "Program Settings"
}, },
"title": "Configuration Options" "title": "Configuration Options"
}, },
@@ -92,6 +92,6 @@
}, },
"profiles": { "profiles": {
"subtitle": "Customize to your heart's content", "subtitle": "Customize to your heart's content",
"title": "Profiles" "title": "Device Profiles"
} }
} }