yangdx
e86fda5894
Optimize document sorting with useCallback
...
- Memoize sortDocuments function
- Add dependencies to useCallback
- Improve performance
2025-04-04 14:49:47 +08:00
yangdx
4aeb562aa9
Enhanced status filter button styling
...
- Added active state styles for all buttons
- Improved visual feedback for selected filters
2025-04-04 14:48:51 +08:00
yangdx
ce0b8045f4
Merge branch 'feat-document-filter'
2025-04-04 14:11:41 +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
66d0b0322d
Optimize layout
2025-03-29 01:55:46 +08:00
yangdx
0d315be8e6
Optima document TAB layout
2025-03-29 01:52:18 +08:00
yangdx
8cd7d418dc
Fix: tooltip flickering problem
2025-03-28 12:03:30 +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
46f5c5b47f
Fix linting
2025-03-26 17:30:06 +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
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
yangdx
bb7074d793
Fix: disabel document fecting in backup
...
- Replace useTabVisibility with useSettingsStore
- Remove unused initialLoadRef
- Simplify document fetching logic
2025-03-19 21:37:12 +08:00
yangdx
c42f08c0e6
Add navigation service for centralized login redirect routing
...
- Simplify token validation logic in API
- Update axios interceptor to use navigation service
2025-03-18 19:45:43 +08:00
yangdx
55d796c669
Fix linting
2025-03-14 00:03:45 +08:00
yangdx
e30162e50a
Minimized API request between Tab view change
2025-03-13 19:50:37 +08:00
yangdx
3b6fabca0e
Added tab visibility context and provider for dynamic tab management
...
- Introduced TabVisibilityProvider component
- Created TabContent for conditional rendering
- Added context and hooks for tab visibility
- Updated DocumentManager dependencies
- Integrated provider in App component
2025-03-13 15:15:42 +08:00
baoheping
59a2202e7c
Added Minimum Degree
2025-03-08 11:01:10 +00:00
ArnoChen
e083ebb95a
improve streaming error handling
2025-02-18 00:30:51 +08:00
ArnoChen
c2a7079392
finish document manager
2025-02-17 01:05:31 +08:00
ArnoChen
fc3ca2777f
add query settings
2025-02-16 21:43:14 +08:00
ArnoChen
d1358c30f3
enhance web UI with retrieval testing and UI improvements
2025-02-16 04:34:22 +08:00
ArnoChen
1fe456666a
add document manager and site heaer
...
clean
format
2025-02-15 23:29:30 +08:00