e2913d9ee1
Revert "refactor!: replace Zustand global store with TanStack Query for systemFeatures"
...
This reverts commit 806ece9a67 .
2026-02-01 19:06:45 +08:00
806ece9a67
refactor!: replace Zustand global store with TanStack Query for systemFeatures
...
Follow-up to SSR prefetch migration (2833965 ). Eliminates the Zustand
middleman that was syncing TanStack Query data into a separate store.
- Remove useGlobalPublicStore Zustand store entirely
- Create hooks/use-global-public.ts with useSystemFeatures,
useSystemFeaturesQuery, useIsSystemFeaturesPending, useSetupStatusQuery
- Migrate all 93 consumers to import from @/hooks/use-global-public
- Simplify global-public-context.tsx to a thin provider component
- Update 18 test files to mock the new hook interface
- Fix SetupStatusResponse.setup_at type from Date to string (JSON)
- Fix setup-status.spec.ts mock target to match consoleClient
BREAKING CHANGE: useGlobalPublicStore is removed. Use useSystemFeatures()
from @/hooks/use-global-public instead.
2026-02-01 19:06:08 +08:00
7beed12eab
refactor(web): migrate legacy forms to TanStack Form ( #30631 )
2026-01-06 20:18:27 +08:00
6d0e36479b
refactor(i18n): use JSON with flattened key and namespace ( #30114 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 14:52:32 +08:00
1e3823e605
chore: fix type check for i18n ( #30058 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-24 16:31:16 +08:00
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
f2842da397
chore(web): new lint setup ( #30020 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-23 16:58:55 +08:00
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
a26881cb24
refactor: unified cn utils ( #29916 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2025-12-19 12:08:34 +08:00
7f5087c6db
reject whitespace characters in password regexp ( #22232 )
2025-07-11 19:18:18 +08:00
d186daa131
E-300 ( #19726 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Hash Brown <hi@xzd.me >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: GareArc <chen4851@purdue.edu >
Co-authored-by: Byron.wang <byron@dify.ai >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
Co-authored-by: Alexi.F <654973939@qq.com >
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com >
Co-authored-by: kautsar_masuara <61046989+izon-masuara@users.noreply.github.com >
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id >
Co-authored-by: Xin Zhang <sjhpzx@gmail.com >
Co-authored-by: kelvintsim <83445753+kelvintsim@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com >
2025-05-20 12:07:50 +08:00
e7659ecd9d
revert https://github.com/langgenius/dify/pull/19497 (19497) ( #19807 )
...
Co-authored-by: qingguo <qingguo@lexin.com >
2025-05-17 12:32:27 +08:00
49af07f444
fix: use NextJS basePath and WEB_PREFIX to support custom prefix ( #19497 )
...
Co-authored-by: johnny0120 <15564476+johnny0120@users.noreply.github.com >
2025-05-12 13:44:41 +08:00
7161d7ad96
feat: add base path to resources ( #17655 )
...
Co-authored-by: fhliu4 <fhliu4@iflytek.com >
2025-04-15 17:05:50 +08:00
8f9cbe1c49
Chore/cleanup warnings ( #17974 )
2025-04-14 11:27:14 +08:00
c66fda7c71
chore: independent page style update ( #17176 )
2025-03-31 15:44:04 +08:00
e008faf729
Feat: dark mode for independent pages ( #17045 )
2025-03-31 10:28:19 +08:00
7709d9df20
Chore: frontend infrastructure upgrade ( #16420 )
...
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: jZonG <jzongcode@gmail.com >
2025-03-21 17:41:03 +08:00
3898fe3311
New Auth Methods ( #8119 )
2024-10-21 09:23:20 +08:00
3d2cb25a67
fix: change wrong company name ( #8801 )
2024-09-26 17:53:11 +08:00
00b4cc3cd4
feat: implement forgot password feature ( #5534 )
2024-07-05 13:38:51 +08:00