Commit Graph

63 Commits

Author SHA1 Message Date
yangdx
9d6a3c281b Merge branch 'feat-node-color' into merge-node-color 2025-04-05 14:39:49 +08:00
yangdx
ae1e991724 Merge branch 'feat-edge-thickness' into merge-edge-thickness 2025-04-05 13:06:28 +08:00
yangdx
dcba3f776d Fix linting 2025-04-05 02:41:06 +08:00
yangdx
299c508f27 Fix webtitle display problem 2025-04-05 02:24:23 +08:00
yangdx
1c0b94c46f Fix web title cleaning problem 2025-04-05 00:41:49 +08:00
yangdx
4851f4e01e Fix linting 2025-04-04 22:52:50 +08:00
yangdx
29d01e1c74 Add title support for webui 2025-04-04 22:51:07 +08:00
choizhang
81355481c1 feat: Add legend components and toggle buttons 2025-04-03 22:42:13 +08:00
yangdx
1a1f934e27 Feat: replace min_degree with max_nodes in webui 2025-04-02 18:35:32 +08:00
choizhang
cd3817ce30 feat (graph settings): Add edge thickness range configuration function 2025-04-01 00:36:32 +08:00
yangdx
814f3b3308 feat: add pipeline busy status indicator with breathing effect
- Add pipeline_busy field to health check response
- Track pipeline busy state in frontend store
- Add breathing animation for pipeline status button
- Enhance dark mode visibility with stronger contrast
2025-03-26 13:11:53 +08:00
yangdx
d456269718 feat: Add file name display in WebUI
Backend:
- Add file_path field to DocStatusResponse
- Update document status response creation

Frontend:
- Remove metadata column
- Improve filename display with truncation and tooltips
- Add show/hide filename toggle with proper styling
- Update translations for all supported languages"
2025-03-25 22:42:46 +08:00
Milin
b868dddac5 feat(webui): Display logged-in username
- Add username display in the `SiteHeader` component.
- Update logout button text to include username.
- Add `username` field in auth state.
- Optimize token parsing logic to extract username information.
- pre-commit fix
2025-03-24 15:59:18 +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
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
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
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
6aab0eaea2 Remove unused shouldRender state and related rendering control logic 2025-03-19 13:07:16 +08:00
yangdx
8145046115 Remove login modal state from auth store 2025-03-18 23:12:02 +08:00
yangdx
43996656d3 Fix linting 2025-03-18 03:30:43 +08:00
yangdx
f8440c8f80 feat(auth): implement auto guest mode and enhance token system
- Add role-based token system with metadata support
- Implement automatic guest mode for unconfigured authentication
- Create new /auth-status endpoint for authentication status checking
- Modify frontend to auto-detect auth status and bypass login when appropriate
- Add guest mode indicator in site header for better UX

This change allows users to automatically access the system without manual
login when authentication is not configured, while maintaining secure
authentication when credentials are properly set up.
2025-03-18 02:56:02 +08:00
yangdx
1727130c47 Added /login to VITE_API_ENDPOINTS 2025-03-18 01:16:40 +08:00
yangdx
2856107f46 Merge branch 'loginPage' into webui-node-expansion 2025-03-18 00:39:48 +08:00
yangdx
7d4390af96 Remove graphSearchTypes.ts, move OptionItem type to GraphSearch.tsx 2025-03-16 03:01:36 +08:00
yangdx
eb17a7782d fix: Replace global searchCache with Zustand state management 2025-03-16 02:40:48 +08:00
yangdx
6b2e4186ac refactor: remove legacy node expansion and pruning methods from graph store 2025-03-16 01:41:51 +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
fdaf199b15 Fix linting and upate webui assets 2025-03-15 00:33:53 +08:00
choizhang
b58729751a Merge branch 'improve-property-tooltip' into loginPage 2025-03-15 00:11:50 +08:00
yangdx
413d201525 Fix refresh layout button failure 2025-03-15 00:00:29 +08:00
yangdx
5decd03e2e Avoid graphics flickering during node operations 2025-03-14 23:25:38 +08:00
yangdx
20c976584b Fix linting 2025-03-14 16:45:02 +08:00
yangdx
de016025ba Add Node Expansion and Pruning Features 2025-03-14 15:58:50 +08:00
yangdx
063ad8a35a Remove unused codes 2025-03-14 04:25:45 +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
642d17b774 Moved refreshLayout from settings to graph store. 2025-03-13 09:44:51 +08:00
yangdx
2bc41bebf8 Fix state persistence handling problem
- Removed `getInitialState` helper function.
- Set default theme to 'system'.
- Changed default language to 'en'.
2025-03-13 09:39:21 +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
8129cbd964 Bumped settings storage version to 8
- Updated settings version and added new graph features
- Added enableNodeDrag setting
- Added enableHideUnselectedEdges
- Disabled edge events by default
- Set graphMinDegree to 0
2025-03-12 19:55:02 +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
fb0f8e11fd Resolve the language setting persistence issue
- Move i18n initialization to async function
- Sync i18n with settings store language
- Add Root component for i18n loading state
- Convert i18n.js to TypeScript
2025-03-12 14:36:34 +08:00
yangdx
620d31e878 Update translations and add language settings 2025-03-12 13:49:22 +08:00