[PR #4306] Feat/chat custom disclaimer #24482

Closed
opened 2026-02-21 20:23:05 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/4306

State: closed
Merged: Yes


Description

Added additional custom disclaimer for chats.

Settings:
image

Disclaimer inside web app:
image

Disclaimer inside embedded chats:
iframe:
image
scripts:
image

Partly connects with https://github.com/langgenius/dify/issues/4202

Not much more to be described, kinda self described :)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement

How Has This Been Tested?

Everything was tested locally with couple of edge cases.

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes
**Original Pull Request:** https://github.com/langgenius/dify/pull/4306 **State:** closed **Merged:** Yes --- # Description Added additional custom disclaimer for chats. Settings: ![image](https://github.com/langgenius/dify/assets/9155931/c81d926e-40ab-4005-b13a-3d94939ce008) Disclaimer inside web app: ![image](https://github.com/langgenius/dify/assets/9155931/7666cc54-fafd-4ee5-b507-7cb3c3029e46) Disclaimer inside embedded chats: iframe: ![image](https://github.com/langgenius/dify/assets/9155931/cffaa0e9-251d-498b-b803-61c7b0d08eaa) scripts: ![image](https://github.com/langgenius/dify/assets/9155931/90d7f3c4-1b2b-4832-a7c6-71d02b0275dc) Partly connects with https://github.com/langgenius/dify/issues/4202 Not much more to be described, kinda self described :) ## Type of Change - [x] New feature (non-breaking change which adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement # How Has This Been Tested? Everything was tested locally with couple of edge cases. # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods - [ ] `optional` I have made corresponding changes to the documentation - [ ] `optional` I have added tests that prove my fix is effective or that my feature works - [ ] `optional` New and existing unit tests pass locally with my changes
yindo added the pull-request label 2026-02-21 20:23:05 -05:00
yindo closed this issue 2026-02-21 20:23:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24482