Commit Graph

695 Commits

Author SHA1 Message Date
-LAN- 1a65600b54
fix: conversation opener feature state persistence and display
This commit fixes issue #26500 where the conversation opener feature
doesn't preserve its enabled state and doesn't work correctly.

Changes:
1. Updated feature initialization logic to check for both opening_statement
   and suggested_questions when determining if the feature is enabled
2. Simplified save logic to always send the actual content instead of
   clearing it when disabled
3. Added automatic modal opening when user toggles feature on without content
4. Added logic to automatically set enabled state based on content presence
5. Added logic to disable feature if user cancels modal without adding content

This ensures that:
- The feature's enabled state is correctly determined from saved content
- Users must add content (opening statement or suggested questions) to enable the feature
- The enabled state is automatically managed based on content presence
- The feature state persists correctly across page refreshes
2025-09-30 18:18:01 +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
crazywoola fd86cadf67
fix: debounce ref (#26433) 2025-09-29 16:13:38 +08:00
lyzno1 00f3a53f1c
fix(turbopack): fix animation issues with unnamed animations in CSS modules (#26408) 2025-09-29 13:47:48 +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
Wood fb8114792a
fix: sync FileUploader context with props to fix inconsistent file parameter state in “View cached variables”. (#26199) 2025-09-25 22:43:26 +08:00
yangzheli 9b36059292
fix(search-input): ensure proper value extraction in composition end handler (#26147) 2025-09-24 15:53:59 +08:00
GuanMu fb6ccccc3d
chore: refactor component exports for consistency (#26033)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-23 17:04:56 +08:00
lyzno1 e93bfe3d41
fix: resolve chat sidebar UI bugs for hover panel and dropdown menu (#25813) 2025-09-19 18:28:49 +08:00
heyszt 9a65350cf7
fix: rollback aliyun_trace icon (#25921) 2025-09-18 18:01:08 +08:00
Wu Tianwei ffa163a8a8
refactor: simplify portal interactions and manage state in Configure component (#25906)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-18 15:57:33 +08:00
-LAN- 85cda47c70
feat: knowledge pipeline (#25360)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com>
2025-09-18 12:49:10 +08:00
L 69aad38d03
fix(date-picker): handle string date to avoid crash (#25522)
Co-authored-by: 刘佳佳 <liujiajia@nanjingwanhui.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-09-12 10:01:26 +08:00
15 1a078657d8
Fixes #25530 (#25531) 2025-09-12 09:39:17 +08:00
Asuka Minato 77ba3e8f26
add autofix pnpm (#25557)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-12 09:37:54 +08:00
椰子糖 4b6687db6b
Fix log time display bug (#25475)
Co-authored-by: wxliqigang <wxliqigang@gfpartner.com.cn>
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>
2025-09-12 02:46:04 +09:00
Nite Knite 07d067d828
chore: support Zendesk widget (#25517) 2025-09-11 13:17:50 +08:00
17hz 928bef9d82
fix: imporve the condition for stopping the think timer. (#25365) 2025-09-10 08:45:00 +08:00
Joel 4c92e63b0b
fix: avatar is not updated after setted (#25414) 2025-09-09 16:00:50 +08:00
yinyu cf1ee3162f
Support Anchor Scroll In The Output Node (#25364)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-09 10:35:07 +08:00
Matri Qi 563a5af9e7
Fix/disable no constant binary expression (#25311)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 20:44:20 +08:00
Debin.Meng a932413314
fix: Incorrect URL Parameter Parsing Causes user_id Retrieval Error (#25261)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 18:00:33 +08:00
zyileven 98204d78fb
Refactor:upgrade react19 ref as props (#25225)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:46:02 +08:00
Asuka Minato f0561c0c3b
to RefObject (#25192) 2025-09-05 10:14:13 +08:00
zyileven bffbe54120
fix: Solve the problem of opening remarks appearing in the chat cont… (#25067) 2025-09-03 14:48:30 +08:00
zxhlyh 9e125e2029
Refactor/model credential (#24994) 2025-09-03 13:36:59 +08:00
17hz c373b734bc
feat: make secretInput type field prevent browser auto-fill (#24971) 2025-09-02 16:04:12 +08:00
17hz 2ac8f8003f
refactor: update radio component to handle boolean values instead of numeric (#24956) 2025-09-02 15:11:42 +08:00
lyzno1 0caa94bd1c
fix: add Indonesian (id-ID) language support and improve language selector (#24951) 2025-09-02 14:44:59 +08:00
znn dd6547de06
downvote with reason (#24922) 2025-09-02 09:57:04 +08:00
Yongtao Huang 208ce4e774
CI: add TS indentation check via esLint (#24810) 2025-09-01 15:31:59 +08:00
Tianyi Jing 414ee51975
fix: add missing form for boolean types (#24812)
Signed-off-by: jingfelix <jingfelix@outlook.com>
2025-09-01 15:21:36 +08:00
17hz f70272f638
refactor: replace clsx with classnames (#24776) 2025-08-31 17:08:29 +08:00
lyzno1 e5e42bc483
fix: XSS vulnerability in block-input and support-var-input components (#24835) 2025-08-31 17:01:10 +08:00
zyileven 52e9bcbfdb
fix(web): improve floating UI positioning when scrolling (#24595) (#24782) 2025-08-29 16:49:13 +08:00
zyileven bcac43c812
fix(web): fix error notify when tagInput component is not required (#… (#24774) 2025-08-29 15:30:40 +08:00
Junyan Qin (Chin) f32e176d6a
feat: oauth provider (#24206)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
2025-08-29 14:10:51 +08:00
crazywoola 79e6138ce2
chore: simplify the workflow details logic (#24714) 2025-08-28 18:17:48 +08:00
17hz 5a64f69456
fix: Default value for input variable is null when starting new conversations on the web app (#24709) 2025-08-28 17:48:04 +08:00
Ujjwal Maurya a159c13333
Fix tooltip visibility issues during scroll in model selector popup (#24593)
Co-authored-by: 17hz <0x149527@gmail.com>
2025-08-27 10:30:37 +08:00
Joel dac72b078d
feat: support bool type variable frontend (#24437)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-08-26 18:16:05 +08:00
crazywoola aa71f88e1b
chore: hide delete action when avatar is none (#24512) 2025-08-26 10:25:55 +08:00
znn b4be132201
improve border radius (#24486) 2025-08-25 23:17:44 +08:00
非法操作 6010d5f24c
feat: add multi model credentials (#24451)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 16:12:29 +08:00
17hz ffe1685b54
feat: Add default value support for all workflow start node variable types (#24129)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-22 18:44:48 +08:00
AADI GUPTA 6b01b0b165
feat: implement TooltipManager for managing tooltip lifecycle (#24236)
Co-authored-by: crazywoola <427733928@qq.com>
2025-08-22 10:42:48 +08:00
Charles Lee 0c595c4745
style: replace `h-[1px]` with `h-px` to unify the writing format of Tailwind CSS (#24146) 2025-08-21 21:38:40 +08:00
Joel ddf05ca059
feat: notice of the expire of education verify (#24210)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-20 15:37:46 +08:00
Joel de9c5f10b3
feat: enchance prompt and code (#23633)
Co-authored-by: stream <stream@dify.ai>
Co-authored-by: Stream <1542763342@qq.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 12:29:12 +08:00
Wu Tianwei 218e247fd2
refactor: improve loading animation and debug panel styles (#24075) 2025-08-18 11:12:47 +08:00