Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… guard Addresses code review feedback: - handleSealosLogin is now a module-level function with explicit parameters, removing the need for eslint-disable-line react-hooks/exhaustive-deps - .catch() at call site ensures unexpected errors surface as error state instead of silent unhandled promise rejections Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ials Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace stub fetchDatabases, fetchSchemas, and fetchTables functions with real GraphQL queries using useGetDatabaseLazyQuery, useGetSchemaLazyQuery, and useGetStorageUnitsLazyQuery. Adds switchDatabase calls when querying a database different from the currently active one. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace REST-based fetchData() with GraphQL lazy query, building SortCondition/WhereCondition from component state and transforming the result via transformRowsResult. Type data state as TableData. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace REST fetch() calls in handleSave, handleConfirmDelete, and
handleSaveNewRow with useUpdateStorageUnitMutation, useDeleteRowMutation,
and useAddRowMutation hooks respectively. No fetch('/api/') calls remain
in TableDetailView.tsx.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
defaultOptions.query only applies to client.query(), not useLazyQuery(). Add watchQuery to defaultOptions and explicit fetchPolicy on critical hooks. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…arch + add-row - Replace reactive useEffect with imperative handleSubmitRequest + race protection - Hide add/edit/delete buttons when DisableUpdate=true (views, system tables) - Use columnsRef for search parsing so search works during data transitions - Add isNoSQL() helper and MongoDB JSON document mode for add-row - Filter add-row form by visible columns to match table display Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move components/, contexts/, data/, lib/, stores/, and types/ from the project root into src/ for a consistent directory structure. Update the @ path alias to point to src/ and simplify tsconfig includes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nStore Removes all React Context providers. State management is now fully on Zustand (4 stores: auth, connection, tab, analysis). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…chDatabase calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…er-request context Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Update ActivityBar layout (80px wide, 64px tab tiles with visible labels), active state (bg-input), icon size (24px), and rename tabs to Workbench/Dashboard (工作台/仪表盘). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Schema nodes now show Tables and Views as separate expandable folders instead of a flat mixed list. Adds table_folder/view_folder node types, context menus, icons, and cascading refresh logic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove DataView.Header from all detail views (Table, Collection, Redis) to match Figma design. Flatten card-in-card wrappers, add border and padding to TabContent container, and restyle TabBar with new query button. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove bg-sidebar from inactive tabs and ScrollArea, re-add Database icon import for empty state in TabContent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Align column chip styling, condition row layout, empty state pattern, and dialog width (max-w-2xl) for a consistent filter experience. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Title: text-xl font-medium with dedicated i18n key (数据库连接) - Sidebar background: bg-sidebar with border-sidebar-border - Unified tree node styles: consistent selected/hover states, icon sizes, chevron alignment - Adjusted spacing: header padding, tree indentation (24px/level), compact layout - Icons: Folder, ListTree replacing FolderOpen, LayoutGrid Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace inline SearchInput with a compound FindBar component that provides client-side find-in-visible-data with match highlighting, navigation (up/down arrows, Enter/Shift+Enter), ⌘F/Ctrl+F focus, and auto-scroll to the current match. Applied to SQL and MongoDB views. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… width Move DashboardSidebar from analysis/sidebar/ to components/dashboard-sidebar/ so it sits at the same level as the connections sidebar. Both sidebars now share the same resizable container and drag handle in MainLayout. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update widget to use accent background with centered drag handle, vertical menu button, and bottom-right maximize icon. Remove wrapping card container from editor canvas for a flatter layout. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…x hardcoded colors, remove dead code Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Split SQL on semicolons (respecting strings, backticks, comments), execute each statement sequentially, and show per-statement results. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ypes Add splitRedisCommands() for newline-based splitting, replace any[] with StatementResult interface, remove dead affectedRows rendering and unused PenTool import. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… handle Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use useRef instead of useState for resize state, register listeners once on mount, and match the sidebar's minimal handle styling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.