Commit Graph

17 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
bdac089a85 fix(header): add cursor pointer to link items for better UX 2026-02-26 01:49:18 +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
3630144fb1 feat: update dependencies and enhance authentication flow with context hooks 2026-02-22 04:28:26 +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
acf18e42bd chore: update dependencies and add AuthProvider component
- 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.
2026-02-20 01:44:47 +08:00
aadf2acebe 更新项目结构,添加 demo 页面及相关状态管理;修改路由配置,更新依赖项,重构部分代码 2026-02-09 00:21:44 +08:00
e0291d70bf add ui 2026-02-08 23:32:56 +08:00
c4dbb75698 update 2026-02-04 18:02:00 +08:00
10787fea6b add react demo 2025-04-07 19:17:24 +08:00
839eac2894 bump 2025-04-02 17:53:50 +08:00
a65cd7b4ce clear no use packages 2025-03-26 23:13:18 +08:00
91c90c819f update template 2025-03-26 09:08:39 +08:00