- 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
- 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.
- Updated dependencies in package.json:
- Incremented versions for @kevisual/api, @kevisual/context, @kevisual/router, @tanstack/react-router, @kevisual/query, @tailwindcss/vite, @tanstack/react-router-devtools, @tanstack/router-plugin, @types/node, tailwind-merge, and tailwindcss.
- Added fuse.js as a new dependency.
- Refactored __root.tsx to include AuthProvider for authentication context.
- Created a new AuthProvider component in src/pages/auth/index.tsx.