feat: enhance query view with fullscreen toggle and details management

- Added fullscreen toggle functionality to the QueryView component.
- Introduced new icons for maximizing and minimizing the view.
- Updated the QueryView component to handle details display with tab management.
- Refactored the store to manage details data and active tabs.
- Improved the handling of view data in the studio, including filtering unnecessary fields.
- Created new routes for ID and console views, integrating them into the routing structure.
- Added dynamic basename calculation based on the current URL path.
- Enhanced the query module to utilize context keys for better state management.
- Updated the UI components for better user experience and accessibility.
This commit is contained in:
2026-02-19 00:21:56 +08:00
parent 94047cd45f
commit eafe815d8f
21 changed files with 1026 additions and 290 deletions

View File

@@ -14,8 +14,8 @@
],
"dependencies": {
"@base-ui/react": "^1.2.0",
"@kevisual/router": "0.0.75",
"@tanstack/react-router": "^1.160.2",
"@kevisual/router": "0.0.80",
"@tanstack/react-router": "^1.161.1",
"@tanstack/react-table": "^8.21.3",
"@uiw/react-md-editor": "^4.0.11",
"antd": "^6.3.0",
@@ -23,6 +23,7 @@
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dayjs": "^1.11.19",
"eruda": "^3.4.3",
"es-toolkit": "^1.44.0",
"fuse.js": "^7.1.0",
"idb-keyval": "^6.2.2",
@@ -35,17 +36,18 @@
"react-resizable-panels": "^4.6.4",
"sonner": "^2.0.7",
"valtio": "^2.3.0",
"zod": "^4.3.6",
"zustand": "^5.0.11"
},
"devDependencies": {
"@kevisual/api": "^0.0.51",
"@kevisual/context": "^0.0.6",
"@kevisual/api": "^0.0.52",
"@kevisual/context": "^0.0.8",
"@kevisual/js-filter": "^0.0.5",
"@kevisual/query": "^0.0.47",
"@kevisual/query": "^0.0.49",
"@kevisual/types": "^0.0.12",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-router-devtools": "^1.160.2",
"@tanstack/router-plugin": "^1.160.2",
"@tanstack/react-router-devtools": "^1.161.1",
"@tanstack/router-plugin": "^1.161.1",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",