LightRAG/lightrag_webui/src/hooks
clssck 4e58da3583 style(lightrag_webui): fix indentation, color palette, and component optimization
- Fix inconsistent indentation in App.tsx (66 → 68 chars)
- Refactor GraphControl reducer logic: cache selection/theme in refs to prevent expensive re-renders on every hover/selection change; extract nodeReducer and edgeReducer to useCallback with stable dependencies
- Improve GraphViewer performance: extract FocusSync and GraphSearchWithSelection components to prevent re-renders from unrelated store updates
- Remove unused imports (X icon, ZapIcon, i18n)
- Remove unused function parameter (storageConfig)
- Standardize dark theme colors: improve contrast and visual hierarchy (hsl values); update scrollbar colors for better visibility
- Normalize quote style: double quotes → single quotes in className attributes
- Fix form element styling: improve dark mode button hover states (gray-800/900 → gray-700/800, red-900 → red-800)
- Optimize dropdown menu colors: dark mode backgrounds (gray-900/gray-800)
- Relocate HIDDEN_COLUMNS constant to module level in TableExplorer
- Optimize RowDetailModal: move entries computation to useMemo for perf
- Fix useLightragGraph dependency array: add missing minDegree and includeOrphans dependencies
2025-11-30 20:15:27 +01:00
..
useDebounce.tsx move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
useLightragGraph.tsx style(lightrag_webui): fix indentation, color palette, and component optimization 2025-11-30 20:15:27 +01:00
useRandomGraph.tsx feat: add db_degree visibility and orphan connection UI 2025-11-29 21:08:07 +01:00
useTheme.tsx move ThemeProvider and ThemeToggle components 2025-02-17 12:35:35 +08:00