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 and GitHub
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 <[email protected] >
2025-12-23 16:58:55 +08:00
a26881cb24
refactor: unified cn utils ( #29916 )
...
Co-authored-by: yyh <[email protected] >
Co-authored-by: yyh <[email protected] >
2025-12-19 12:08:34 +08:00
+8
d186daa131
E-300 ( #19726 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: Hash Brown <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: GareArc <[email protected] >
Co-authored-by: Byron.wang <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Garfield Dai <[email protected] >
Co-authored-by: KVOJJJin <[email protected] >
Co-authored-by: Alexi.F <[email protected] >
Co-authored-by: Xiyuan Chen <[email protected] >
Co-authored-by: kautsar_masuara <[email protected] >
Co-authored-by: achmad-kautsar <[email protected] >
Co-authored-by: Xin Zhang <[email protected] >
Co-authored-by: kelvintsim <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Zixuan Cheng <[email protected] >
2025-05-20 12:07:50 +08:00
KVOJJJin and GitHub
c66fda7c71
chore: independent page style update ( #17176 )
2025-03-31 15:44:04 +08:00
KVOJJJin and GitHub
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 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: jZonG <[email protected] >
2025-03-21 17:41:03 +08:00
Joel and GitHub
3d2cb25a67
fix: change wrong company name ( #8801 )
2024-09-26 17:53:11 +08:00
Joel and GitHub
eff280f3e7
feat: tailwind related improvement ( #6085 )
2024-07-09 15:05:40 +08:00
cd51d3323b
feat: member invitation and activation ( #535 )
...
Co-authored-by: John Wang <[email protected] >
2023-07-14 11:19:26 +08:00