Stephen Zhou
13346f2874
Merge branch 'main' into deploy/dev
2025-12-30 16:45:34 +08:00
wangxiaolei
bf76f10653
fix: fix markdown escape issue ( #30299 )
2025-12-30 16:40:52 +08:00
CodingOnStar
d330aaf57a
refactor: comment out conditional checks in AmplitudeProvider and GA components
...
- Commented out the checks for Amplitude and Google Analytics to allow for easier testing and integration.
- This change does not affect the functionality but prepares the components for further enhancements.
2025-12-30 16:28:14 +08:00
Stephen Zhou
1873b5a766
chore: remove useless __esModule ( #30366 )
2025-12-30 15:37:16 +08:00
CodingOnStar
6ed630db15
Merge branch 'feat/utm-amp' into deploy/dev
2025-12-30 14:52:07 +08:00
Coding On Star
344e0a3318
Merge branch 'main' into feat/utm-amp
2025-12-30 14:42:33 +08:00
CodingOnStar
59772c2493
feat: integrate Google Analytics event tracking and update CSP for script sources
...
- Added types for Google Analytics gtag and implemented event tracking in user registration flows.
- Updated Content Security Policy to allow 'wasm-unsafe-eval' in script sources.
- Refactored GA component to improve nonce handling and script loading strategy.
- Cleaned up UTM info cookies after successful user registration.
2025-12-30 14:39:28 +08:00
Stephen Zhou
2399d00d86
refactor(i18n): about locales ( #30336 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-30 14:38:23 +08:00
Stephen Zhou
a6b94f11e5
Merge branch 'main' into deploy/dev
2025-12-30 11:49:47 +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
yyh
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
Shemol
c393d7a2dc
test(web): add unit tests for Avatar component ( #30201 )
2025-12-27 10:07:10 +08:00
Coding On Star
9aee14f4f8
Merge branch 'main' into feat/model-total-credits
2025-12-25 15:13:57 +08:00
Shemol
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
CodingOnStar
b033002d9f
add TONGYI icon
2025-12-25 11:15:53 +08:00
Shemol
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
CodingOnStar
a0fde9f012
Merge remote-tracking branch 'origin/main' into feat/model-total-credits
2025-12-25 10:22:40 +08:00
yyh
3cbbb06dc4
chore(web): migrate lodash-es to es-toolkit compat ( #30126 )
2025-12-25 09:44:57 +08:00
Stephen Zhou
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
yyh
b2b7e82e28
refactor(web): migrate log service to TanStack Query ( #30065 )
2025-12-24 15:25:28 +08:00
Joel
dcde854c5e
chore: some tests ( #30078 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-24 14:45:33 +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
lif
04ad68de70
fix(chat): reset scroll state when switching conversations ( #29984 )
2025-12-23 09:45:47 +08:00
CodingOnStar
8cd69899b4
Merge remote-tracking branch 'origin/main' into feat/model-total-credits
2025-12-22 17:47:12 +08:00
Stephen Zhou
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
Guangjing Yan
f8ccc75cde
fix: clear uploaded files when clicking clear button in workflow ( #29884 )
2025-12-22 09:40:01 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
Coding On Star
8d884aad29
Merge branch 'main' into feat/model-total-credits
2025-12-19 14:56:10 +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
yyh
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
-LAN-
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
CodingOnStar
44524760ee
Merge remote-tracking branch 'origin/main' into feat/model-total-credits
2025-12-16 15:51:35 +08:00
yyh
eeb5129a17
refactor: create shared react-i18next mock to reduce duplication ( #29711 )
2025-12-16 12:45:17 +08:00
hangboss1761
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
Joel
a8f3061b3c
fix: all upload files are disabled if upload file feature disabled ( #29681 )
2025-12-15 18:02:34 +08:00
Coding On Star
d942adf3b2
feat: Enhance Amplitude tracking across various components ( #29662 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-15 15:25:10 +08:00
Gen Sato
7fead6a9da
Add file upload enabled check and new i18n message ( #28946 )
2025-12-15 11:18:05 +08:00
Rickon-dev
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
Coding On Star
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
Joel
91e5db3e83
chore: Advance the timing of the dataset payment prompt ( #29497 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-11 15:49:42 +08:00
Coding On Star
7344adf65e
feat: add Amplitude API key to Docker entrypoint script ( #29477 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-11 14:44:12 +08:00
Wu Tianwei
bafd093fa9
fix: Add dataset file upload restrictions ( #29397 )
...
Co-authored-by: kurokobo <kuro664@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-10 16:41:05 +08:00
yyh
022cfbd186
refactor: remove isMobile prop from Chat and TryToAsk components ( #29319 )
2025-12-09 15:11:05 +08:00
Wu Tianwei
14d1b3f9b3
feat: multimodal support (image) ( #27793 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 11:44:50 +08:00
非法操作
48efd2d174
fix: try-to-ask misalign ( #29309 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-09 11:00:37 +08:00
Coding On Star
fbb2d076f4
integrate Amplitude analytics into the application ( #29049 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-12-03 14:22:12 +08:00
非法操作
c7d2a13524
fix: improve chat message log feedback ( #29045 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-03 13:42:40 +08:00
yyh
f8b10c2272
Refactor apps service toward TanStack Query ( #29004 )
2025-12-02 15:18:33 +08:00