yangdx
03934b1385
fix(ui): improve pipeline status dialog layout and styling
...
- Switch from AlertDialog to Dialog component for better modal behavior
- Adjust dialog positioning and alignment controls
- Remove custom close button to avoid duplication
- Add proper spacing between alignment buttons and close button
- Simplify history container height with min/max height
- Reduce overlay opacity for better visibility
2025-03-26 16:24:38 +08:00
yangdx
4adfcdc8fe
feat(accessibility): add screen reader text for pipeline status dialog
2025-03-26 14:40:54 +08:00
yangdx
af3c9f30dc
feat(PipelineStatusDialog): add responsive height adjustment with minimum height guarantee
2025-03-26 14:14:29 +08:00
yangdx
43ccb7d113
feat(DocumentManager): optimize document status monitoring
...
- Improve document status change detection by caching previous counts and properly handling null states.
- This ensures more accurate pipeline status updates.
2025-03-26 14:02:20 +08:00
yangdx
51be3fcfa5
feat(i18n): add translations for pipeline status UI
2025-03-26 12:50:33 +08:00
yangdx
d7c0b420b9
feat: add pipeline status monitoring dialog
...
- Add pipeline status API and types
- Create PipelineStatusDialog component with position control
- Unify modal overlay style across components
2025-03-26 12:05:54 +08:00
yangdx
e1d43ee831
fix: add missing t
dependency in ClearDocumentsDialog useCallback
2025-03-26 10:31:18 +08:00
yangdx
56245b2fcd
Fix reslectiton problem by efactor graph search input box handling logic
2025-03-24 21:33:42 +08:00
yangdx
a0845b37c9
Add translations for API Key Alert component
2025-03-24 17:04:31 +08:00
yangdx
f8b3f1ee48
Refactor API key alert and remove message alert component
...
- Move StatusIndicator to status directory
- Remove obsolete MessageAlert component
- Enhance ApiKeyAlert with open state control
- Improve health check logic with alert state
- Add error message display in ApiKeyAlert
2025-03-24 17:00:15 +08:00
yangdx
1a7c164e33
Adjust force-directed layout parameters for better stability
2025-03-22 15:16:07 +08:00
yangdx
79dc2cb62b
Adjust force-directed layout parameters for better stability.
...
- Reduced repulsion force to 0.01
- Minimized node oscillation
- Improved convergence behavior
2025-03-22 14:52:43 +08:00
yangdx
42a5bd3a8b
Merge branch 'main' into i18n-france-arabic
2025-03-22 00:32:13 +08:00
yangdx
dcbb6bf8cf
Add French and Arabic language support
2025-03-22 00:31:18 +08:00
yangdx
101e1c907c
Fix linting
2025-03-21 21:51:52 +08:00
yangdx
35e00f1eb2
Fix: emtpy graph not display correctly after cleaning the database
...
- Improved graph validation with detailed checks
- Added empty graph state handling
- Enhanced label fetching and refresh logic
- Tracked last successful query label
- Optimized data fetching flow
2025-03-21 19:56:45 +08:00
yangdx
2a3fafa1cc
Added dark mode styles for node property buttons
2025-03-20 11:32:41 +08:00
yangdx
b422d223e8
Fix settings popover toggle logic
2025-03-20 04:46:56 +08:00
yangdx
0122433eee
Fix linting
2025-03-20 03:47:07 +08:00
yangdx
6968cbd6d5
Adjust position and spacing of settings display
2025-03-20 03:46:38 +08:00
yangdx
c456ea2ce8
Remove API Key setting from webui
2025-03-20 03:46:26 +08:00
yangdx
5e22e034e9
Fix linting
2025-03-20 01:38:08 +08:00
yangdx
e9fc12042c
Fetch all labels and graph data again on refresh
2025-03-20 01:37:26 +08:00
yangdx
0210170ecd
Fix: graph label not set on grapview initial mount
2025-03-20 01:37:15 +08:00
yangdx
202f7befaf
Remove redundant debug log for graph labels fetching
2025-03-19 14:08:28 +08:00
yangdx
50a8b5fb6d
Refactor navigation and authentication flow, prevent mounting login page multiple times
...
- Improved protected route handling
- Enhanced direct login access detection
- Centralized navigation logic
- Optimized state reset process
- Fixed logout navigation behavior
2025-03-19 12:45:08 +08:00
yangdx
331b1194f0
Added camera rotation controls to graph panel.
2025-03-18 12:34:04 +08:00
yangdx
00e05a12b0
Adjust layout noverlap margin and grid size.
2025-03-18 11:26:39 +08:00
yangdx
2856107f46
Merge branch 'loginPage' into webui-node-expansion
2025-03-18 00:39:48 +08:00
yangdx
3efcf4684c
Added data reload button to graph labels component
2025-03-17 21:12:29 +08:00
yangdx
4ecb13d24c
Optimize layout configurations for better node arrangement.
...
- Increased margin in Noverlap layout
- Adjusted Force layout iterations
- Enhanced Noverlap settings for spacing
- Standardized maxIterations across layouts
2025-03-17 20:44:17 +08:00
yangdx
971034fbba
Optimized graph layout animation parameters, Smoothed overlapping animations
...
- Reduced animation duration to 300ms
- Decreased update interval to 200ms
- Extended auto-stop timeout to 3 seconds
2025-03-17 20:00:14 +08:00
yangdx
e03e1206c7
Remove refresh layout button and related code
2025-03-17 19:48:18 +08:00
yangdx
90c64b9f8d
Fix: Let tooltips show on top of layout tool bar
...
- Removed PopoverPrimitive.Portal wrapper
- Added z-60 to TooltipContent
2025-03-17 19:38:57 +08:00
yangdx
f231f2df7a
Enhance graph layout control with improved animations and stability
...
- Added custom animation timer for smoother transitions
- Improved Force Directed layout parameters
- Added auto-stop feature for animations
2025-03-17 15:18:33 +08:00
yangdx
f4c6b00b4b
Remove redundant sigma instance setup code in GraphViewer component
...
• Remove unused useLayoutEffect hook
2025-03-16 11:15:52 +08:00
yangdx
6f60c34d1e
Fix linting
2025-03-16 03:06:33 +08:00
yangdx
7d4390af96
Remove graphSearchTypes.ts, move OptionItem type to GraphSearch.tsx
2025-03-16 03:01:36 +08:00
yangdx
eb17a7782d
fix: Replace global searchCache with Zustand state management
2025-03-16 02:40:48 +08:00
yangdx
64dfa65455
refactor: reorder icons order in control bool bar
2025-03-15 23:45:23 +08:00
yangdx
ce6ad75b23
Simplify zoom control logic by using fixed ratio
2025-03-15 23:23:48 +08:00
yangdx
1b5c3d5676
style: Update colors and button styles in PropertiesView component
2025-03-15 22:53:38 +08:00
yangdx
55fc1914ff
Change zoom reset animation duration from 500ms to 1000ms in ZoomControl
2025-03-15 22:29:58 +08:00
yangdx
59ac94c61d
Improve graph state cleanup by fully resetting sigma instance on label change
...
• Modify reset logic to clear sigma instance
• Remove manual node deletion
• Update GraphLabels to use reset()
• Simplify state cleanup process
• Ensure complete graph refresh
2025-03-15 22:21:56 +08:00
yangdx
bfbcdcb06a
fix: improve graph zoom control and node expansion functionality
...
• Fix container padding in zoom calculation
• Extract node size update into helper fn
• Update node sizes for empty expansions
2025-03-15 20:40:22 +08:00
yangdx
4ea0b85a03
fix(graph): improve fit-to-screen calculation with proper padding and zero size check
2025-03-15 20:19:48 +08:00
yangdx
a138000f0f
Remove reduntant search engine update functions
2025-03-15 17:46:13 +08:00
yangdx
4f4d7cbd4c
Fix empty graph check problem of graph view load
2025-03-15 16:01:03 +08:00
yangdx
1d4b0242e8
Fix linting
2025-03-15 14:47:21 +08:00
yangdx
c5362d90e8
feat: Improve graph zoom reset to fit all nodes with proper scaling
...
- Add smarter node boundary calculation
- Include padding around graph nodes
- Calculate optimal scale ratio
- Add error handling and null checks
- Animate transition to new zoom level
2025-03-15 14:34:14 +08:00