2d979e2cec
fix(web): silence toast for model parameter rules fetch on missing provider
...
Add silent option to useModelParameterRules API call so uninstalled
provider errors are swallowed instead of surfacing a raw backend toast.
2026-03-09 16:17:09 +08:00
5cee7cf8ce
feat(web): add LLM model plugin check to workflow checklist
...
Detect uninstalled model plugins for LLM nodes in the checklist and
publish-gate. Migrate ChecklistItem.errorMessage to errorMessages[]
so a single node can surface multiple validation issues at once.
- Extract shared extractPluginId utility for checklist and prompt editor
- Build installed-plugin Set (O(1) lookup) from ProviderContext
- Remove short-circuit between checkValid and variable validation
- Sync the same check into handleCheckBeforePublish
- Adapt node-group, use-last-run, and test assertions
2026-03-09 16:16:16 +08:00
0c17823c8b
fix
2026-03-09 15:38:46 +08:00
49c6696d08
fix: use css icons
2026-03-09 15:27:08 +08:00
292c98a8f3
refactor(web): redesign workflow checklist panel with grouped tree view and Popover primitive
...
Migrate checklist from flat card list using deprecated PortalToFollowElem to
grouped tree view using base-ui Popover. Split into checklist/ directory with
separate components: plugin group with batch install, per-node groups with
sub-items and "Go to fix" hover action, and tree-line SVG indicators.
2026-03-09 15:23:34 +08:00
0e0a6ad043
test(web): enhance unit tests for credential and popup components
...
- Updated tests for CredentialItem to improve delete button interaction and check icon rendering.
- Enhanced PopupItem tests by mocking credential panel state for various scenarios, ensuring accurate rendering based on credit status.
- Adjusted Popup tests to include trial credits mock for better coverage of credit management logic.
- Refactored model list item tests to include wrapper for consistent rendering context.
2026-03-09 14:20:12 +08:00
456c95adb1
refactor(web): trigger error tooltip on entire variable badge hover
2026-03-09 14:03:52 +08:00
1abbaf9fd5
feat(web): differentiate invalid variable tooltips by model plugin status
...
Replace the generic "Invalid variable" message in prompt editor variable
labels with two context-aware messages: one for missing nodes and another
for uninstalled model plugins. Add useLlmModelPluginInstalled hook that
checks LLM node model providers against installed providers via
useProviderContextSelector. Migrate Tooltip usage to base-ui primitives
and replace RiErrorWarningFill with Warning icon in warning color.
2026-03-09 14:02:26 +08:00
1a26e1669b
refactor(web): streamline PopupItem component for credit management
...
- Removed unused context and variables related to workspace and custom configuration.
- Simplified credit usage logic by leveraging state management for better clarity and performance.
- Enhanced readability by restructuring the code for determining credit status and API key activity.
2026-03-09 13:10:29 +08:00
02444af2e3
feat(web): enhance Popup and CreditsFallbackAlert components for better credit management
...
- Integrated trial credits check in the Popup component to conditionally display the CreditsExhaustedAlert.
- Updated the CreditsFallbackAlert to show a message only when API keys are unavailable.
- Removed the fallback description from translation files as it is no longer used.
2026-03-09 12:57:41 +08:00
56038e3684
feat(web): update credits fallback alert to include new description for no API keys
...
- Modified the CreditsFallbackAlert component to display a different message based on the presence of API keys.
- Added a new translation key for the fallback description in both English and Chinese JSON files.
2026-03-09 12:34:41 +08:00
eb9341e7ec
feat(web): integrate CreditsCoin icon in PopupItem for enhanced UI
...
- Replaced the existing credits coin span with the CreditsCoin component for improved visual consistency.
- Updated imports to include the new CreditsCoin icon component.
2026-03-09 12:28:13 +08:00
e40b31b9c4
refactor(web): enhance model selector functionality and improve UI consistency
...
- Removed unnecessary ESLint suppressions for better code quality.
- Updated the ModelParameterModal and ModelSelector components to ensure consistent class ordering.
- Added onHide prop to ModelSelector for better control over dropdown visibility.
- Introduced useChangeProviderPriority hook to manage provider priority changes more effectively.
- Integrated CreditsExhaustedAlert in the Popup component to handle API key status more gracefully.
2026-03-09 12:24:54 +08:00
b89ee4807f
Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing
...
# Conflicts:
# web/app/components/header/account-setting/model-provider-page/index.spec.tsx
# web/app/components/header/account-setting/model-provider-page/model-modal/index.spec.tsx
# web/app/components/header/account-setting/model-provider-page/model-selector/popup-item.spec.tsx
# web/app/components/header/account-setting/model-provider-page/model-selector/popup.spec.tsx
# web/app/components/header/account-setting/model-provider-page/provider-added-card/credential-panel.spec.tsx
# web/app/components/header/account-setting/model-provider-page/provider-added-card/index.spec.tsx
# web/app/components/header/account-setting/model-provider-page/provider-added-card/quota-panel.spec.tsx
# web/app/components/header/account-setting/model-provider-page/system-model-selector/index.spec.tsx
2026-03-09 12:12:27 +08:00
0590b09958
feat(web): add context menu primitive and dropdown link item ( #33125 )
2026-03-09 12:05:38 +08:00
66f9fde2fe
fix: fix metadata filter condition not extract from {{}} ( #33141 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-09 11:51:08 +08:00
1811a855ab
chore: update vinext, agentation, remove Prism in lexical ( #33142 )
2026-03-09 11:40:04 +08:00
322cd37de1
fix: handle backslash path separators in DOCX ZIP entries exported on…( #33129 ) ( #33131 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-09 10:49:42 +08:00
2cc0de9c1b
test: unit test case for controllers.common module ( #32056 )
2026-03-09 09:45:42 +08:00
46098b2be6
refactor: use thread.Timer instead of time.sleep ( #33121 )
2026-03-09 09:38:16 +08:00
7dcf94f48f
test: remaining header component and increase branch coverage ( #33052 )
...
Co-authored-by: sahil <sahil@infocusp.com >
2026-03-09 09:18:11 +08:00
7869551afd
fix(web): stabilize dayjs timezone tests against DST transitions ( #33134 )
2026-03-09 09:16:45 +08:00
9907cf9e06
Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing
2026-03-08 22:27:42 +08:00
c925d17e8f
chore: add TypedDict related prompt to api/AGENTS.md ( #33116 )
2026-03-08 07:03:52 +09:00
208a31719f
Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing
2026-03-08 01:10:51 +08:00
dc2a53d834
feat: add files to message end pr32019 ( #32242 )
...
Co-authored-by: fatelei <fatelei@gmail.com >
Co-authored-by: angel.k <angel.kolev@solaredge.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-07 20:01:12 +08:00
05ab107e73
feat: add export app messages ( #32990 )
2026-03-07 11:27:15 +08:00
3d1ef1f7f5
Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing
2026-03-06 21:45:37 +08:00
c016793efb
refactor: pass KnowledgeConfiguration directly instead of dict ( #32732 )
...
Co-authored-by: pepsi <pepsi@pepsidexuniji.local >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-06 22:15:32 +09:00
a5bcbaebb7
feat(toast): add IToastProps type import to enhance type safety ( #33096 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-03-06 19:22:55 +08:00
24b14e2c1a
Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing
2026-03-06 19:00:17 +08:00
f50e44b24a
test: improve coverage for some test files ( #32916 )
...
Signed-off-by: edvatar <88481784+toroleapinc@users.noreply.github.com >
Signed-off-by: -LAN- <laipz8200@outlook.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: majiayu000 <1835304752@qq.com >
Co-authored-by: Poojan <poojan@infocusp.com >
Co-authored-by: sahil-infocusp <73810410+sahil-infocusp@users.noreply.github.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: Pandaaaa906 <ye.pandaaaa906@gmail.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: heyszt <270985384@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Ijas <ijas.ahmd.ap@gmail.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 木之本澪 <kinomotomiovo@gmail.com >
Co-authored-by: KinomotoMio <200703522+KinomotoMio@users.noreply.github.com >
Co-authored-by: 不做了睡大觉 <64798754+stakeswky@users.noreply.github.com >
Co-authored-by: User <user@example.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: edvatar <88481784+toroleapinc@users.noreply.github.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Leilei <138381132+Inlei@users.noreply.github.com >
Co-authored-by: HaKu <104669497+haku-ink@users.noreply.github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: wangxiaolei <fatelei@gmail.com >
Co-authored-by: Varun Chawla <34209028+veeceey@users.noreply.github.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: tda <95275462+tda1017@users.noreply.github.com >
Co-authored-by: root <root@DESKTOP-KQLO90N>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
Co-authored-by: Niels Kaspers <153818647+nielskaspers@users.noreply.github.com >
Co-authored-by: hj24 <mambahj24@gmail.com >
Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com >
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com >
Co-authored-by: slegarraga <64795732+slegarraga@users.noreply.github.com >
Co-authored-by: 99 <wh2099@pm.me >
Co-authored-by: Br1an <932039080@qq.com >
Co-authored-by: L1nSn0w <l1nsn0w@qq.com >
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai >
Co-authored-by: akkoaya <151345394+akkoaya@users.noreply.github.com >
Co-authored-by: 盐粒 Yanli <yanli@dify.ai >
Co-authored-by: lif <1835304752@qq.com >
Co-authored-by: weiguang li <codingpunk@gmail.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: HanWenbo <124024253+hwb96@users.noreply.github.com >
Co-authored-by: Coding On Star <447357187@qq.com >
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Stable Genius <stablegenius043@gmail.com >
Co-authored-by: Stable Genius <259448942+stablegenius49@users.noreply.github.com >
Co-authored-by: ふるい <46769295+Echo0ff@users.noreply.github.com >
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com >
2026-03-06 18:59:16 +08:00
09347d5e8b
chore: fix account dropdown test ( #33093 )
2026-03-06 18:19:02 +08:00
53f122f717
Merge branch 'feat/model-provider-refactor' into feat/model-plugins-implementing
2026-03-06 17:33:38 +08:00
299a893ac5
chore: bring back code-inspector-plugin and agentation ( #33088 )
...
Co-authored-by: zhsama <zhsama@users.noreply.github.com >
2026-03-06 17:01:18 +08:00
fced2f9e65
refactor: enhance plugin management UI with error handling, improved rendering, and new components
2026-03-06 16:27:26 +08:00
c477571553
perf: no longer record install count for auto upgrade ( #33086 )
2026-03-06 16:19:30 +08:00
d01acfc490
fix(api): fix the issue that workflow_runs.started_at is overwritten while resuming ( #32851 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-06 15:41:30 +08:00
0c08c4016d
Merge remote-tracking branch 'origin/main' into feat/model-provider-refactor
2026-03-06 14:57:48 +08:00
f05f0be55f
chore: use react-grab to replace code-inspector-plugin ( #33078 )
2026-03-06 14:54:24 +08:00
ff4e4a8d64
refactor: enhance model trigger component with internationalization support and improved tooltip handling
2026-03-06 14:50:23 +08:00
948efa129f
Merge remote-tracking branch 'origin/main' into feat/model-provider-refactor
2026-03-06 14:47:56 +08:00
e74cda6535
feat(tasks): isolate summary generation to dedicated dataset_summary queue ( #32972 )
2026-03-06 14:35:28 +08:00
0490756ab2
chore: add support email env ( #33075 )
2026-03-06 14:29:29 +08:00
e371bfd676
refactor: enhance model provider management with new icons, improved UI elements, and marketplace integration
2026-03-06 14:18:29 +08:00
dc31b07533
fix(type-check): resolve missing-attribute in app dataset join update handler ( #33071 )
2026-03-06 11:45:51 +08:00
d1eaa41dd1
fix(i18n): correct French translation of "disabled" from medical term to UI-appropriate term ( #33067 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-03-06 09:57:43 +08:00
7ffa6c1849
fix: conversation var unexpected reset after HITL node ( #32936 )
2026-03-06 09:57:09 +08:00
ad81513b6a
fix: show citations in advanced chat apps ( #32985 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-06 09:56:14 +08:00
f751864ab3
fix(api): return inserted ids from Chroma and Clickzetta add_texts ( #33065 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-06 09:49:53 +08:00