7c34d9bf88
fix(web): harden try-app requirements icon resolution
2026-02-14 14:31:27 +08:00
d00367c7c9
fix(web): prevent false 404 during installed app refetch
...
- keep loading state when installed app list is refetching without a matched id
- align installed-app tests with TanStack Query isPending semantics
- add refetch regression assertions to avoid early 404 fallback
2026-02-14 14:14:51 +08:00
8e7eb645d9
fix(explore): guard try-app modal data and dedupe close action
2026-02-14 13:55:48 +08:00
273b198174
fix(explore): align try-app view with tab availability
2026-02-14 13:36:09 +08:00
d32e23f877
refactor(web): remove ExploreContext and migrate to derived state with oRPC contracts
...
Replace ExploreContext with derived permission checks using useAppContext
and useMembers, eliminating redundant state synchronization. Add oRPC
contract for explore endpoints, extract TryAppSelection type, and migrate
app-publisher icons from @remixicon/react components to CSS icon classes.
Update all related tests to reflect the new context-free architecture.
2026-02-14 13:24:10 +08:00
42b3ba92c6
Merge branch 'main' of https://github.com/langgenius/dify into fix/explore-app-anti-pattern
2026-02-14 13:02:51 +08:00
063f6562cb
refactor(web): remove React Query state sync anti-pattern from ExploreContext
...
Eliminate useEffect-based synchronization of React Query server state
into React Context, which caused extra renders, state drift, and
incorrect loading/empty states on the /explore/apps page.
- Remove installedApps, isFetchingInstalledApps, and
controlUpdateInstalledApps from ExploreContext (dead code + anti-pattern)
- Sidebar and InstalledApp now consume useGetInstalledApps() directly
- Use isLoading (not isPending) for conditionally-enabled queries to
avoid permanent loading state when query is disabled
- Derive hasEditPermission during render instead of via useEffect
- Replace FC type annotations with const arrow functions
- Add return type to fetchInstalledAppList
- Update all related unit and integration tests
2026-02-14 13:02:10 +08:00
faf5166c67
test: add unit tests for base chat components ( #32249 )
2026-02-14 12:50:27 +08:00
210710e76d
refactor(web): extract custom hooks from complex components and add comprehensive tests ( #32301 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-13 17:21:34 +08:00
98466e2d29
test: add tests for some base components ( #32265 )
2026-02-13 14:29:04 +08:00
a4e03d6284
test: add integration tests for app card operations, list browsing, and create app flows ( #32298 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-13 13:21:09 +08:00
84d090db33
test: add unit tests for base components-part-1 ( #32154 )
2026-02-13 11:14:14 +08:00
b6d506828b
test(web): add and enhance frontend automated tests across multiple modules ( #32268 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-13 10:27:48 +08:00
8fd3eeb760
fix: can not upload file in single run ( #32276 )
2026-02-12 17:23:01 +08:00
f233e2036f
fix: metadata batch edit silently fails due to split transactions and swallowed exceptions ( #32041 )
2026-02-12 12:59:59 +08:00
3fd1eea4d7
feat(tests): add integration tests for explore app list, installed apps, and sidebar lifecycle flows ( #32248 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-12 10:29:03 +08:00
b65678bd4c
test: add comprehensive unit and integration tests for RAG Pipeline components ( #32237 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-12 10:28:55 +08:00
bfdc39510b
test: add unit and integration tests for share, develop, and goto-anything modules ( #32246 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-12 10:05:43 +08:00
80e6312807
test: add comprehensive unit and integration tests for billing components ( #32227 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-12 10:05:06 +08:00
d6b025e91e
test(web): add comprehensive unit and integration tests for plugins and tools modules ( #32220 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-12 10:04:56 +08:00
10f85074e8
test: add comprehensive unit and integration tests for dataset module ( #32187 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-12 10:00:32 +08:00
f953331f91
test: add unit tests for some base components ( #32201 )
2026-02-12 09:51:18 +08:00
b4fec9b7aa
fix: hide invite button if current user is not workspace manager ( #31744 )
2026-02-11 16:31:12 +08:00
5b4c7b2a40
feat(tests): add mock for useInvalidateWorkflowRunHistory in pipeline run tests ( #32234 )
2026-02-11 14:51:43 +08:00
378a1d7d08
Merge commit from fork
...
Removed the dangerous `new function` call during echarts parsing and replaced with an error message.
Co-authored-by: Byron Wang <byron@linux.com >
2026-02-11 14:22:30 +08:00
e32490f54e
feat(workflow): enhance workflow run history management and UI updates ( #32230 )
2026-02-11 14:09:33 +08:00
abc5a61e98
feat: support nl-NL language ( #32216 )
2026-02-11 10:42:13 +08:00
16b8733886
fix: Fix the display of state icon of base node ( #32208 )
2026-02-10 22:45:56 +08:00
5077879886
chore: allow draft run single node without connect to other node ( #31977 )
2026-02-10 18:03:52 +08:00
f355c8d595
refactor: type safe env, update to zod v4 ( #32035 )
2026-02-10 17:55:11 +08:00
4058e9ae23
refactor: extract sub-components and custom hooks from UpdateDSLModal and Metadata components ( #32045 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-10 17:26:08 +08:00
de33561a52
test: add comprehensive tests for Human Input Node functionality ( #32191 )
2026-02-10 17:00:46 +08:00
6d9665578b
fix: replace sendBeacon with fetch keepalive for autosave on page close ( #32088 )
...
Signed-off-by: Varun Chawla <varun_6april@hotmail.com >
2026-02-10 16:59:02 +08:00
18f14c04dc
fix(web): fill workflow tool output descriptions from schema ( #32117 )
2026-02-10 16:51:28 +08:00
1819bd72ef
refactor: import component css in globals.css ( #32180 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-10 13:55:42 +08:00
898e09264b
chore: detect utilities in css ( #32143 )
2026-02-09 18:20:09 +08:00
4e0a7a7f9e
chore: fix type for useTranslation in #i18n ( #32134 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-09 16:42:53 +08:00
e4ab6e0919
style: update banner item styles and enhance dark/light theme variables ( #32111 )
...
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>
2026-02-09 15:32:40 +08:00
a1fc280102
feat: Human Input Node ( #32060 )
...
The frontend and backend implementation for the human input node.
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zhsama <torvalds@linux.do >
2026-02-09 14:57:23 +08:00
6c63c6a221
fix: pass user timezone from app context to the date picker component. ( #31831 )
...
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-02-09 14:10:24 +08:00
5b06203ef5
feat: Service API - add end-user lookup endpoint ( #32015 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 14:01:22 +08:00
0428ac5f3a
test: stable test ( #32108 )
2026-02-09 13:36:37 +08:00
bdf6739b86
fix: search model provider list ( #32106 )
2026-02-09 10:35:40 +08:00
c185a51bad
fix: remove unexpected scrollbar in KB Retrieval settings ( #32082 )
2026-02-07 13:23:01 +08:00
a297b06aac
fix: fix tool type is miss ( #32042 )
2026-02-06 14:38:15 +08:00
7202a24bcf
chore: migrate to eslint-better-tailwind ( #31969 )
2026-02-05 18:36:08 +09:00
9e54f086dc
fix(web): add rewrite rule to fix Serwist precaching 404 errors ( #31770 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-05 15:42:18 +08:00
8c31b69c8e
chore: sticky the applist header in explore page ( #31967 )
2026-02-05 14:44:51 +08:00
ef0d18bb61
test: fix test ( #31975 )
2026-02-05 14:31:21 +08:00
f686197589
feat: use latest hash to sync draft ( #31924 )
2026-02-04 19:32:36 +08:00