Commit Graph

348 Commits

Author SHA1 Message Date
yangdx
5ce334d807 Fix tooltips missing for editable properties 2025-04-14 14:47:30 +08:00
yangdx
9037607cc0 Fix i18n translation alignment 2025-04-14 13:25:54 +08:00
yangdx
85a9462650 Enhanced textarea configuration in property editor
- Added dynamic textarea sizing configuration
- Special handling for description field
- Improved resizing behavior
2025-04-14 13:01:34 +08:00
yangdx
414264f25e Use DialogDescription component for description
- Remove aria-describedby attribute
2025-04-14 12:45:42 +08:00
yangdx
40240bc79e Merge branch 'edit-node' into add-graph-db-lock 2025-04-14 12:07:47 +08:00
choizhang
88947c7ece refactor(graph): Refactoring the attribute line component to extract common logic into a separate file 2025-04-14 10:13:54 +08:00
yangdx
b18bf10353 Merge branch 'edit-node' into add-graph-db-lock 2025-04-14 03:39:57 +08:00
choizhang
5b1938e5b3 feat(webui): Add attribute editing dialog box and optimize editable attribute row component 2025-04-13 23:32:35 +08:00
yangdx
6b2fd9218b Merge branch 'feat/i18n-TW' 2025-04-13 16:48:17 +08:00
choizhang
4900cf07d9 Merge branch 'main' into edit-node 2025-04-13 11:51:55 +08:00
choizhang
53f18b6c84 bugfix 2025-04-13 11:48:55 +08:00
choizhang
830b69fd89 refactor(graph): Refactoring the EditablePeopleRow component 2025-04-13 11:13:23 +08:00
choizhang
5e5f3640d7 2025-04-13 10:50:42 +08:00
iLuJack
a72809c59a docs(locales): add traditional chinese support 2025-04-12 16:46:46 +08:00
choizhang
272b101974 feat: Add double-click editing prompt text and optimize editable attribute line style 2025-04-12 14:33:40 +08:00
choizhang
58eeacda20 refactor(graph): Refactoring node attribute update logic to improve code maintainability 2025-04-12 13:17:09 +08:00
choizhang
ea43f3537e fix(graph): Fixed the issue of incorrect handling of edges and nodes during node ID updates 2025-04-12 10:36:05 +08:00
choizhang
7e3e685763 feat(graph): Add editing function for entity and relationship attributes 2025-04-12 00:48:19 +08:00
choizhang
eb3038e55a docs(locales): Update multilingual files to include descriptions of bypass mode 2025-04-11 15:13:58 +08:00
choizhang
a12d60e4ea feat: Add query mode 'bypass' to bypass knowledge retrieval and directly use LLM 2025-04-11 02:57:34 +08:00
yangdx
2b51ea7480 Merge branch 'fix-history-turns' 2025-04-11 00:45:37 +08:00
yangdx
1541b7b486 Fix linting 2025-04-11 00:31:14 +08:00
choizhang
10513d7ca5 fix(RetrievalTesting): auto scrollToBottom 2025-04-11 00:31:14 +08:00
choizhang
a524520b80 refactor(lightrag): use fetch replace axios 2025-04-11 00:31:14 +08:00
yangdx
6c213dd1da Change font size of pipeline status message 2025-04-10 17:55:37 +08:00
choizhang
6009c25886 fix(RetrievalTesting): Limit the length of conversation history records 2025-04-10 17:02:28 +08:00
yangdx
67fafedf64 Fix document list sorting problem while filter is off 2025-04-09 23:35:53 +08:00
yangdx
2e3e1fedcc Add middle-content matching for GraphViewer 2025-04-09 18:36:54 +08:00
yangdx
6e162ec297 Add fallback support for translation missing 2025-04-08 14:59:20 +08:00
yangdx
37b73d6850 Update i18n translation 2025-04-08 14:57:48 +08:00
yangdx
648a024af2 Add node types 2025-04-08 13:38:06 +08:00
yangdx
2b21e95d09 Add i18n translation 2025-04-08 13:17:12 +08:00
yangdx
b645eaad9f Add i18n translation 2025-04-08 13:14:17 +08:00
yangdx
11392fc20f Udate node types 2025-04-08 13:09:25 +08:00
yangdx
6401b88ab4 Modify legend box hight 2025-04-08 13:02:28 +08:00
yangdx
389abfe7e5 Update color 2025-04-08 12:46:23 +08:00
yangdx
f87dfd2067 Map node type to fix color 2025-04-08 12:41:33 +08:00
yangdx
1af97bbead Optimize node color 2025-04-08 12:41:33 +08:00
yangdx
36ac95720f Update webui assets 2025-04-07 22:15:00 +08:00
yangdx
2731634ba4 Fix graph label drop down list position problem 2025-04-07 22:12:58 +08:00
yangdx
6a0909ea32 Fix i18n direction problem 2025-04-07 20:24:51 +08:00
yangdx
09719bb9cf Fix Safari popover problem 2025-04-07 20:09:43 +08:00
yangdx
56865816f1 Fix linting 2025-04-07 06:20:48 +08:00
yangdx
1d5c6570ea fix: add null checks in FileUploader to prevent split() on undefined
- Add validation for file.name existence before accessing split() method
- Ensure extensions array exists before calling includes() method
- Add similar checks in onDrop file filtering logic
- Fix TypeError that occurred when processing files with missing properties
2025-04-07 06:19:28 +08:00
yangdx
d2efc80fad fix: prevent promise errors in async operations after component unmount
This commit addresses the "Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received" error that occurs when async operations attempt to update state after component unmount.

Changes:

- Add component mount status tracking with useRef in App.tsx and DocumentManager.tsx
- Implement beforeunload event listeners to handle page reload scenarios
- Add mount status checks before and after async operations
- Add try-catch blocks to properly handle errors in async operations
- Ensure state updates only occur when components are still mounted
- Prevent health check and document polling from causing errors during unmount
2025-04-07 06:04:18 +08:00
yangdx
f33ff7f2c2 Fix linting 2025-04-07 05:23:28 +08:00
yangdx
7d63cfb87a Fix confusing i18n translation 2025-04-07 05:22:59 +08:00
yangdx
46ffb6afa4 fix: improve form accessibility with proper label associations
Added missing htmlFor attributes to labels and corresponding IDs to form elements throughout the web UI to enhance accessibility. This ensures screen readers can correctly identify form controls and improves browser autofill functionality. Changes include:

- Fixed label associations in login form
- Added proper IDs to form elements in Settings component
- Replaced decorative labels with semantic headings in PropertiesView
- Added screen reader accessible labels in RetrievalTesting
- Improved checkbox accessibility in QuerySettings
2025-04-07 05:20:12 +08:00
yangdx
01fc513621 refactor(login): update input field IDs to be more specific
Changed username/password input IDs from generic 'username'/'password' to more explicit 'username-input'/'password-input' and updated corresponding label htmlFor attributes for better clarity and consistency.
2025-04-07 05:00:42 +08:00
yangdx
74d015fdba Add description to status dialog 2025-04-07 04:13:40 +08:00