Commit Graph

205 Commits

Author SHA1 Message Date
yangdx
f7928263c0 Fix i18n translation 2025-03-26 17:29:09 +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
814f3b3308 feat: add pipeline busy status indicator with breathing effect
- Add pipeline_busy field to health check response
- Track pipeline busy state in frontend store
- Add breathing animation for pipeline status button
- Enhance dark mode visibility with stronger contrast
2025-03-26 13:11:53 +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
25db83f8e2 Update webui assets 2025-03-25 22:44:53 +08:00
yangdx
d456269718 feat: Add file name display in WebUI
Backend:
- Add file_path field to DocStatusResponse
- Update document status response creation

Frontend:
- Remove metadata column
- Improve filename display with truncation and tooltips
- Add show/hide filename toggle with proper styling
- Update translations for all supported languages"
2025-03-25 22:42:46 +08:00
yangdx
e36cc87633 Remove metadata column from DocumentManager table 2025-03-25 20:58:21 +08:00
Milin
23004546dc Merge branch 'main' 2025-03-25 15:57:14 +08:00
yangdx
82245bea1e Adjust header layout and alignment for better spacing 2025-03-24 21:48:22 +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
Milin
b868dddac5 feat(webui): Display logged-in username
- Add username display in the `SiteHeader` component.
- Update logout button text to include username.
- Add `username` field in auth state.
- Optimize token parsing logic to extract username information.
- pre-commit fix
2025-03-24 15:59:18 +08:00
yangdx
9090b6784d Merge branch 'fix-logout-display-timing' into improve-version-check 2025-03-23 03:18:24 +08:00
yangdx
a444edd9eb Added auth mode status to health check endpoint.
- Introduced auth_mode in health check response
- Updated App.tsx to handle guest mode logic
2025-03-23 02:43:44 +08:00
yangdx
d3b2cff182 Prevent login page show up when on auth is needed 2025-03-23 02:00:59 +08:00
yangdx
3609dc5b26 Improve authentication flow and navigation handling
- Replace never-resolving promise with rejection
- Remove unnecessary setTimeout in navigation
2025-03-23 01:39:43 +08:00
choizhang
9b27f32258 refactor(SiteHeader): Hide logout button in guest mode 2025-03-23 01:22:15 +08:00
yangdx
b72aa3e8ca Prevent login page show up when on auth is needed 2025-03-23 01:16:53 +08:00
yangdx
ba07ec86a5 Fix linting 2025-03-23 00:30:18 +08:00
yangdx
31c7923067 Added core and API version to health check
- Bumped API version to 1.2.2
2025-03-23 00:28:50 +08:00
yangdx
ea51ff05c1 Refactor auth and version checks for improved reliability.
- Prevent duplicate version checks in Vite dev mode
- Simplify protected route handling
- Add session flags for version tracking
2025-03-23 00:05:04 +08:00
yangdx
1a7c164e33 Adjust force-directed layout parameters for better stability 2025-03-22 15:16:07 +08:00
yangdx
fe72b9d65d Updated relationships label in locale files. 2025-03-22 15:07:46 +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
2ed5cdce5e Update the node size of the expanded node 2025-03-22 14:49:04 +08:00
yangdx
ebd73a54b9 Fix node size calculation bugs 2025-03-22 12:39:16 +08:00
yangdx
613c06c52b Fix max dgree calculation error in node expansion 2025-03-22 12:09:33 +08:00
yangdx
86709a5e8e Update webui assets 2025-03-22 11:40:52 +08:00
yangdx
133bc40735 Improve node size calculation logic for node expansion to prevent oversized 2025-03-22 11:39:46 +08:00
yangdx
2fd38381c0 Simplify log message for graph query 2025-03-22 11:29:04 +08:00
yangdx
acd3fd9fa0 Fix linting 2025-03-22 03:41:52 +08:00
yangdx
a461ccebe3 Fix version display problem when server does not require auth 2025-03-22 03:41:06 +08:00
yangdx
0df0ba269d Implemented version display in SiteHeader of webui
- Updated API version to 1.2.0
- Stored versions in localStorage
2025-03-22 01:51:39 +08:00
yangdx
b21c32645d Added "emptyGraph" translation for Arabic and French. 2025-03-22 00:35: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
a5aa3da3bc Handle empty graph data and add empty graph hints
- Add empty data handling flag
- Display "Graph Is Empty" node
2025-03-21 21:49:36 +08:00
Saifeddine ALOUI
3f8043ba43 Merge branch 'HKUDS:main' into main 2025-03-21 14:20:51 +01: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
8742ec3625 Refactor ProtectedRoute component to properly handle navigation in React lifecycle 2025-03-20 12:41:02 +08:00
yangdx
08ae9c5825 Fix graph data reloading problem after login token expired 2025-03-20 12:29:22 +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