WIP jordan

This commit is contained in:
Jordan Weingarten
2026-04-16 11:11:44 -05:00
parent ff2d7b18b5
commit 67482f6629
163 changed files with 50627 additions and 728 deletions

View File

@@ -0,0 +1,23 @@
import { useLocalStorageRef } from '~/utils/useLocalStorageRef'
import type { Ref } from 'vue'
interface SidebarFeatures {
showWorkstations: boolean
showAiTools: boolean
showLeadsHub: boolean
}
const KEY = 'policy-ui-sidebar-features-v1'
let _shared: Ref<SidebarFeatures> | null = null
export function useSidebarFeatures() {
if (!_shared) {
_shared = useLocalStorageRef<SidebarFeatures>(KEY, () => ({
showWorkstations: false,
showAiTools: false,
showLeadsHub: true,
}))
}
return _shared
}