Harry
dab4e521af
feat(trigger): enhance trigger event handling and introduce new debug event polling
...
- Refactored the `DraftWorkflowTriggerNodeApi` and related services to utilize the new `TriggerService` for polling debug events, improving modularity and clarity.
- Added `poll_debug_event` methods in `TriggerService`, `ScheduleService`, and `WebhookService` to streamline event handling for different trigger types.
- Introduced `ScheduleDebugEvent` and updated `PluginTriggerDebugEvent` to include a more structured approach for event data.
- Enhanced the `invoke_trigger_event` method to improve error handling and data validation during trigger invocations.
- Updated frontend API calls to align with the new event structure, removing deprecated parameters for cleaner integration.
2025-10-15 11:04:09 +08:00
yessenia
4ec23eea00
fix: add i18n key
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2025-10-14 21:23:24 +08:00
zhsama
c1ba83f0d4
feat(trigger): add validation for subscription in PluginTrigger node
2025-10-14 18:13:02 +08:00
zhsama
d71200ee32
feat: enhance block selector and change block components with flow type handling
2025-10-14 16:42:21 +08:00
zhsama
bf42386c5b
feat(trigger): add PluginTrigger node support and enhance output variable handling
2025-10-14 11:55:12 +08:00
lyzno1
49af7eb370
fix(trigger-schedule): make timezone field optional to match actual usage
2025-10-13 17:28:40 +08:00
lyzno1
8e235dc92c
feat(workflow): hide timezone in node next execution, keep in panel next 5 executions
2025-10-13 17:28:40 +08:00
lyzno1
3b3963b055
refactor(workflow): remove timezone required validation as it is auto-filled by use-config
2025-10-13 17:28:40 +08:00
lyzno1
378c2afcd3
fix(workflow): remove hardcoded UTC timezone from new schedule node to use user timezone
2025-10-13 17:28:40 +08:00
lyzno1
99d9657af8
feat(workflow): integrate timezone display into execution time format for better readability
2025-10-13 17:28:40 +08:00
lyzno1
62efdd7f7a
fix(workflow): preserve saved timezone in trigger-schedule to match backend fixed-timezone design
2025-10-13 17:28:39 +08:00
lyzno1
ebcf98c137
revert(workflow): remove timezone label from trigger-schedule node display
2025-10-13 17:28:39 +08:00
lyzno1
920a608e5d
fix(trigger-schedule): prevent timezone label truncation in node
...
- Change layout to ensure timezone label always visible with shrink-0
- Time text can truncate but timezone label stays intact
- Improves readability in constrained node space
2025-10-13 17:28:39 +08:00
lyzno1
4dfb8b988c
feat(time-picker): add showTimezone prop with comprehensive tests
...
- Add showTimezone prop to TimePickerProps for optional inline timezone display
- Integrate TimezoneLabel component into TimePicker when showTimezone=true
- Add 6 comprehensive test cases covering all showTimezone scenarios:
* Default behavior (no timezone label)
* Explicit disable with showTimezone=false
* Enable with showTimezone=true
* Inline prop correctly passed
* No display when timezone is missing
* Correct styling classes applied
- Update trigger-schedule panel to use showTimezone prop
- All 15 tests passing with good coverage
2025-10-13 17:28:39 +08:00
lyzno1
af6dae3498
fix(timezone): fix UTC offset display bug and add timezone labels
...
- Fixed convertTimezoneToOffsetStr() that only extracted first digit
* UTC-11 was incorrectly displayed as UTC-1, UTC+10 as UTC+0
* Now correctly extracts full offset using regex and removes leading zeros
- Created reusable TimezoneLabel component with inline mode support
- Added comprehensive unit tests with 100% coverage
- Integrated timezone labels into 3 locations:
* Panel time picker (next to time input)
* Node next execution display
* Panel next 5 executions list
2025-10-13 17:28:39 +08:00
zhsama
654adccfbf
fix(trigger): implement plugin single run functionality and update node status handling
2025-10-13 17:02:44 +08:00
lyzno1
cce729916a
fix(trigger-schedule): pass time string directly to TimePicker to avoid double timezone conversion
2025-10-13 16:00:13 +08:00
lyzno1
f3b415c095
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-13 13:21:51 +08:00
Wu Tianwei
c692962650
fix: update tooltip for chunk structure in knowledge base component ( #26808 )
2025-10-13 10:44:10 +08:00
yangzheli
f86b6658c9
perf(web): split constant files to improve web performance ( #26794 )
2025-10-13 10:22:34 +08:00
zhsama
a4e80640fe
chore(trigger): remove debug console logs
2025-10-11 18:54:47 +08:00
zhsama
fe0a139c89
fix(trigger): update provider_id references to plugin_id in BasePanel component
2025-10-11 18:52:15 +08:00
yessenia
622d12137a
feat: change subscription field in workflow
2025-10-10 20:58:56 +08:00
zhsama
323e183775
refactor(trigger): improve config value formatting in PluginTriggerNode
2025-10-10 17:28:41 +08:00
lyzno1
85f1cf1d90
Merge branch 'main' into feat/trigger
2025-10-10 15:16:00 +08:00
Nan LI
885dff82e3
feat: update HTTP timeout configurations and enhance timeout input handling in UI ( #26685 )
2025-10-10 09:00:06 +08:00
GuanMu
33b0814323
refactor(types): remove any usages and strengthen typings across web and base ( #26677 )
2025-10-09 21:36:42 +08:00
Asuka Minato
a8746bff30
fix oxlint warnings ( #26634 )
2025-10-09 09:23:34 +08:00
非法操作
c4d8bf0ce9
fix: missing LLM node output var description ( #26648 )
2025-10-09 09:22:45 +08:00
Harry
91318d3d04
refactor(trigger): rename trigger references to event for consistency
...
- Updated variable names and types from 'trigger' to 'event' across multiple files to enhance clarity and maintain consistency in the codebase.
- Adjusted related data structures and API responses to reflect the new naming convention.
- Improved type annotations and error handling in the workflow trigger run API and associated services.
2025-10-09 03:12:35 +08:00
hjlarry
d05d11e67f
add webhook node draft single run
2025-10-06 14:35:12 +08:00
hjlarry
43574c852d
add variable type to webhook request parameters panel
2025-09-30 16:31:21 +08:00
lyzno1
831c888b84
feat: sort output variables by table display order in webhook trigger
2025-09-30 12:34:09 +08:00
lyzno1
f0ed09a8d4
feat: add output variables display to webhook trigger node ( #26478 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-30 12:26:42 +08:00
lyzno1
4a6903fdb4
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-30 08:00:16 +08:00
zxhlyh
8106df1d7d
fix: types
2025-09-29 20:53:50 +08:00
Copilot
df43c6ab8a
[Chore/Refactor] Implement lazy initialization for useState calls to prevent re-computation ( #26252 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
2025-09-29 20:35:55 +09:00
Wu Tianwei
c43c72c1a3
fix: Fix vector_setting not found error ( #26380 )
2025-09-29 16:12:26 +08:00
Wu Tianwei
1a7898dff1
fix: Fix retrieval configuration handling in dataset components ( #26361 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 14:58:28 +08:00
lyzno1
2c3cf9a25e
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-29 12:13:39 +08:00
quicksand
029d5d36ac
Fix: Knowledge Base node crash when retrieval_model is null ( #26397 )
2025-09-29 11:55:06 +08:00
yessenia
973b937ba5
feat: add subscription in node
2025-09-28 22:40:31 +08:00
lyzno1
8fc88f8cbf
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-28 19:32:33 +08:00
zhsama
a4b932c78b
feat: integrate chat mode detection in ChangeBlock component
2025-09-28 17:10:09 +08:00
zhsama
6795015d00
refactor: enhance type definitions and update import paths in form input and trigger components
2025-09-28 15:42:38 +08:00
zhsama
b100ce15cd
refactor: update import paths and remove unused props in block selector components
2025-09-28 15:21:44 +08:00
Copilot
beb1448441
[Chore/Refactor] Add missing 'type' attribute on 'button' components ( #26249 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
2025-09-28 13:43:43 +08:00
lyzno1
0fe529c3aa
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-27 21:32:38 +08:00
Asuka Minato
9a7245e1df
rm assigned but unused ( #25639 )
2025-09-27 10:54:25 +08:00
Yongtao Huang
319ecdd312
Fix: avoid mutating node props ( #26266 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-27 09:50:32 +08:00