feat: Enhance hotkeys app with customizable settings and modal support

- Added a modal component for user input in settings.
- Implemented drag-and-drop functionality for customizing hotkeys.
- Integrated toast notifications for user feedback on actions.
- Updated store to manage customizable items and namespaces.
- Enhanced the refresh button to fetch items with a refresh option.
- Improved settings button to open settings in a new tab.
- Added caching mechanisms for hotkeys data.
- Created a settings page to manage hotkeys and namespaces.
- Updated query module to handle configuration retrieval.
This commit is contained in:
2025-12-18 20:56:41 +08:00
parent 42c8b2002e
commit c8f643817c
10 changed files with 2032 additions and 600 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/hot-api",
"version": "0.0.3",
"version": "0.0.4",
"description": "",
"main": "index.js",
"basename": "/root/hot-api",
@@ -8,11 +8,11 @@
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"pub": "envision deploy ./dist -k hot-api -v 0.0.3 -u -y y",
"pub:docs": "envision deploy ./dist -k hot-api-docs -v 0.0.3 -u",
"pub": "envision deploy ./dist -k hot-api -v 0.0.4 -u -y y",
"pub:docs": "envision deploy ./dist -k hot-api-docs -v 0.0.4 -u",
"slide:dev": "slidev --open slides/index.md",
"slide:build": "slidev build slides/index.md --base /root/hot-api-slide/",
"slide:pub": "envision deploy ./slides/dist -k hot-api-slide -v 0.0.3 -u",
"slide:pub": "envision deploy ./slides/dist -k hot-api-slide -v 0.0.4 -u",
"ui": "pnpm dlx shadcn@latest add "
},
"keywords": [],
@@ -20,31 +20,39 @@
"license": "MIT",
"type": "module",
"dependencies": {
"@astrojs/mdx": "^4.3.12",
"@astrojs/mdx": "^4.3.13",
"@astrojs/react": "^4.4.2",
"@astrojs/sitemap": "^3.6.0",
"@astrojs/vue": "^5.1.3",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@kevisual/app": "^0.0.2",
"@kevisual/cache": "^0.0.3",
"@kevisual/context": "^0.0.4",
"@kevisual/query": "^0.0.31",
"@kevisual/noco": "^0.0.10",
"@kevisual/query": "^0.0.32",
"@kevisual/query-login": "^0.0.7",
"@kevisual/registry": "^0.0.1",
"@radix-ui/react-slot": "^1.2.4",
"@tailwindcss/vite": "^4.1.17",
"@tailwindcss/vite": "^4.1.18",
"@uiw/react-md-editor": "^4.0.11",
"antd": "^6.0.1",
"astro": "^5.16.4",
"antd": "^6.1.1",
"astro": "^5.16.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
"es-toolkit": "^1.42.0",
"es-toolkit": "^1.43.0",
"github-markdown-css": "^5.8.1",
"highlight.js": "^11.11.1",
"lucide-react": "^0.556.0",
"lucide-react": "^0.561.0",
"marked": "^17.0.1",
"marked-highlight": "^2.2.3",
"nanoid": "^5.1.6",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react": "^19.2.3",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^19.2.3",
"react-toastify": "^11.0.5",
"tailwind-merge": "^3.4.0",
"vue": "^3.5.25",
@@ -58,10 +66,10 @@
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"dotenv": "^17.2.3",
"tailwindcss": "^4.1.17",
"tailwindcss": "^4.1.18",
"tw-animate-css": "^1.4.0"
},
"packageManager": "pnpm@10.24.0",
"packageManager": "pnpm@10.26.0",
"onlyBuiltDependencies": [
"@tailwindcss/oxide",
"esbuild",