ragflow/web/src/pages/flow
Jason Li 64f930b1c5
Truncate long agent descriptions text (#7924)
Truncate long agent descriptions to prevent overflow outside the agent
card container

### What problem does this PR solve?

Now the Long text of description will overflow from the agent card,
should display the long text properly with truncate.

<img width="275" alt="Screenshot 2025-05-28 220329"
src="https://github.com/user-attachments/assets/954b3a48-bcab-4669-a42f-6981d4bf859f"
/>

<img width="275" alt="Screenshot 2025-05-28 220353"
src="https://github.com/user-attachments/assets/f385d95a-3e40-4117-b412-ae6a4508e646"
/>


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
2025-05-29 11:10:02 +08:00
..
canvas add show debug (#7390) 2025-05-12 17:15:19 +08:00
chat Fix:Agent running message i10n (#7635) 2025-05-14 14:27:12 +08:00
debug-content Feat: Support knowledge base type input in agent flow debugger (#7471) 2025-05-06 19:30:27 +08:00
flow-drawer Feat: Add the JS code (or other) executor component to Agent. #4977 (#7677) 2025-05-16 09:53:00 +08:00
flow-id-modal Feat: Add Template operator #3556 (#3559) 2024-11-21 18:05:31 +08:00
flow-setting Fix: Resolve FlowSetting not reading Title from .ts files (#6469) 2025-03-25 11:07:29 +08:00
flow-sider feat: Add hint for operators, round to square, input variable, readable operator ID. #3056 (#3057) 2024-10-28 14:31:19 +08:00
form Fix: Fixed the issue that the script text of the code operator is not displayed after refreshing the page after saving the script text of the code operator #4977 (#7825) 2025-05-23 18:57:45 +08:00
header Feat: add agent share team viewer (#6222) 2025-03-19 19:04:13 +08:00
history-version-modal Feat: support agent version history. (#6130) 2025-03-19 15:22:53 +08:00
hooks Iframe should support input variables (#5156) 2025-02-20 11:52:44 +08:00
json-upload-modal Feat: Import & export the agents. #3851 (#3894) 2024-12-06 13:43:17 +08:00
list Truncate long agent descriptions text (#7924) 2025-05-29 11:10:02 +08:00
operator-icon feat: Add hint for operators, round to square, input variable, readable operator ID. #3056 (#3057) 2024-10-28 14:31:19 +08:00
run-drawer Feat: Add the iteration Node #4242 (#4247) 2024-12-27 11:24:17 +08:00
constant.tsx Feat: Add the JS code (or other) executor component to Agent. #4977 (#7677) 2025-05-16 09:53:00 +08:00
context.ts Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00
customer_service.json feat: create flow from dsl template #918 (#1351) 2024-07-03 14:42:48 +08:00
flow-tooltip.tsx Feat: Add FilesTable #3221 (#4491) 2025-01-15 14:39:33 +08:00
form-hooks.ts feat: Add hint for operators, round to square, input variable, readable operator ID. #3056 (#3057) 2024-10-28 14:31:19 +08:00
headhunter_zh.json feat: customize edge arrow #918 (#1338) 2024-07-02 11:43:57 +08:00
hooks.tsx Feat: Add the JS code (or other) executor component to Agent. #4977 (#7677) 2025-05-16 09:53:00 +08:00
index.tsx Feat: The Begin and IterationStart operators cannot be deleted using shortcut keys #4287 (#4288) 2024-12-30 17:47:47 +08:00
interface.ts Feat: The Begin and IterationStart operators cannot be deleted using shortcut keys #4287 (#4288) 2024-12-30 17:47:47 +08:00
interpreter.json feat: create blank canvas #918 (#1356) 2024-07-03 17:06:48 +08:00
mock.tsx Feat: The Begin and IterationStart operators cannot be deleted using shortcut keys #4287 (#4288) 2024-12-30 17:47:47 +08:00
retrieval_relevant_rewrite_and_generate.json feat: build nodes and edges from chat bot dsl #918 (#1372) 2024-07-04 15:15:14 +08:00
store.ts Feat: The Begin and IterationStart operators cannot be deleted using shortcut keys #4287 (#4288) 2024-12-30 17:47:47 +08:00
utils.test.ts feat: build nodes and edges from chat bot dsl #918 (#1372) 2024-07-04 15:15:14 +08:00
utils.ts Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00