Commit Graph

7 Commits

Author SHA1 Message Date
cf3fe611eb feat(header): add showBaseHeader state and conditional rendering in BaseHeader component 2026-02-26 04:02:59 +08:00
8aad3bcb9b feat(auth): enhance header links with dynamic navigation and add setLinks method to store 2026-02-25 01:50:27 +08:00
0be8c66754 fix(auth): make header link title optional in layout store 2026-02-25 01:28:11 +08:00
341e2331a0 feat(auth): enhance authentication flow with dynamic login page configuration and navigation updates 2026-02-25 00:41:01 +08:00
fcd914b3c2 feat(auth): refactor authentication flow and add login route
- Updated import path for QueryLoginBrowser in query.ts
- Enhanced AuthProvider to allow open links without requiring login
- Added clearMe function to reset user state and redirect to login
- Introduced BaseHeader component for consistent header layout
- Created LoginComponent to handle login success events
- Added App component to manage login state and navigation
- Defined new login route in routeTree and integrated with the application
2026-02-24 17:25:45 +08:00
c1df9eb5d4 fix(auth): update token validation method in layout store 2026-02-24 04:32:25 +08:00
ce38fd6dad feat(auth): add Zustand store for authentication management
- Implemented a Zustand store to manage authentication state.
- Added user information handling, including user roles and organization switching.
- Integrated toast notifications for user feedback on actions.
- Included initialization logic to check for local user and token.
2026-02-22 01:18:28 +08:00