clssck
77df910525
chore: add citation system and code formatting setup
...
Add citation.py module for document citation tracking and management.
Configure Biome and Ruff for consistent code formatting across TypeScript
and Python. Update webui with improved component organization, API client
refactoring, and enhanced user interface patterns. Add formatting configs
and dependency updates for build toolchain optimization.
2025-11-30 20:51:43 +01:00
yangdx
594e7b751a
Fix linting
2025-04-28 02:15:25 +08:00
yangdx
d7552a2a87
Keep chat history when login with same user
2025-04-28 02:14:50 +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
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
yangdx
08ae9c5825
Fix graph data reloading problem after login token expired
2025-03-20 12:29:22 +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
ffaa3493bd
Update web assets
2025-03-19 13:52:38 +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
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