yyh
e323d583b3
refactor: Replace direct `process.env.NODE_ENV === 'development'` checks with `IS_DEV` constant.
2025-12-28 22:24:56 +08:00
yyh
7c8b58167f
refactor(web): optimize React Scan loading with dynamic import
...
Replace static import of React Scan with next/dynamic + ssr:false in layout.tsx.
This ensures React Scan code is excluded from the server-side bundle and only loaded in development, improving production performance.
2025-12-28 22:16:53 +08:00
yyh
6b4ac79f08
refactor(web): optimize devtools loading with React.lazy
...
Remove runtime IS_DEV check from devtools component to make it pure.
Implement lazy loading and dynamic import in query-client.tsx to enable proper tree-shaking for production builds.
2025-12-28 22:10:53 +08:00
yyh
a0bf35d4e5
refactor(web): migrate to unified TanStack Devtools
...
Migrate from standalone React Query Devtools to the unified TanStack Devtools container.
Integrate Query and Form devtools via plugins.
Add IS_DEV environment guard for devtools component.
2025-12-28 22:01:38 +08:00
wangxiaolei
bf56c2e9db
fix: fix custom tool content is not update ( #30250 )
2025-12-28 17:50:30 +08:00
Sara Rasool
b067ad2f0a
chore(web): remove unused dev-preview page ( #30226 )
...
Co-authored-by: Dev <dev@Devs-MacBook-Pro-4.local>
2025-12-28 03:01:57 +09:00
Wu Tianwei
b85564cae5
fix: remove unused CSS styles and fix HitTestingPage layout ( #30235 )
2025-12-28 03:00:30 +09:00
Shemol
c393d7a2dc
test(web): add unit tests for Avatar component ( #30201 )
2025-12-27 10:07:10 +08:00
Joel
8d26e6ab28
chore: some tests for components ( #30194 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-26 14:36:24 +08:00
wangxiaolei
fd64156f9d
feat: allow config NEXT_PUBLIC_BATCH_CONCURRENCY ( #30086 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-26 10:49:10 +08:00
wangxiaolei
b892906d71
fix: fix metadata filter not survive a rename ( #30174 )
2025-12-26 10:40:30 +08:00
Pleasure1234
f08d847c20
fix: add transparent border to prevent button size flickering ( #30128 )
2025-12-25 19:50:21 +08:00
lif
44fc0c614c
fix(web): correct deleted tools matching to use provider_id instead of id ( #30138 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-25 19:49:26 +08:00
Joel
0f3ffbee2c
chore: some test ( #30148 )
...
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-25 19:45:27 +08:00
Stephen Zhou
08d5eee993
fix: load i18n on server ( #30171 )
2025-12-25 19:13:59 +08:00
Coding On Star
f2555b0bb1
feat(refactoring): introduce comprehensive guidelines and tools for component refactoring in Dify ( #30162 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-25 18:19:28 +08:00
Joel
c3bb95d71d
fix: update permission in member list caused page crash ( #30164 )
2025-12-25 17:26:21 +08:00
Maries
0c4233e7df
fix(web): disable cache for trigger dynamic select options ( #30161 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 16:35:26 +08:00
JeeekXY
0f85ce3d0e
fix: prioritize copying selected text ( #30141 )
2025-12-25 16:22:42 +08:00
-LAN-
f5fdd02022
chore: bump version to 1.11.2 ( #30088 )
2025-12-25 16:16:24 +08:00
Joel
5549ab66ff
chore: some test ( #30144 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-25 15:34:24 +08:00
zxhlyh
fb14644a79
fix: workflow past version data sync ( #30139 )
2025-12-25 11:53:33 +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
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
yyh
3cbbb06dc4
chore(web): migrate lodash-es to es-toolkit compat ( #30126 )
2025-12-25 09:44:57 +08:00
Maries
02e0fadef7
feat: add editing support for trigger subscriptions ( #29957 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 19:15:54 +08:00
yyh
5896bc89f5
refactor(web): migrate workflow run history from useSWR to TanStack Query ( #30077 )
2025-12-24 18:21:01 +08:00
yyh
64a14dcdbc
fix(web): remove incorrect placeholderData usage in useExploreAppList ( #30102 )
2025-12-24 18:20:36 +08:00
Stephen Zhou
eb73f9a9b9
chore: no template string in translation ( #30101 )
2025-12-24 17:17:36 +08:00
yyh
18d69775ef
refactor(web): migrate explore app lists from useSWR to TanStack Query ( #30076 )
2025-12-24 17:03:43 +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
Joel
0f41924db4
chore: some tests ( #30084 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 16:17:59 +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
wangxiaolei
870a6427c9
feat: allow user close the tab to sync the draft ( #30034 )
2025-12-23 19:01:29 +08:00
Stephen Zhou
a3d4f4f3bd
chore: enable ts/no-explicit-any, remove no-unused-vars ( #30042 )
2025-12-23 18:26:02 +08:00
Stephen Zhou
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
Coding On Star
72ca3607a3
feat: Add polyfill for Array.prototype.toSpliced method ( #30031 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-23 17:48:20 +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
非法操作
9701a2994b
chore: Translate stray Chinese comment to English ( #30024 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-23 14:05:21 +08:00
非法操作
52ba2a1df9
fix: invite team member display issue ( #30011 )
2025-12-23 11:25:05 +08:00
lif
04ad68de70
fix(chat): reset scroll state when switching conversations ( #29984 )
2025-12-23 09:45:47 +08:00
GuanMu
c3b713d88a
fix: adjust padding in entry node container for better alignment ( #29999 )
2025-12-22 21:16:57 +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
dependabot[bot]
42f7ecda12
chore(deps): bump immer from 10.2.0 to 11.1.0 in /web ( #29969 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-22 13:15:10 +08:00
Guangjing Yan
f8ccc75cde
fix: clear uploaded files when clicking clear button in workflow ( #29884 )
2025-12-22 09:40:01 +08:00
Coding On Star
39ad9d1569
test: Adding missing tests or correcting existing tests ( #29937 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-19 17:49:51 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
Joel
89e4261883
chore: add some tests case code ( #29927 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Coding On Star <447357187@qq.com>
2025-12-19 16:04:23 +08:00
yyh
2efdb7b887
fix: workflow log search input controlled state ( #29930 )
2025-12-19 15:52:21 +08:00