Commit Graph

191 Commits

Author SHA1 Message Date
yangdx
9c81963908 Optimize server setting dialogue 2025-04-04 04:35:57 +08:00
choizhang
81355481c1 feat: Add legend components and toggle buttons 2025-04-03 22:42:13 +08:00
yangdx
8f46ce75b8 Update i18n translation 2025-04-02 23:55:28 +08:00
yangdx
76351590b2 Update UI component styling in dark mode 2025-04-02 23:45:14 +08:00
yangdx
f9f588aa16 Feat: add reset button to the right of input box 2025-04-02 23:40:16 +08:00
yangdx
7b1c946069 Update i18n translation 2025-04-02 23:28:58 +08:00
yangdx
1a1f934e27 Feat: replace min_degree with max_nodes in webui 2025-04-02 18:35:32 +08:00
yangdx
002738b197 Preventing document list reload from blocking dialogs to close faster
- Changed document refresh operations to execute asynchronously, no longer blocking UI response
- Added proper error handling to ensure refresh failures don't affect user experience
- Removed redundant health check calls as the document manager already includes state update logic
2025-04-01 16:26:41 +08:00
yangdx
4bb22046e0 Improve toast notifications and document clearing flow
- Enhanced Toaster component with theme, close button and rich colors
    - Added immediate feedback for document clearing operation
2025-04-01 15:44:36 +08:00
yangdx
4372024ad6 feat(ui): Add document list refresh to UploadDocumentsDialog
- Add callback pattern for document list refresh after upload
- Implement conditional refresh based on upload success
- Ensure backend state is updated after successful uploads
2025-04-01 14:55:27 +08:00
yangdx
0d93ed2f2c feat(ui): Improve document list refresh mechanism in ClearDocumentsDialog
- Replace direct API call with callback pattern for document list refresh
- Ensure document list updates regardless of operation success/failure
- Improve component decoupling between ClearDocumentsDialog and DocumentManager
2025-04-01 14:46:52 +08:00
yangdx
e83f6c0c63 Fix lingting 2025-04-01 13:32:05 +08:00
yangdx
4c9c600472 Refactoring clear document UI 2025-04-01 13:31:14 +08:00
choizhang
cd3817ce30 feat (graph settings): Add edge thickness range configuration function 2025-04-01 00:36:32 +08:00
yangdx
adb4ca9294 Fix linting 2025-03-28 16:49:35 +08:00
yangdx
35d4503677 Feat: add duplicate file check 2025-03-28 16:48:46 +08:00
yangdx
5e06d01de4 UI adaptation for dark mode 2025-03-28 14:36:55 +08:00
yangdx
34c92e1045 Feat: improve file upload error handling for unspported files 2025-03-28 14:16:53 +08:00
yangdx
c9ee13c7a1 Fix linting 2025-03-26 20:37:58 +08:00
yangdx
b82e4825e9 Add i18n translation for upload module 2025-03-26 20:33:56 +08:00
yangdx
b804d74d34 feat(upload): improve file upload progress and error handling
- Add persistent progress bars and error states
- Remove individual file toasts in favor of batch status
- Keep dialog open until manual close
- Move Progress component inline to reduce dependencies
2025-03-26 20:06:14 +08:00
yangdx
53b6b95e9e Fix linting 2025-03-26 19:52:20 +08:00
yangdx
b2963b8a9c Add unit to progress indicator on pipeline status dialog 2025-03-26 18:59:50 +08:00
yangdx
208ee8b577 Revert AlerDialog implementation 2025-03-26 18:22:18 +08:00
yangdx
fb262e0f4a Improve empty history message handling 2025-03-26 17:40:06 +08:00
yangdx
46f5c5b47f Fix linting 2025-03-26 17:30:06 +08:00
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