Commit Graph

231 Commits

Author SHA1 Message Date
yangdx
34c92e1045 Feat: improve file upload error handling for unspported files 2025-03-28 14:16:53 +08:00
yangdx
8cd7d418dc Fix: tooltip flickering problem 2025-03-28 12:03:30 +08:00
yangdx
6a85a97f93 Update i18n translation 2025-03-27 17:23:20 +08:00
yangdx
f182cf4a09 Fix liting 2025-03-27 16:55:15 +08:00
yangdx
441d1b8ced Optime tooltips display 2025-03-27 16:50:27 +08:00
yangdx
4fae0fa54e Optimed table header 2025-03-27 15:38:57 +08:00
yangdx
73e5916f99 Fix linting 2025-03-27 13:38:36 +08:00
yangdx
fa5d39d8a2 feat: add sortable columns to document manager
- Add sorting capability for ID, created_at and updated_at columns
- Implement ascending/descending sort with visual indicators
- Handle special case for filename sorting in ID column
- Add hover effects on sortable column headers
2025-03-27 13:37:50 +08:00
yangdx
d149fd1bae Optimize tooltips and layout 2025-03-27 11:11:59 +08:00
yangdx
3f52c7985f Optimize collum width 2025-03-27 10:45:28 +08:00
yangdx
1cae6d77e7 Optimize tooltips 2025-03-27 10:41:21 +08:00
yangdx
92f68024ef Fix linting 2025-03-27 08:37:43 +08:00
yangdx
9eed63bd6f Improve tooltips display for small table list 2025-03-27 08:37:09 +08:00
yangdx
1657812ab6 set min height for document table 2025-03-27 02:40:22 +08:00
yangdx
05ee11901e Fix linting 2025-03-27 02:21:25 +08:00
yangdx
837536191c Refactor doc list layout to fix table head from scrolling out 2025-03-27 02:21:02 +08:00
yangdx
d8a4657dd4 adjust document manager layout spacing
- Reduce vertical spacing between card content items
- Remove padding bottom from card header
- Hide document manager description text
2025-03-27 00:11:46 +08:00
yangdx
e7f68f7b77 fixed the Tooltip positioning issue:
- Changed all Tooltip position styles from fixed to absolute
- Maintained the position: relative on parent elements (already present in the group relative class)
2025-03-26 23:49:14 +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
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