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
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
f2842da397
chore(web): new lint setup ( #30020 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-23 16:58:55 +08:00
e7833b42cd
optimize close action on about page ( #24342 )
2025-08-25 18:04:21 +08:00
a83e4ed9a4
Perf: remove user profile loading ( #22710 )
2025-07-21 16:35:52 +08:00
57ece83c30
Fix/branding broken ( #20375 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
2025-05-28 20:06:58 +08:00
dc75a10989
feat: update branding ( #19719 )
...
Co-authored-by: twwu <twwu@dify.ai >
2025-05-15 12:38:20 +08:00
8f9cbe1c49
Chore/cleanup warnings ( #17974 )
2025-04-14 11:27:14 +08:00
c05e03fc09
refactor & perf: import { noop } from 'lodash-es' across web ( #17439 )
2025-04-06 17:56:08 +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
9e220d5d30
Feat: configure dark mode legacy ( #15394 )
2025-03-10 16:41:06 +08:00
c112188207
feat: added ActionButton component ( #6631 )
2024-07-24 18:09:44 +08:00
eff280f3e7
feat: tailwind related improvement ( #6085 )
2024-07-09 15:05:40 +08:00
2328ed8ffa
feat: new icons ( #5412 )
2024-06-20 11:05:08 +08:00
013bffc161
fix: copyright with latest time ( #5271 )
2024-06-16 14:39:29 +08:00
444aba55dd
Feat/jpn support ( #2651 )
2024-03-02 13:47:51 +08:00
9574730050
Feat/i18n restructure ( #2529 )
2024-02-23 14:31:06 +08:00
a667d04e53
fix: frontend security risk ( #2355 )
2024-02-02 15:24:17 +08:00
e58c3ac374
Fix/language support ( #2154 )
2024-01-24 11:08:11 +08:00
5beb298e47
chore: update term links ( #1748 )
2023-12-13 15:12:27 +08:00
61e816f24c
feat: logo ( #1356 )
2023-10-16 15:26:25 +08:00
f914eb95eb
fix: doc links ( #763 )
2023-08-07 10:50:45 +08:00
3e1d5ac51b
Feat/header ssr ( #594 )
2023-07-18 16:57:14 +08:00
cd51d3323b
feat: member invitation and activation ( #535 )
...
Co-authored-by: John Wang <takatost@gmail.com >
2023-07-14 11:19:26 +08:00
10848d74a0
fix: changelog link ( #216 )
2023-05-26 10:22:35 +08:00
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00