Files
archy/neode-ui/src/composables/useCompanionIntro.ts
T

14 lines
437 B
TypeScript
Raw Normal View History

2026-08-12 10:55:49 +00:00
import { ref } from 'vue'
/**
* Cross-view trigger for the Remote Companion intro/pairing modal
* (CompanionIntroOverlay, mounted once in Dashboard.vue). Views like the
* App Store banner call openCompanionIntro() to pop it on demand — this
* bypasses the once-per-browser auto-show gate.
*/
export const companionIntroRequested = ref(false)
export function openCompanionIntro(): void {
companionIntroRequested.value = true
}