e71ebc19e6
Merge branch 'main' into refactor/migrate-app-detail-to-tanstack-query
2026-01-19 11:17:02 +08:00
19137c173f
Merge remote-tracking branch 'origin/main' into refactor/migrate-app-detail-to-tanstack-query
...
# Conflicts:
# web/app/components/app/switch-app-modal/index.spec.tsx
# web/app/components/workflow-app/components/workflow-header/features-trigger.spec.tsx
# web/app/components/workflow-app/components/workflow-header/index.spec.tsx
2026-01-19 11:14:52 +08:00
269c85d5a3
feat: ee workspace permission control ( #30841 )
2026-01-19 11:06:04 +08:00
e8397ae7a8
fix(web): Zustand testing best practices and state read optimization ( #31163 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-19 10:31:34 +08:00
e69f1a1f46
fix: use useInvalidateAppDetail hook in app-card.tsx for consistency
2026-01-18 23:55:30 +08:00
14f0c5dd38
fix: use useInvalidateAppDetail hook in card-view.tsx for consistency
2026-01-18 23:53:49 +08:00
23f1adc833
fix: restore mobile sidebar collapse behavior after appDetail loads
...
Merge the two sidebar useEffects to prevent race condition where
appDetail loading could override the mobile collapse state.
Now mobile always collapses regardless of when appDetail resolves.
2026-01-18 23:47:48 +08:00
1fe46ce0b8
fix: update test files to use TanStack Query pattern for appDetail
...
Update test files to reflect the appDetail migration from Zustand to TanStack Query:
- Replace setAppDetail mocks with useInvalidateAppDetail
- Add useParams mock from next/navigation
- Add useAppDetail mock from @/service/use-apps
- Remove deprecated fetchAppDetail + setAppDetail patterns
- Fix marketplace test mock data types
2026-01-18 23:46:14 +08:00
b3acb74331
fix: address code review issues from appDetail migration
...
- app-info.tsx: use useInvalidateAppDetail hook instead of local queryClient call
- app-publisher.tsx: convert isAppAccessSet from useEffect+useState to useMemo
- Prune unused eslint suppressions
2026-01-18 23:11:54 +08:00
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
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
cd497a8c52
fix(web): use portal for variable picker in code editor ( Fixes #31063 ) ( #31066 )
2026-01-16 13:31:57 +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
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
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
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
42f991dbef
chore(web): disable Serwist dev logs ( #30980 )
2026-01-14 16:23:58 +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
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
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
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
9848823dcd
feat: implement step two of dataset creation with comprehensive UI components and hooks ( #30681 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-09 10:21:18 +08:00
91d44719f4
fix(web): resolve chat message loading race conditions and infinite loops ( #30695 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-01-08 18:05:32 +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
c5b99ebd17
fix: web app login code encrypt ( #30705 )
2026-01-07 18:04:42 -08:00
27a803a6f0
fix(web): resolve key-value input box height inconsistency on focus/blur ( #30715 ) ( #30716 )
2026-01-08 09:54:27 +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
160b4d194b
fix: signin page stuck on loading when refresh token valid but access token expired ( #30675 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-07 14:20:38 +08:00