Commit Graph
71 Commits
Author SHA1 Message Date
Li Kui 83ea27af3e fix: fix lint 2025-11-06 23:16:23 +08:00
Li Kui b7bfd69788 fix: fix lint 2025-11-06 23:10:03 +08:00
Li Kui 99d663a6f2 fix: fix typecheck 2025-11-06 23:02:24 +08:00
Li Kui 1af11240a6 chore: add tdesign logo 2025-11-06 22:37:55 +08:00
Li Kui 3e8e8690e3 chore: Merge branch 'main' into tdesign 2025-11-06 17:49:51 +08:00
Li Kui be843300be chore: update demo routes 2025-11-06 17:44:34 +08:00
Li Kui dc77721c11 chore: demo i18n 2025-11-06 16:42:25 +08:00
Li Kui a38d081f17 chore: enable VITE_NITRO_MOCK 2025-11-06 16:37:15 +08:00
Li Kui bd8ff73f9e fix: fix build error 2025-11-06 15:26:24 +08:00
Li Kui 57620dc2ea chore: apply coderabbitai suggestions 2025-11-06 15:11:28 +08:00
Li KuiandGitHub b472fbb72f Merge branch 'main' into tdesign 2025-11-06 14:36:27 +08:00
Li KuiandGitHub 5c3972196a fix: Add $t import to login expired modal (#6429)
closes #6230
2025-06-27 19:20:25 +08:00
Li KuiandGitHub c72747c649 fix: enforce minimum pnpm version 9.5.0 (#4443) 2024-09-20 10:19:08 +08:00
Li KuiandGitHub 61faa1895a fix: vue received a Component that was made a reactive object (#4367) 2024-09-11 22:56:01 +08:00
Li KuiandGitHub 8f6bf6add3 perf: update menu icons (#4357) 2024-09-11 16:23:24 +08:00
Li KuiandGitHub 6e67fb5fe7 fix(@vben/docs): build failed on windows (#4362) 2024-09-11 14:26:42 +08:00
86ed732ca8 feat: tanstack query demos (#4276)
* chore(@vben/request): add axios-retry

* feat: error retry

* feat: paginated queries

* feat: infinite queries

* chore: update

* chore: update

* fix: ci error

* chore: update

* chore: remove axios-retry

* chore: update deps

* chore: update deps

* chore: update deps

* chore: update pnpm.lock

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-09-08 19:39:19 +08:00
Li KuiandGitHub 56e66193fc fix: module is not listed in package. json dependencies (#4338) 2024-09-08 09:55:20 +08:00
Li KuiandGitHub 7b3c9d56be fix: resolve lint fail (#4335) 2024-09-07 14:03:13 +08:00
2b65e935c1 fix: improve the lock-screen password validation logic (#4324)
* fix: after entering the password correctly, the verification still shows' failed ', resulting in the inability to enter the system

* chore: update

---------

Co-authored-by: zyy <532612154@qq.com>
2024-09-05 22:25:44 +08:00
Li KuiandGitHub f23821ff46 fix: redundant border on the sidebar in two column layout mode (#4291) 2024-08-31 17:37:37 +08:00
Li KuiandGitHub 08acaf05f1 fix: solve the problem of recursive call to logout api (#4265) 2024-08-28 22:37:47 +08:00
Li KuiandGitHub 84816ef769 chore: add badges (#4260)
* chore: add badges

* docs: fix editLink
2024-08-28 20:43:24 +08:00
Li KuiandGitHub c6b9a56b73 fix: clearPreferencesAndLogout does not take effect when the preferences button is at the top (#4253) 2024-08-28 09:58:59 +08:00
Li KuiandGitHub d47d051b19 fix: search and menu buttons overlapped (#4249) 2024-08-27 21:54:07 +08:00
Li KuiandGitHub df7757d001 fix: when the 'refreshToken' expires, it does not re-authenticate (#4231) 2024-08-26 09:54:42 +08:00
Li KuiandGitHub 7fa4410eab fix: correct the SVG icon format (#4224)
* fix: correct the SVG icon format

closes #4220

* fix: ci fail

* chore: apply suggestion
2024-08-24 12:43:48 +08:00
Li KuiandGitHub cd652941cd fix: switching language does not load the translation of the component correctly (#4205)
closes #4191
2024-08-21 10:06:06 +08:00
Li KuiandGitHub fecf55139d fix: element-plus styles (#4203)
closes #4201
2024-08-20 21:53:09 +08:00
01d60336a6 feat: refactor and improve the request client and support refreshToken (#4157)
* feat: refreshToken

* chore: store refreshToken

* chore: generate token using jsonwebtoken

* chore: set refreshToken in httpOnly cookie

* perf: authHeader verify

* chore: add add response interceptor

* chore: test refresh

* chore: handle logout

* chore: type

* chore: update pnpm-lock.yaml

* chore: remove test code

* chore: add todo comment

* chore: update pnpm-lock.yaml

* chore: remove default interceptors

* chore: copy codes

* chore: handle refreshToken invalid

* chore: add refreshToken preference

* chore: typo

* chore: refresh token逻辑调整

* refactor: interceptor presets

* chore: copy codes

* fix: ci errors

* chore: add missing await

* feat: 完善refresh-token逻辑及文档

* fix: ci error

* chore: filename

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-08-19 22:59:42 +08:00
Li KuiandGitHub 6a1e6ad99f fix: the translation is incorrect when switching languages for the first time (#4146)
* fix: the translation is incorrect when switching languages for the first time

closes #4138

* chore: merge locale message even if default locale not exist
2024-08-14 05:29:31 +08:00
Li KuiandGitHub 963e79063f fix: some icons behave inconsistently on menu and tab (#4144) 2024-08-13 22:07:02 +08:00
Li KuiandGitHub 1a4d61cc17 fix: type Component is not assignable to RouteMeta (#4140)
* fix: type `Component` is not assignable to `RouteMeta`

* fix: ci fail
2024-08-13 21:30:14 +08:00
3015912f1a feat: page component (#4087)
* feat: page component

* chore: basic page

* chore: add demos

* chore: add header-sticky support

* chore: update web-ele

* chore: rename slot name

---------

Co-authored-by: Vben <ann.vben@gmail.com>
2024-08-11 16:29:39 +08:00
Li KuiandGitHub de90b07b6f fix: menu-badge color not correct (#4089) 2024-08-09 10:52:47 +08:00
Li KuiandGitHub 8ffc853b86 chore: switch back to @ctrl/tinycolor (#4077)
* chore: switch back to `@ctrl/tinycolor`

* fix: ci
2024-08-08 05:46:14 +08:00
Li KuiandGitHub 1d38fb647e refactor: use @ant-design/fast-color instead (#4070)
* refactor: Use @ant-design/fast-color instead

* fix: test failed

* chore: remove isValidColor

All FastColor objects are valid. So isValid is always true.
FastColor("not-a-color") -> `#000000`

* refactor: rename directory `colorful` to `color`

* fix: ci fail
2024-08-07 21:28:25 +08:00
Li KuiandGitHub 0c18912f4e fix: typo (#4047) 2024-08-06 10:02:48 +08:00
Li KuiandGitHub 773b36aa17 chore: dark menu disable (#4036) 2024-08-04 21:54:33 +08:00
Li KuiandGitHub e29352d0f1 fix: missing await for an async function call (#4035) 2024-08-04 21:53:44 +08:00
Li KuiandGitHub 0619faf61e fix: typo in tabbar preferences (#4027) 2024-08-04 05:52:50 +08:00
Li KuiandGitHub 8313be8e08 fix: The menu background color is incorrect when toggling the dark menu (#4008)
* fix: the menu background color is incorrect when activating the dark menu light theme

* chore: update active-color & active-background-color
2024-08-02 21:36:36 +08:00
Li KuiandGitHub 9348d65420 fix: Adjusted contentCompact without triggering ECharts resize (#3997) 2024-08-02 06:42:02 +08:00
Li KuiandGitHub 69f0703701 fix: correct i18n translation (#3996) 2024-08-02 06:41:31 +08:00
Li Kui 407534bd8c chore: update Readme.md 2024-08-01 17:45:47 +08:00
likui628 fd03b7c000 chore: update router locales 2024-08-01 12:53:02 +08:00
Li Kui 1c9525a013 chore(@vben/web-naive): Import on demand 2024-07-31 21:48:37 +08:00
Li KuiandGitHub 4074a88c13 feat: element-plus app (#32)
* chore: init project

* chore: install element-plus

* chore: locale config

* fix: eslint error

* chore: merge from main

* fix: lint

* chore: finish todo

* chore: update comments

* chore: update

* fix: lint error

* chore: add unplugin-element-plus

* chore: add useElementPlusDesignTokens

* chore: configure some color
2024-07-31 21:22:43 +08:00
likui628 0e13412f27 fix: page not found when clicked breadcrumb 2024-07-19 20:29:41 +08:00
Li Kui 9021e992ad fix: resolve redirect not found issue and remove /demos prefix
- Resolved the issue where redirects were not found in the router
- Standardized the removal of the /demos prefix from routes
2024-07-16 07:59:58 +08:00
likui628 d1a19c525f chore: fix typecheck fail 2024-07-14 14:02:55 +08:00
likui628 91e769e53e fix: typos 2024-07-14 13:48:47 +08:00
likui628 3a7b5c2965 fix: resolve responsive layout issues 2024-07-14 11:17:40 +08:00
Li Kui ba780a7d3f chore: update access demo 2024-07-13 11:49:18 +08:00
Li KuiandGitHub 7801a90dcb refactor: unify frontend and backend access control with shared page … (#43)
* refactor: unify frontend and backend access control with shared page components

* fix: role switch not show

* chore: update title
2024-07-13 11:26:36 +08:00
Li KuiandGitHub 10b684832d fix: back to login does not clear lock-screen state (#41)
* refactor: replace separate date variables with formatted date string

* fix: back to login does not clear lock-screen state
2024-07-12 22:22:36 +08:00
likui628 102249e0f3 Merge branch 'main' into small-change 2024-07-11 22:53:06 +08:00
likui628 2c79ac1e6c refactor: small refactor in @vben-core/request 2024-07-11 22:50:21 +08:00
Li KuiandGitHub 8e6c1abf19 feat: login dialog (#37)
* chore: login-dialog demo

* Merge branch 'main' into login-dialog

* chore: update dialog

* Merge branch 'main' into login-dialog

* chore: accept login params

* chore: redirect to login or show login dialog
2024-07-11 11:05:01 +08:00
Li KuiandGitHub fbe0fc1738 chore: conditionally display notification dot (#31) 2024-07-07 16:19:17 +08:00
Li Kui 1f4ec6369c Merge branch 'main' into global-search 2024-07-06 18:17:31 +08:00
Li Kui f7ed8b3199 fix: prevent default searching in browser 2024-07-06 18:13:52 +08:00
Li KuiandGitHub 13e01d3812 fix: fix preferences locale wrong (#28) 2024-07-06 17:18:19 +08:00
Li Kui e7a7b85f25 fix: fix preferences locale wrong 2024-07-06 17:11:29 +08:00
Li KuiandGitHub adef519531 fix: fix 'useCoreAccessStore' test fail (#27) 2024-07-06 16:49:13 +08:00
Li KuiandGitHub 19b57fa4f7 refactor: remove 'affixTabs' from state (#25) 2024-07-06 14:55:51 +08:00
Li KuiandGitHub 4dbd13d48d fix: pin tab not working correct (#23) 2024-07-06 10:08:46 +08:00
Li Kui 3d45b41a2d chore: add translation for tabbar context menu 2024-07-05 10:49:39 +08:00
Li KuiandGitHub c715d68dbb fix: update tab titles when switching language (#17) 2024-07-05 10:04:16 +08:00
Li Kui b92ca41aa2 fix: fix 'page not found' error on clicking breadcrumbs 2024-07-04 10:03:58 +08:00
likui628 54da49d16b fix(preferences): fix locales key for 'Display Header' 2024-07-04 00:26:52 +08:00