91856b09ca
refactor: migrate appDetail from Zustand to TanStack Query
...
- Remove appDetail and setAppDetail from Zustand store
- Use useAppDetail hook for server state management
- Child components now call useAppDetail(appId) directly via useParams()
- Replace setAppDetail calls with useInvalidateAppDetail for cache invalidation
- Keep only client UI state in Zustand (sidebar, modals)
- Split sidebar initialization useEffect for clearer separation of concerns
- Update test mocks to use TanStack Query pattern
- Fix missing dependencies in use-checklist.ts useMemo/useCallback hooks
2026-01-18 23:07:33 +08:00
77366f33a4
feat(web): add loading indicators for infinite scroll pagination ( #31110 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-17 17:36:07 +08:00
6903c31b84
fix(search-input): retain focus after clearing input ( #31107 )
2026-01-16 16:22:14 +08:00
91da784f84
refactor: init orpc contract ( #30885 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-01-13 23:38:28 +09:00
8f43629cd8
fix(amplitude): update sessionReplaySampleRate default value to 0.5 ( #30880 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-13 12:26:50 +08:00
9161936f41
refactor(web): extract isServer/isClient utility & upgrade Node.js to 22.12.0 ( #30803 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-12 12:57:43 +08:00
0711dd4159
feat: enhance start node object value check ( #30732 )
2026-01-09 16:13:17 +08:00
b2cbeeae92
fix(web): restrict postMessage targetOrigin from wildcard to specific origins ( #30690 )
...
Co-authored-by: XW <wei.xu1@wiz.ai >
2026-01-08 17:23:27 +08:00
cd1af04dee
feat: model total credits ( #30727 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-08 14:11:44 +08:00
d8a0291382
refactor(web): remove unused type alias VoiceLanguageKey ( #30694 )
...
Co-authored-by: fghpdf <fghpdf@users.noreply.github.com >
2026-01-07 21:15:43 +08:00
e335cd0ef4
refactor(web): remove useMixedTranslation, better resource loading ( #30630 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-07 13:20:09 +08:00
7beed12eab
refactor(web): migrate legacy forms to TanStack Form ( #30631 )
2026-01-06 20:18:27 +08:00
c29cfd18f3
feat: revert model total credits ( #30518 )
2026-01-04 18:29:19 +08:00
84cbf0526d
feat: model total credits ( #26942 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-04 15:26:37 +08:00
8f2aabf7bd
chore: Standardized the OpenAI icon ( #30471 )
2026-01-03 02:34:17 +09:00
e3ef33366d
fix(web): stop thinking timer when user clicks stop button ( #30442 )
2026-01-01 00:36:18 +08:00
2bb1e24fb4
test: unify i18next mocks into centralized helpers ( #30376 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-31 16:53:33 +09:00
e856287b65
chore: update knip config and include in CI ( #30410 )
2025-12-31 15:38:07 +08:00
2aaaa4bd34
feat(web): migrate from es-toolkit/compat to native es-toolkit ( #30244 ) ( #30246 )
2025-12-31 11:13:22 +08:00
69589807fd
refactor: Replace direct process.env.NODE_ENV checks with IS_PROD and IS_DEV constants. ( #30383 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2025-12-31 08:32:55 +08:00
6ca44eea28
feat: integrate Google Analytics event tracking and update CSP for script sources ( #30365 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2025-12-30 18:06:47 +08:00
bf76f10653
fix: fix markdown escape issue ( #30299 )
2025-12-30 16:40:52 +08:00
1873b5a766
chore: remove useless __esModule ( #30366 )
2025-12-30 15:37:16 +08:00
2399d00d86
refactor(i18n): about locales ( #30336 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-30 14:38:23 +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
09be869f58
refactor(web): drop swr and migrate share/chat hooks to tanstack query ( #30232 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
2025-12-29 14:04:01 +08:00
c393d7a2dc
test(web): add unit tests for Avatar component ( #30201 )
2025-12-27 10:07:10 +08:00
e6e439f54c
feat(web): add unit tests for Badge component ( #30096 )
...
Signed-off-by: SherlockShemol <shemol@163.com >
2025-12-25 11:25:21 +08:00
29e7e822d7
test: Add comprehensive test suite for Chip component ( #30119 )
...
Signed-off-by: SherlockShemol <shemol@163.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-12-25 10:40:04 +08:00
3cbbb06dc4
chore(web): migrate lodash-es to es-toolkit compat ( #30126 )
2025-12-25 09:44:57 +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
b2b7e82e28
refactor(web): migrate log service to TanStack Query ( #30065 )
2025-12-24 15:25:28 +08:00
dcde854c5e
chore: some tests ( #30078 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-24 14:45:33 +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
04ad68de70
fix(chat): reset scroll state when switching conversations ( #29984 )
2025-12-23 09:45:47 +08:00
eabdc5f0eb
refactor(web): migrate to Vitest and esm ( #29974 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-22 16:35:22 +08:00
f8ccc75cde
fix: clear uploaded files when clicking clear button in workflow ( #29884 )
2025-12-22 09:40:01 +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
80f11471ae
perf: improve Jest caching and configuration in web tests ( #29881 )
2025-12-19 12:00:46 +08:00
ee4041a526
feat: show generate speed in chatbot ( #29602 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-18 15:13:09 +08:00
ae17537470
fix: mermaid graph ( #29811 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
2025-12-18 10:50:14 +08:00
eeb5129a17
refactor: create shared react-i18next mock to reduce duplication ( #29711 )
2025-12-16 12:45:17 +08:00
dd58d4a38d
fix: update chat wrapper components to use min-h instead of h for better responsiveness ( #29687 )
2025-12-15 21:15:55 +08:00
a8f3061b3c
fix: all upload files are disabled if upload file feature disabled ( #29681 )
2025-12-15 18:02:34 +08:00
d942adf3b2
feat: Enhance Amplitude tracking across various components ( #29662 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2025-12-15 15:25:10 +08:00
7fead6a9da
Add file upload enabled check and new i18n message ( #28946 )
2025-12-15 11:18:05 +08:00
bb157c93a3
fixes : #28300 Change the Citations banner in dark mode to fully opaque ( #28673 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-12-15 10:17:43 +08:00
05f63c88c6
feat: integrate Amplitude API key into layout and provider components ( #29546 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2025-12-12 11:49:12 +08:00