Logo
Explore Help
Register Sign In
lfg2025/archy
1
0
Fork 0
You've already forked archy
Code Issues 14 Pull Requests Actions Packages Projects Releases 44 Wiki Activity
archy/neode-ui/src/stores/cli.ts

26 lines
369 B
TypeScript
Raw Normal View History

Add CLI popup and integrate with Spotlight Search for enhanced user interaction - Introduced a new CLI popup component accessible via keyboard shortcuts (Cmd+Shift+` / Ctrl+Shift+`). - Updated SpotlightSearch component to include CLI option in search results, allowing users to open the CLI directly. - Added CLI entry in helpTree for improved discoverability of the CLI feature. - Enhanced Dashboard.vue with an App Switcher for better navigation and user experience.
2026-02-18 10:26:33 +00:00
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useCLIStore = defineStore('cli', () => {
const isOpen = ref(false)
function open() {
isOpen.value = true
}
function close() {
isOpen.value = false
}
function toggle() {
isOpen.value = !isOpen.value
}
return {
isOpen,
open,
close,
toggle,
}
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 70ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API