04f85b0ff2
refactor(web): defer state reads to usage point for Zustand stores
...
Apply "defer state reads to usage point" principle to fix real
anti-patterns where state properties were subscribed but only used
in callbacks, not in JSX render:
- env-panel/variable-modal.tsx: envList, envSecrets -> getState()
- chat-variable-panel/variable-modal.tsx: varList -> getState()
- publish-as-knowledge-pipeline-modal.tsx: knowledgeName, knowledgeIcon
-> lazy useState initialization with getState()
- rag-pipeline-header/index.tsx: remove unused showDebugAndPreviewPanel
subscription and dead code cleanup
2026-01-18 01:46:51 +08:00
ec114b15dc
test(web): refactor tests to use real Zustand stores with global mock
...
Migrate test files from manual store mocks to real stores with global
zustand mock auto-reset between tests. Use store.setState() to set
test state and check store state directly or use spies for assertions.
2026-01-18 01:46:51 +08:00
7b66bbc35a
chore: introduce bulk-suppressions and multithread linting ( #31157 )
2026-01-17 19:51:56 +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
e3b0918dd9
test(web): add global zustand mock for tests ( #31149 )
2026-01-17 17:29:13 +08:00
fad6fa141d
chore: improve accessibility for learn more link ( #31120 )
...
Co-authored-by: khmandarrin <jeong-ga-eun@jeong-ga-eun-ui-MacBookAir.local >
2026-01-16 18:12:07 +08:00
6903c31b84
fix(search-input): retain focus after clearing input ( #31107 )
2026-01-16 16:22:14 +08:00
e9f0e1e839
fix(web): replace Response.json with legacy Response constructor for pre-Chrome 105 compatibility( #31091 ) ( #31095 )
...
Co-authored-by: Xiaoba Yu <xb1823725853@gmail.com >
2026-01-16 14:26:23 +08:00
cd497a8c52
fix(web): use portal for variable picker in code editor ( Fixes #31063 ) ( #31066 )
2026-01-16 13:31:57 +08:00
7aab4529e6
chore: lint for state hooks ( #31088 )
2026-01-16 11:58:28 +08:00
4bff0cd0ab
fix: resolve 'Expand all chunks' button not working ( #31074 )
...
Co-authored-by: GlobalStar117 <GlobalStar117@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com >
2026-01-16 11:34:42 +08:00
c98870c3f4
refactor: always preserve marketplace search state in URL ( #31069 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-16 08:52:53 +09:00
1a2fce7055
ci: eslint annotation ( #31056 )
2026-01-15 21:49:46 +08:00
2b021e8752
fix: remove hardcoded 48-character limit from text inputs ( #30156 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-01-15 17:43:00 +08:00
ab1c5a2027
refactor: remove manual set query logic ( #31039 )
2026-01-15 15:25:43 +08:00
0ef8b5a0ca
chore: bump version to 1.11.4 ( #30961 )
2026-01-15 11:36:15 +08:00
bdd8d5b470
test: add unit tests for PluginPage and related components ( #30908 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-15 10:56:02 +08:00
3bee2ee067
refactor(contract): restructure console contracts with nested billing module ( #30999 )
2026-01-15 10:41:18 +08:00
328897f81c
build: require node 24.13.0 ( #30945 )
2026-01-15 10:38:55 +08:00
ab078380a3
feat(web): refactor documents component structure and enhance functionality ( #30854 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-15 10:33:58 +08:00
a33ac77a22
feat: implement document creation pipeline with multi-step wizard and datasource management ( #30843 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-15 10:33:48 +08:00
c6999fb5be
fix: fix plugin edit endpoint app disappear ( #30951 )
2026-01-15 10:09:57 +08:00
11f1782df0
fix: correct API Extension documentation link ( #30962 )
2026-01-14 21:21:15 +09:00
8cf5d9a6a1
fix: fix Cannot destructure property 'name' of 'value' as it is undef… ( #30991 )
2026-01-14 19:30:47 +08:00
f33b1a3332
fix: redirect after login ( #30985 )
2026-01-14 17:20:49 +08:00
18e051bd66
chore(web): remove unused demo service component ( #30979 )
2026-01-14 17:03:35 +08:00
42f991dbef
chore(web): disable Serwist dev logs ( #30980 )
2026-01-14 16:23:58 +08:00
b1b2c9636f
fix(web): preserve HTTP method in ORPC fetchCompat mode ( #30971 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-14 16:18:12 +08:00
14b2e5bd0d
refactor(web): MCP tool availability to context-based version gating ( #30955 )
2026-01-14 13:40:16 +08:00
d095bd413b
fix: fix LOOP_CHILDREN_Z_INDEX ( #30719 )
2026-01-14 10:22:31 +08:00
91da784f84
refactor: init orpc contract ( #30885 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-01-13 23:38:28 +09:00
a22cc5bc5e
chore: Bump Dify version to 1.11.3 ( #30903 )
2026-01-13 17:49:13 +08:00
1fbdf6b465
refactor(web): setup status caching ( #30798 )
2026-01-13 16:59:49 +08:00
0e33dfb5c2
fix: In the LLM model in dify, when a message is added, the first cli… ( #29540 )
...
Co-authored-by: 青枕 <qingzhen.ww@alibaba-inc.com >
2026-01-13 15:42:32 +08:00
ea708e7a32
fix(web): add null check for SSE stream bufferObj to prevent TypeError ( #30131 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-13 15:40:43 +08: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
9ee71902c1
fix: fix formatNumber accuracy ( #30877 )
2026-01-13 11:51:15 +08:00
a012c87445
fix: entrypoint.sh overrides NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS when TEXT_GENERATION_TIMEOUT_MS is unset ( #30864 ) ( #30865 )
2026-01-13 10:12:51 +08:00
00698e41b7
build: limit esbuild, glob, docker base version to avoid cve ( #30848 )
2026-01-12 15:33:20 +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
220e1df847
docs(web): add corepack recommendation ( #30837 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-12 12:44:30 +08:00
31a8fd810c
chore(deps-dev): bump @storybook/react from 9.1.13 to 9.1.17 in /web ( #30833 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-12 12:44:11 +08:00
0c2729d9b3
fix: fix refresh token deadlock ( #30828 )
2026-01-12 09:35:31 +08:00
a2e03b811e
fix: Broken import in .storybook/preview.tsx ( #30812 )
2026-01-10 19:49:23 +08:00
8b1af36d94
feat(web): migrate PWA to Serwist ( #30808 )
2026-01-10 17:16:18 +09:00
0711dd4159
feat: enhance start node object value check ( #30732 )
2026-01-09 16:13:17 +08:00
d4432ed80f
refactor: marketplace state management ( #30702 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-09 14:31:24 +08:00
9d9f027246
fix(web): invalidate app list cache after deleting app from detail page ( #30751 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
2026-01-09 14:08:37 +08:00
77f097ce76
fix: fix enhance app mode check ( #30758 )
2026-01-09 14:07:40 +08:00
98df99b0ca
feat(embedding-process): implement embedding process components and polling logic ( #30622 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-09 10:21:27 +08:00