ragflow/web/src/pages/agent/hooks
Oranggge 088b049b4c
Feature: embedded chat theme (#11581)
### What problem does this PR solve?

This PR closing feature request #11286. 
It implements ability to choose the background theme of the _Full screen
chat_ which is Embed into webpage.
Looks like that:
<img width="501" height="349" alt="image"
src="https://github.com/user-attachments/assets/e5fdfb14-9ed9-43bb-a40d-4b580985b9d4"
/>

It works similar to `Locale`, using url parameter to set the theme.
if the parameter is invalid then is using the default theme.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Your Name <you@example.com>
2025-12-01 09:49:28 +08:00
..
use-add-node.ts Feat: Add loop operator node. #10427 (#11449) 2025-11-27 15:55:46 +08:00
use-agent-tool-initial-values.ts Feat: add SearXNG search tool to Agent (frontend + backend, i18n) (#9699) 2025-08-29 14:15:40 +08:00
use-before-delete.tsx Feat: Delete the agent and tool nodes downstream of the agent node #3221 (#8450) 2025-06-24 11:33:01 +08:00
use-build-dsl.ts Fixes: Added session variable types and modified configuration (#11269) 2025-11-14 13:56:56 +08:00
use-build-options.tsx Feat: Add loop operator node. #10427 (#11449) 2025-11-27 15:55:46 +08:00
use-build-structured-output.ts Feat: Add a switch to control the display of structured output to the agent form. #10427 (#11344) 2025-11-18 18:58:36 +08:00
use-cache-chat-log.ts Feat: Call the interface to stop the output of the large model #10997 (#11164) 2025-11-11 15:21:08 +08:00
use-calculate-sheet-right.ts Feat: Use sonner to replace the requested prompt message component #3221 (#9951) 2025-09-05 18:43:33 +08:00
use-cancel-dataflow.ts Feat: Display the pipeline on the agent canvas #9869 (#10638) 2025-10-17 18:47:33 +08:00
use-change-node-name.ts Feat: Modify the agent tool name #3221 (#8780) 2025-07-10 18:36:34 +08:00
use-chat-logic.ts Feat: Delete useless knowledge base, chat, and search files. #10427 (#11568) 2025-11-27 17:54:27 +08:00
use-connection-drag.ts Feat: Fixed an issue where dragged operators within an iteration were not associated with the iteration. #10866 (#10969) 2025-11-03 19:19:26 +08:00
use-download-output.ts Feat: Display the pipeline on the agent canvas #9869 (#10638) 2025-10-17 18:47:33 +08:00
use-dropdown-position.ts Feat: Fixed an issue where dragged operators within an iteration were not associated with the iteration. #10866 (#10969) 2025-11-03 19:19:26 +08:00
use-export-json.ts Feat: Import dsl from agent list page #9869 (#10033) 2025-09-10 18:22:16 +08:00
use-fetch-data.ts Feat: Enables the message operator form to reference the data defined by the begin operator #3221 (#8108) 2025-06-06 17:54:59 +08:00
use-fetch-pipeline-log.ts Feat: Display the pipeline on the agent canvas #9869 (#10638) 2025-10-17 18:47:33 +08:00
use-filter-child-node-ids.ts Feat: Add loop operator node. #10427 (#11449) 2025-11-27 15:55:46 +08:00
use-find-mcp-by-id.ts Feat: Render the mcp list on the agent page #3221 (#8829) 2025-07-14 17:03:58 +08:00
use-form-values.ts Feat: Add AgentNode component #3221 (#8019) 2025-06-03 17:42:30 +08:00
use-get-begin-query.tsx Feat: Add loop operator node. #10427 (#11449) 2025-11-27 15:55:46 +08:00
use-is-mcp.ts Feat: Modify the style of the agent operator form #10703 (#10821) 2025-10-27 19:37:52 +08:00
use-is-pipeline.ts Feat: Display the pipeline on the agent canvas #9869 (#10638) 2025-10-17 18:47:33 +08:00
use-iteration.ts Feat: Render agent details #3221 (#5307) 2025-02-24 17:19:06 +08:00
use-move-note.ts Feat: Add note node #3221 (#8728) 2025-07-08 19:18:55 +08:00
use-open-document.ts Feat: Render agent details #3221 (#5307) 2025-02-24 17:19:06 +08:00
use-placeholder-manager.ts Feat: Fixed an issue where dragged operators within an iteration were not associated with the iteration. #10866 (#10969) 2025-11-03 19:19:26 +08:00
use-run-dataflow.ts Feat: Display the pipeline operation sheet on the agent page #9869 (#10690) 2025-10-21 12:59:30 +08:00
use-save-graph.ts Fixes: Added session variable types and modified configuration (#11269) 2025-11-14 13:56:56 +08:00
use-send-shared-message.ts Feature: embedded chat theme (#11581) 2025-12-01 09:49:28 +08:00
use-set-graph.ts Feat: Render agent details #3221 (#5307) 2025-02-24 17:19:06 +08:00
use-show-dialog.ts Feat: Displays the embedded page of the chat module #3221 (#9532) 2025-08-18 18:02:13 +08:00
use-show-drawer.tsx Feat: Add loop operator node. #10427 (#11449) 2025-11-27 15:55:46 +08:00
use-stop-message.ts Feat: Call the interface to stop the output of the large model #10997 (#11164) 2025-11-11 15:21:08 +08:00
use-watch-form-change.ts Feat: Submit clean data operations form data to the backend. #10427 (#11030) 2025-11-05 17:32:35 +08:00