yangdx
82245bea1e
Adjust header layout and alignment for better spacing
2025-03-24 21:48:22 +08:00
yangdx
56245b2fcd
Fix reslectiton problem by efactor graph search input box handling logic
2025-03-24 21:33:42 +08:00
yangdx
a0845b37c9
Add translations for API Key Alert component
2025-03-24 17:04:31 +08:00
yangdx
f8b3f1ee48
Refactor API key alert and remove message alert component
...
- Move StatusIndicator to status directory
- Remove obsolete MessageAlert component
- Enhance ApiKeyAlert with open state control
- Improve health check logic with alert state
- Add error message display in ApiKeyAlert
2025-03-24 17:00:15 +08:00
yangdx
9090b6784d
Merge branch 'fix-logout-display-timing' into improve-version-check
2025-03-23 03:18:24 +08:00
yangdx
a444edd9eb
Added auth mode status to health check endpoint.
...
- Introduced auth_mode in health check response
- Updated App.tsx to handle guest mode logic
2025-03-23 02:43:44 +08:00
yangdx
d3b2cff182
Prevent login page show up when on auth is needed
2025-03-23 02:00:59 +08:00
yangdx
3609dc5b26
Improve authentication flow and navigation handling
...
- Replace never-resolving promise with rejection
- Remove unnecessary setTimeout in navigation
2025-03-23 01:39:43 +08:00
choizhang
9b27f32258
refactor(SiteHeader): Hide logout button in guest mode
2025-03-23 01:22:15 +08:00
yangdx
b72aa3e8ca
Prevent login page show up when on auth is needed
2025-03-23 01:16:53 +08:00
yangdx
ba07ec86a5
Fix linting
2025-03-23 00:30:18 +08:00
yangdx
31c7923067
Added core and API version to health check
...
- Bumped API version to 1.2.2
2025-03-23 00:28:50 +08:00
yangdx
ea51ff05c1
Refactor auth and version checks for improved reliability.
...
- Prevent duplicate version checks in Vite dev mode
- Simplify protected route handling
- Add session flags for version tracking
2025-03-23 00:05:04 +08:00
yangdx
1a7c164e33
Adjust force-directed layout parameters for better stability
2025-03-22 15:16:07 +08:00
yangdx
fe72b9d65d
Updated relationships label in locale files.
2025-03-22 15:07:46 +08:00
yangdx
79dc2cb62b
Adjust force-directed layout parameters for better stability.
...
- Reduced repulsion force to 0.01
- Minimized node oscillation
- Improved convergence behavior
2025-03-22 14:52:43 +08:00
yangdx
2ed5cdce5e
Update the node size of the expanded node
2025-03-22 14:49:04 +08:00
yangdx
ebd73a54b9
Fix node size calculation bugs
2025-03-22 12:39:16 +08:00
yangdx
613c06c52b
Fix max dgree calculation error in node expansion
2025-03-22 12:09:33 +08:00
yangdx
86709a5e8e
Update webui assets
2025-03-22 11:40:52 +08:00
yangdx
133bc40735
Improve node size calculation logic for node expansion to prevent oversized
2025-03-22 11:39:46 +08:00
yangdx
2fd38381c0
Simplify log message for graph query
2025-03-22 11:29:04 +08:00
yangdx
acd3fd9fa0
Fix linting
2025-03-22 03:41:52 +08:00
yangdx
a461ccebe3
Fix version display problem when server does not require auth
2025-03-22 03:41:06 +08:00
yangdx
0df0ba269d
Implemented version display in SiteHeader of webui
...
- Updated API version to 1.2.0
- Stored versions in localStorage
2025-03-22 01:51:39 +08:00
yangdx
b21c32645d
Added "emptyGraph" translation for Arabic and French.
2025-03-22 00:35:43 +08:00
yangdx
42a5bd3a8b
Merge branch 'main' into i18n-france-arabic
2025-03-22 00:32:13 +08:00
yangdx
dcbb6bf8cf
Add French and Arabic language support
2025-03-22 00:31:18 +08:00
yangdx
101e1c907c
Fix linting
2025-03-21 21:51:52 +08:00
yangdx
a5aa3da3bc
Handle empty graph data and add empty graph hints
...
- Add empty data handling flag
- Display "Graph Is Empty" node
2025-03-21 21:49:36 +08:00
Saifeddine ALOUI
3f8043ba43
Merge branch 'HKUDS:main' into main
2025-03-21 14:20:51 +01: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
8742ec3625
Refactor ProtectedRoute component to properly handle navigation in React lifecycle
2025-03-20 12:41:02 +08:00
yangdx
08ae9c5825
Fix graph data reloading problem after login token expired
2025-03-20 12:29:22 +08:00
yangdx
2a3fafa1cc
Added dark mode styles for node property buttons
2025-03-20 11:32:41 +08:00
yangdx
b422d223e8
Fix settings popover toggle logic
2025-03-20 04:46:56 +08:00
yangdx
0122433eee
Fix linting
2025-03-20 03:47:07 +08:00
yangdx
f1755f6978
Update Chinese locale for "minDegree" translation
...
- Changed "最小度数" to "最小邻边数"
2025-03-20 03:46:52 +08:00
yangdx
6968cbd6d5
Adjust position and spacing of settings display
2025-03-20 03:46:38 +08:00
yangdx
c456ea2ce8
Remove API Key setting from webui
2025-03-20 03:46:26 +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
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
32dcbec7b5
Update webui assets
2025-03-19 19:09:03 +08:00
yangdx
99814b57d9
Refactor navigation and authentication flow
...
- Move navigation setup to AppRouter
- Prevent protected route logic to handle login 401
2025-03-19 19:08:09 +08:00
yangdx
202f7befaf
Remove redundant debug log for graph labels fetching
2025-03-19 14:08:28 +08:00
yangdx
ffaa3493bd
Update web assets
2025-03-19 13:52:38 +08:00
yangdx
61734313b2
Remove useless tab visibility checks from graph components
2025-03-19 13:51:15 +08:00
yangdx
d7dfc914a4
Remove unused initAttemptedRef from GraphViewer
2025-03-19 13:23:45 +08:00