Commit Graph

2662 Commits

Author SHA1 Message Date
Daniel.y
7356458cdf Merge pull request #1133 from danielaskdd/main
Fix: Resolve graph data reloading problem after login token expire
2025-03-20 12:56:56 +08:00
yangdx
af245c8b3f Update webui assets 2025-03-20 12:41:35 +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
Daniel.y
4edc680b47 Merge pull request #1132 from danielaskdd/main
Fix dark mode styles for node property buttons
2025-03-20 11:40:24 +08:00
yangdx
3c99835800 Update webui assets 2025-03-20 11:34:26 +08:00
yangdx
2a3fafa1cc Added dark mode styles for node property buttons 2025-03-20 11:32:41 +08:00
Daniel.y
5aa6265c48 Merge pull request #1128 from danielaskdd/main
Fix settings popover toggle logic
2025-03-20 04:49:56 +08:00
yangdx
3b66648fb2 Update webui assets 2025-03-20 04:47:27 +08:00
yangdx
b422d223e8 Fix settings popover toggle logic 2025-03-20 04:46:56 +08:00
Daniel.y
2b06cee7fe Merge pull request #1126 from danielaskdd/improve-graph-reload
Improve graph reload
2025-03-20 04:33:04 +08:00
yangdx
cbc8a832aa Update webui assets 2025-03-20 03:47:46 +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
69720e0b00 Update webui assets 2025-03-20 01:38:50 +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
Daniel.y
59fe21cc40 Merge pull request #1124 from danielaskdd/improve-login-flow
Improve login flow
2025-03-19 21:42:52 +08:00
yangdx
b796d33cd5 Update webui assets 2025-03-19 21:38:49 +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
0339273fe9 Update webui assets 2025-03-19 17:51:45 +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
yangdx
6aab0eaea2 Remove unused shouldRender state and related rendering control logic 2025-03-19 13:07:16 +08:00
yangdx
50a8b5fb6d Refactor navigation and authentication flow, prevent mounting login page multiple times
- Improved protected route handling
- Enhanced direct login access detection
- Centralized navigation logic
- Optimized state reset process
- Fixed logout navigation behavior
2025-03-19 12:45:08 +08:00
yangdx
bc4c16b06a Improve cleanup and state reset logic in GraphViewer and NavigationService.
- Add proper Sigma instance cleanup on unmount
- Ensure error handling for Sigma cleanup
2025-03-19 01:03:24 +08:00
yangdx
77cb9da384 Add application state reset on login page mount
- Reset all application state on login page
- Clear authentication and session storage
- Reset graph, backend, and settings state
- Ensure clean environment for new session
- Centralized state reset in navigation service
2025-03-19 00:00:20 +08:00
yangdx
8145046115 Remove login modal state from auth store 2025-03-18 23:12:02 +08:00
Daniel.y
f962606356 Merge pull request #1115 from danielaskdd/main
Hot fix: Server can not startup with legacy data (json_doc_status_impl.py)
2025-03-18 20:59:42 +08:00
Daniel.y
251f624273 Merge pull request #1107 from JoramMillenaar/fix--psql-return-type
Fixed get_by_id type error in PSQL impl
2025-03-18 20:40:28 +08:00
yangdx
783e7867cf Replace print statement with logger.debug for file_path. 2025-03-18 20:39:38 +08:00
yangdx
3279948dcd Skip graph creation if no data or empty nodes
- Add log for skipped graph creation
2025-03-18 20:23:22 +08:00
yangdx
20de4ded30 Add default file_path for missing document paths
- Set file_path to "no-file-path" if missing
- Ensure consistent document data structure
2025-03-18 20:06:18 +08:00
yangdx
c42f08c0e6 Add navigation service for centralized login redirect routing
- Simplify token validation logic in API
- Update axios interceptor to use navigation service
2025-03-18 19:45:43 +08:00
Daniel.y
79b32026ec Merge branch 'HKUDS:main' into main 2025-03-18 18:07:46 +08:00
zrguo
a3de421b14 Merge pull request #1108 from HKUDS/webui-node-expansion
Added camera rotation to graph panel and merge login feature
2025-03-18 17:50:38 +08:00
yangdx
b46f2ff871 Merge branch 'fix--psql-return-type' 2025-03-18 17:15:29 +08:00
zrguo
10d2bbfcd7 Update README.md 2025-03-18 16:42:57 +08:00
zrguo
80f00dabd3 Update README.md 2025-03-18 16:41:05 +08:00
yangdx
5536ed50ca Fix linting 2025-03-18 16:18:37 +08:00
yangdx
d80ca4dc07 Added root redirect to /webui and updated webui config 2025-03-18 15:38:41 +08:00
zrguo
f49c67784f Merge pull request #1103 from HKUDS/citation
Adding support for handling file paths in document processing.
2025-03-18 15:24:55 +08:00
yangdx
331b1194f0 Added camera rotation controls to graph panel. 2025-03-18 12:34:04 +08:00