Commit Graph

83 Commits

Author SHA1 Message Date
xiongxiao
9d4b3f013a feat: 添加 PWA 更新组件,优化缓存策略和动态路由 2026-03-21 00:42:15 +08:00
xiongxiao
02925f69f4 feat: 添加 Sidebar 组件,支持动态导航和开发中提示 2026-03-20 22:58:14 +08:00
xiongxiao
bfcb5b6004 feat: add autoUpdate register type for PWA 2026-03-19 05:08:25 +08:00
1c86787219 Refactor code structure for improved readability and maintainability 2026-03-17 00:43:32 +08:00
942c67357d feat: enhance Vite configuration with dotenv and PWA support
- Added dotenv for environment variable management.
- Updated API URL handling to support fallback options.
- Integrated VitePWA plugin for progressive web app capabilities.
2026-03-17 00:07:12 +08:00
ef9d98c090 Remove horizontal rule from BaseHeader component for cleaner layout 2026-03-12 03:29:02 +08:00
75ea380570 新增 openLink 函数以处理外部链接和动态路径 2026-03-11 01:57:25 +08:00
a5c3b6e4e0 Remove Convex module and its initialization from auth provider; update auth.json to reflect the change. 2026-03-11 01:49:24 +08:00
b0bec742ca 优化 Convex URL 检查和认证 token 获取逻辑 2026-03-06 20:33:34 +08:00
a316009234 删除 authTokenFetcher 中的调试日志 2026-03-06 19:00:59 +08:00
91abdac399 Add Convex client setup and authentication handling
- Introduced a new module for Convex client configuration in `src/modules/convex.ts`.
- Implemented an authentication token fetcher to manage user tokens.
- Integrated the Convex client into the AuthProvider component in `src/pages/auth/index.tsx`.
2026-03-06 19:00:24 +08:00
700f8177fe chore: remove obsolete agent and page references from auth.json 2026-03-06 03:19:14 +08:00
37914d21f0 chore: update @kevisual/kv-login to version 0.1.17 2026-03-06 00:34:11 +08:00
ac51f1dc50 update 2026-03-05 22:28:47 +08:00
5a07ba8a2d updaate 2026-03-05 22:03:45 +08:00
5fe3e7e1dc docs: update README to include instructions for cloning auth update 2026-03-05 22:00:42 +08:00
66245c149b chore: update dependencies and refactor auth store for improved token handling 2026-03-05 21:59:50 +08:00
1a6c8524d3 Refactor code structure for improved readability and maintainability 2026-03-05 02:38:06 +08:00
ec089206f1 Add kevisual configuration files for project setup
- Created kevisual.json for project metadata and synchronization settings.
- Added auth.json to manage authentication-related configurations and file synchronization from the remote registry.
2026-03-03 00:57:46 +08:00
66defedf4c feat(auth): implement user data fetching with react-query and refactor auth store 2026-03-02 13:17:17 +08:00
dc95e1ec60 feat(query): integrate @tanstack/react-query for improved data fetching and state management 2026-03-02 12:52:22 +08:00
d0e47e2d87 Refactor code structure for improved readability and maintainability 2026-03-01 01:38:16 +08:00
2d90ace92e Remove redirect on clearMe function in auth store 2026-03-01 01:37:19 +08:00
ac958a2a68 feat(layout): integrate dynamic header height based on showBaseHeader state 2026-02-26 04:06:53 +08:00
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
26f8d24b89 feat: wrap main content with TooltipProvider for enhanced tooltip functionality 2026-02-22 01:33:00 +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
8349e1ca4c 更新 .cnb.yml,添加对环境变量的引用 2026-02-21 00:42:45 +08:00
605d833841 init 2026-02-21 00:24:21 +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
2cb404846e 更新 basename 模块,添加动态计算 basename 的功能,并在 main.tsx 中使用该功能 2026-02-18 21:53:06 +08:00
b2a7b66f21 更新 AGENTS.md,添加主题系统相关信息 2026-02-18 07:11:43 +08:00
abe6c8b71c fix 2026-02-18 05:32:21 +08:00
9ea7ee18a9 更新 @kevisual/router 和 @kevisual/query 依赖版本,调整 query.ts 中的导入和实例化 2026-02-18 05:30:37 +08:00
5d7068f55e update 2026-02-18 01:01:19 +08:00
1ffb3cabaa update 2026-02-18 00:46:02 +08:00
89777fb2b0 update 2026-02-18 00:09:19 +08:00
76d991cfec update version 2026-02-18 00:08:55 +08:00
0b9a9ea89c update 2026-02-18 00:08:11 +08:00
9c1d625ad2 Refactor code structure for improved readability and maintainability 2026-02-14 00:26:10 +08:00
aadf2acebe 更新项目结构,添加 demo 页面及相关状态管理;修改路由配置,更新依赖项,重构部分代码 2026-02-09 00:21:44 +08:00
e0291d70bf add ui 2026-02-08 23:32:56 +08:00
92b9c3315b 更新 package.json 和 pnpm-lock.yaml,添加 class-variance-authority 依赖;修改 main.tsx 中的 basename 引入方式;新增 theme.css 样式文件 2026-02-04 19:51:05 +08:00