yangdx
446767ba50
feat: enhance graph refresh with dynamic tooltips and loading states
...
• Add refresh loading state with spinner
• Dynamic tooltips based on current label
• Improved refresh logic for labels
• Force dropdown re-render on refresh
• Update i18n for new tooltip messages
2025-09-20 22:46:09 +08:00
yangdx
9db8f2fce5
feat: Add popular labels and search APIs with history management
...
- Add popular/search label endpoints
- Implement SearchHistoryManager utility
- Replace client-side with server search
- Add graph data version tracking
- Update UI for better label discovery
2025-09-20 02:03:47 +08:00
yangdx
25b5d176cd
Fix label selection with leading/trailing whitespace
...
• Fix AsyncSelect value trimming issue
• Preserve whitespace in label display
• Use safe keys for command items
• Add GraphControl dependency fix
• Add debug logging for graph labels
2025-08-31 02:54:39 +08:00
yangdx
300a092132
Increase the threshold value of enabling middle content search.
2025-04-18 17:46:05 +08:00
yangdx
2e3e1fedcc
Add middle-content matching for GraphViewer
2025-04-09 18:36:54 +08:00
yangdx
2731634ba4
Fix graph label drop down list position problem
2025-04-07 22:12:58 +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
9969bf102d
Fix linting
2025-04-05 06:18:59 +08:00
yangdx
5d80c69855
Add label validation in GraphLabels component
...
- Validate queryLabel against available labels
- Reset to default if label not found
- Log warning when resetting label
2025-04-05 04:39:42 +08:00
yangdx
101e1c907c
Fix linting
2025-03-21 21:51:52 +08:00
yangdx
35e00f1eb2
Fix: emtpy graph not display correctly after cleaning the database
...
- Improved graph validation with detailed checks
- Added empty graph state handling
- Enhanced label fetching and refresh logic
- Tracked last successful query label
- Optimized data fetching flow
2025-03-21 19:56:45 +08:00
yangdx
5e22e034e9
Fix linting
2025-03-20 01:38:08 +08:00
yangdx
e9fc12042c
Fetch all labels and graph data again on refresh
2025-03-20 01:37:26 +08:00
yangdx
0210170ecd
Fix: graph label not set on grapview initial mount
2025-03-20 01:37:15 +08:00
yangdx
202f7befaf
Remove redundant debug log for graph labels fetching
2025-03-19 14:08:28 +08:00
yangdx
3efcf4684c
Added data reload button to graph labels component
2025-03-17 21:12:29 +08:00
yangdx
7d4390af96
Remove graphSearchTypes.ts, move OptionItem type to GraphSearch.tsx
2025-03-16 03:01:36 +08:00
yangdx
59ac94c61d
Improve graph state cleanup by fully resetting sigma instance on label change
...
• Modify reset logic to clear sigma instance
• Remove manual node deletion
• Update GraphLabels to use reset()
• Simplify state cleanup process
• Ensure complete graph refresh
2025-03-15 22:21:56 +08:00
yangdx
496a208bf9
Update comment translations to English
2025-03-14 01:00:40 +08:00
yangdx
55d796c669
Fix linting
2025-03-14 00:03:45 +08:00
yangdx
b4d3da3b39
Optimize graph state management & performance for tab switching visibility
...
• Reset graph data without recreating instance
• Fix search result caching on graph updates
2025-03-13 21:56:31 +08:00
yangdx
e30162e50a
Minimized API request between Tab view change
2025-03-13 19:50:37 +08:00
yangdx
c1e931b9f2
Fix linting
2025-03-13 01:49:50 +08:00
yangdx
727b137506
Limit the search scope to labels in the current subgraph
...
- Decouple datasource label selection from the search input field
- Improve label selection handling logic
2025-03-13 00:20:53 +08:00
yangdx
8388647bf6
Optimize dependency arrays in graph components
...
- Add `t` to `GraphLabels` dependency array
- Add `isFetching` to `useLightragGraph` dependencies
2025-03-12 19:06:47 +08:00
yangdx
330f608fa9
Fix linting
2025-03-12 18:55:15 +08:00
yangdx
215dd76a46
Fix duplicate api requuests for graph fetching
...
- Optimize graph data fetching conditions
- Add isFetching state to prevent duplicate requests
- Improve label selection handling
2025-03-12 18:53:28 +08:00
yangdx
32d54dc297
Merge branch 'main' into improve-property-tooltip
2025-03-12 13:25:02 +08:00
yangdx
ee0700d288
Ensure seamless toggling between selected labels and the complete graph
2025-03-12 08:52:28 +08:00
yangdx
b9e22ef64d
Refactor graph label handling to extract labels directly from graph data
...
- Remove redundant label caching logic
- Add graphLabels state to graph store
2025-03-12 07:15:54 +08:00
yangdx
0e234beaf5
Always fetch data for "*" label
2025-03-12 05:44:27 +08:00
baoheping
59a2202e7c
Added Minimum Degree
2025-03-08 11:01:10 +00:00
ArnoChen
40a1a94a31
add graph depth and layout iteration settings
2025-02-25 18:32:53 +08:00
ArnoChen
c5f380986d
implement API key alert
2025-02-17 01:59:36 +08:00