Commit graph

248 commits

Author SHA1 Message Date
hzywhite
e07d4bb70b merge 2025-09-05 15:04:04 +08:00
hzywhite
2a453fbe37 webui 2025-09-04 11:24:06 +08:00
hzywhite
d8b2264d8b summary 2025-09-02 03:54:20 +08:00
yangdx
d5e8f1e860 Update default query parameters for better performance
- Increase chunk_top_k from 10 to 20
- Reduce max_entity_tokens to 6000
- Reduce max_relation_tokens to 8000
- Update web UI default values
- Fix max_total_tokens to 30000
2025-08-18 19:32:11 +08:00
yangdx
1af0803c62 fix(ui): fix selection state management in paginated views
- Replace DeselectDocumentsDialog with smart selection button
- Auto-reset selection on page/filter changes
- Remove deletion restrictions and update i18n
2025-08-17 10:38:12 +08:00
yangdx
bd8ed905e8 Translate Chinese comments to English in ClearDocumentsDialog 2025-08-17 01:53:37 +08:00
yangdx
e064534941 feat(ui): enhance ClearDocumentsDialog with loading spinner and timeout protection
- Add loading spinner animation during document clearing operation
- Implement 30-second timeout protection to prevent hanging operations
- Disable all interactive controls during clearing to prevent duplicate requests
- Add comprehensive error handling with automatic state reset
2025-08-17 01:33:39 +08:00
yangdx
317d233486 Improve select dropdown styling in query settings 2025-07-31 23:52:44 +08:00
yangdx
a59f8e7ceb Add reset buttons to query settings controls
- Add reset functionality for all settings
- Include default values for each setting
2025-07-31 12:29:26 +08:00
yangdx
755a08edec Remove History Turns config option and force value to 0
- Remove History Turns UI component from QuerySettings
- Update settings store version to 17 with migration
- Force history_turns parameter to always be 0 in queries
- Prevent future modifications to history_turns setting
2025-07-31 11:22:48 +08:00
yangdx
74eecc46e5 feat(pagination): Implement document list pagination backends and frontend UI
- Add pagination support to BaseDocStatusStorage interface and all implementations (PostgreSQL, MongoDB, Redis, JSON)
- Implement RESTful API endpoints for paginated document queries and status counts
- Create reusable pagination UI components with internationalization support
- Optimize performance with database-level pagination and efficient in-memory processing
- Maintain backward compatibility while adding configurable page sizes (10-200 items)
2025-07-30 17:58:32 +08:00
yangdx
84b09aa5da feat: add threshold status line to StatusCard with i18n support
- Add cosine_threshold, min_rerank_score, related_chunk_number to LightragStatus type
2025-07-28 02:51:36 +08:00
yangdx
5aceca0052 feat(webui): enhance status card with new health endpoint data
- Update StatusCard to display consolidated server info with parallel insert limits and summary settings
- Merge LLM and embedding configurations with async parameters for cleaner display
- Add new status fields to TypeScript interface (summary_language, max_parallel_insert, etc.)
2025-07-28 02:19:27 +08:00
yangdx
a67f93acc9 Replace hardcoded max tokens with DEFAULT_MAX_TOTAL_TOKENS constant
- Use constant in process_chunks_unified
- Update WebUI default to match (32000)
2025-07-26 11:23:54 +08:00
yangdx
e54bcff85c Add suppressErrorRendering to mermaid config 2025-07-16 01:01:22 +08:00
yangdx
6d66cde4ac Reorder query settings in web UI 2025-07-15 18:06:00 +08:00
zrguo
7c882313bb remove chunk_rerank_top_k 2025-07-15 11:52:34 +08:00
zrguo
c2da2fbe12 build 2025-07-14 17:19:28 +08:00
zrguo
4e425b1b59 Revert "update from main"
This reverts commit 1d0376d6a9.
2025-07-14 16:29:00 +08:00
zrguo
1d0376d6a9 update from main 2025-07-14 16:27:49 +08:00
zrguo
c9cbd2d3e0 Merge branch 'main' into rerank 2025-07-14 16:24:29 +08:00
zrguo
ef2115d437 Update token limit 2025-07-14 15:53:48 +08:00
yangdx
fc7b0a9273 Improve query settings input experience in WebUI 2025-07-13 01:35:21 +08:00
yangdx
465757aa6a Increase status card label width and dialog size 2025-07-13 01:14:12 +08:00
yangdx
ab561196ff Feat: Added reranker config and lock status to status card of WebUI 2025-07-13 00:41:54 +08:00
yangdx
9bf048a4b1 Sync frontend with backend MAX_GRAPH_NODES
- Auto-adjust graph nodes when limit changes
- Add refresh trigger for node count changes
- Store backend limit in settings
2025-07-08 00:21:42 +08:00
yangdx
db22cad2c8 feat: add workspace and MAX_GRAPH_NODES to /health endpoint and webui 2025-07-07 01:39:48 +08:00
yangdx
bdcd55a871 Feat: Add delete upload file option to document deletion 2025-06-25 19:02:46 +08:00
yangdx
0f392dfa78 Fix linting 2025-06-25 17:09:41 +08:00
yangdx
8ea7d7ad85 Feat: Add document deletion for WebUI 2025-06-25 17:09:10 +08:00
yangdx
b7a60a5895 fix: use dynamic imports for KaTeX to resolve module initialization error
- Prevents circular dependency issues that caused "Cannot accexss 'gm' before initialization" errors when rendering LaTeX formulas.
2025-06-02 18:10:53 +08:00
yangdx
7f50a11977 feat: add LaTeX formula rendering support to ChatMessage component
- Add KaTeX dependencies (katex, rehype-katex, @types/katex)
- Configure ReactMarkdown with rehype-katex plugin
- Support both inline ($...$) and block ($$...$$) LaTeX formulas
- Add theme-aware error handling and responsive styling
2025-06-02 17:44:10 +08:00
yangdx
fd5f61f166 Enhances property edit dialog with error handling and loading states
- Displays error messages when save operations fail
- Shows loading spinner during save attempts
- Improves UX with loading state indicators
- Updates translations for save-related strings in multiple languages
2025-05-11 12:35:51 +08:00
yangdx
d914de441e Add user_prompt to WebUI 2025-05-08 04:15:21 +08:00
yangdx
a359414931 Remove CardDescription 2025-05-08 03:47:13 +08:00
yangdx
147f73002d Remove ll-keywords and hl-keywords from WebUI 2025-05-07 19:07:31 +08:00
yangdx
1509e3985e Resolve json code block freezing issue 2025-05-07 04:35:53 +08:00
yangdx
af42fc9b04 Hide created_at property on webui 2025-05-05 00:07:50 +08:00
yangdx
ec41ce5b3a Replaced Text components with standard labels associated via htmlFor/id to fix accessibility warnings. 2025-05-04 23:23:56 +08:00
yangdx
36f8787bc7 Fix linting 2025-05-01 10:04:31 +08:00
yangdx
a561be0cff Fix time zone problem of doc status 2025-05-01 02:16:19 +08:00
yangdx
936587d4dd Adjust width of chat message box from server 2025-04-29 19:19:22 +08:00
yangdx
e0d2775127 Increase the pipeline status popup width 2025-04-28 20:30:35 +08:00
yangdx
53f9ef77f9 Fix linting 2025-04-26 12:32:01 +08:00
yangdx
9792841a07 Stablize mermaid render in history messages 2025-04-26 12:30:29 +08:00
yangdx
e0d99d3c29 Postpond mermaid rendering untill streaming streaming respond stopped. 2025-04-26 10:16:13 +08:00
yangdx
dd83c1fe7e Upload file in the order of sorted file name 2025-04-25 01:14:32 +08:00
yangdx
a9dcf4d5ca Change chat message component width to 90% 2025-04-22 17:52:48 +08:00
yangdx
64f5bb0243 Add typography to webui and fix markdown render problem 2025-04-22 17:21:24 +08:00
yangdx
3ce159bf9b Fix layout problem of QuerySettings for WebUI 2025-04-22 16:16:14 +08:00