Commit Graph

323 Commits

Author SHA1 Message Date
yangdx
6c213dd1da Change font size of pipeline status message 2025-04-10 17:55:37 +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
yangdx
0261ebcf51 Fix linting 2025-04-07 01:18:18 +08:00
yangdx
ad96bed7ac Change to undirected graph 2025-04-07 01:17:44 +08:00
yangdx
fe7b5ac13b Add edge size handling for nodeexpansion 2025-04-07 01:04:45 +08:00
yangdx
f5c1ad2c92 Optimize node corlor 2025-04-07 00:27:42 +08:00
yangdx
44e7a18a77 Fix linting 2025-04-06 23:42:39 +08:00
yangdx
688be94085 Add i18n translation 2025-04-06 23:42:39 +08:00
yangdx
b94c1e406b Optimize node color 2025-04-06 23:04:45 +08:00
yangdx
9b7a8395b5 Optimize node color by pre-set colors 2025-04-06 22:01:05 +08:00
yangdx
7371516860 Add node cololr by type feature to node expansion 2025-04-06 17:07:20 +08:00
yangdx
daf4175be0 Fix * display problem on graph label box 2025-04-06 16:33:53 +08:00
yangdx
b003d613ee Add initial value display for AsyncSelect 2025-04-06 15:53:04 +08:00
yangdx
11b93f1a25 Fix linting 2025-04-06 14:57:21 +08:00
yangdx
df0594852a Set queryLabel after query on page first load 2025-04-06 14:56:55 +08:00
yangdx
cd98f5e54a Fix backendBaseUrl problem 2025-04-05 15:50:20 +08:00
yangdx
1b939493d2 Fix linting 2025-04-05 15:26:46 +08:00
yangdx
bfc28625aa Fix merge problem 2025-04-05 15:26:08 +08:00
yangdx
f200b6e161 Move legend to lower right cornner 2025-04-05 15:25:57 +08:00
yangdx
be87f27612 Fix merge conflicts 2025-04-05 15:13:42 +08:00
yangdx
9d6a3c281b Merge branch 'feat-node-color' into merge-node-color 2025-04-05 14:39:49 +08:00
yangdx
0ce765362e Add reset button for edge size 2025-04-05 13:38:28 +08:00
yangdx
f8fb882241 Limit max edge size to 10 2025-04-05 13:38:15 +08:00
yangdx
ae1e991724 Merge branch 'feat-edge-thickness' into merge-edge-thickness 2025-04-05 13:06:28 +08:00
yangdx
cc2d604782 Keep graph query label after 401 error for post-login data reload 2025-04-05 12:05:37 +08:00
yangdx
62174e6abd Fix <div> in <p> problem of webui 2025-04-05 11:02:57 +08:00
yangdx
9969bf102d Fix linting 2025-04-05 06:18:59 +08:00