yyh
e2913d9ee1
Revert "refactor!: replace Zustand global store with TanStack Query for systemFeatures"
...
This reverts commit 806ece9a67 .
2026-02-01 19:06:45 +08:00
yyh
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
Stephen Zhou
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
Stephen Zhou
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
Stephen Zhou
f2842da397
chore(web): new lint setup ( #30020 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-23 16:58:55 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
Stephen Zhou
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
NFish
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
KVOJJJin
c66fda7c71
chore: independent page style update ( #17176 )
2025-03-31 15:44:04 +08:00
KVOJJJin
e008faf729
Feat: dark mode for independent pages ( #17045 )
2025-03-31 10:28:19 +08:00
Joel
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
NFish
3898fe3311
New Auth Methods ( #8119 )
2024-10-21 09:23:20 +08:00
Joel
3d2cb25a67
fix: change wrong company name ( #8801 )
2024-09-26 17:53:11 +08:00
HJY
6c2fa8defc
fix: form input add tabIndex ( #8478 )
2024-09-22 10:14:43 +08:00
Joel
eff280f3e7
feat: tailwind related improvement ( #6085 )
2024-07-09 15:05:40 +08:00
zxhlyh
5d4d65a85b
fix: button ( #5470 )
2024-06-21 14:17:45 +08:00
TinsFox
a3bd5eba02
refactor: refactor the button component using forwardRef ( #4379 )
...
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
2024-06-19 14:13:16 +08:00
Charles Zhou
2b0c779173
feat: default timezone to user's local timezone in activate form ( #5374 )
2024-06-19 10:27:06 +08:00
kurokobo
37c87164dc
fix: respect the interface language specified by the user on the activation success screen ( #5258 )
2024-06-16 09:37:19 +08:00
crazywoola
c5e2659771
Feat/install process refinement ( #3982 )
2024-04-29 17:55:52 +08:00
crazywoola
156345cb4b
fix: use supported languages only for install form ( #2844 )
2024-03-15 12:05:35 +08:00
yoogo
bd26c933d2
fix: valid password on reset-password page ( #2753 )
2024-03-08 18:44:49 +08:00
crazywoola
9574730050
Feat/i18n restructure ( #2529 )
2024-02-23 14:31:06 +08:00
Joel
5a004ae429
fix: unsafe external link ( #2356 )
2024-02-02 15:42:42 +08:00
Chenhe Gu
c9e65f4221
Fix/update broken doc links ( #2187 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: crazywoola <427733928@qq.com >
2024-01-26 15:20:03 +08:00
crazywoola
e58c3ac374
Fix/language support ( #2154 )
2024-01-24 11:08:11 +08:00
crazywoola
c17baef172
Feat/portuguese support ( #2075 )
2024-01-23 21:14:53 +08:00
Matri
a5d21f3b09
fix: shortening invite url ( #1100 )
...
Co-authored-by: MatriQi <matri@aifi.io >
2023-09-07 17:15:57 +08:00
Matri
916d8be0ae
fix: activation page reload issue after activating ( #964 )
2023-08-23 13:54:40 +08:00
Matri
9c9f0ddb93
fix: user activation request 404 issue ( #963 )
2023-08-23 08:57:25 +08:00
Matri
b346bd9b83
fix: default language improvement in activation page ( #942 )
2023-08-22 09:28:37 +08:00
Matri
f914eb95eb
fix: doc links ( #763 )
2023-08-07 10:50:45 +08:00
KVOJJJin
cd51d3323b
feat: member invitation and activation ( #535 )
...
Co-authored-by: John Wang <takatost@gmail.com >
2023-07-14 11:19:26 +08:00