ragflow/web
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
..
.husky
public Feat: Adjust the operation cell of the table on the file management page and dataset page #3221. (#7526) 2025-05-08 15:25:26 +08:00
src Truncate long agent descriptions text (#7924) 2025-05-29 11:10:02 +08:00
.env
.eslintrc.js
.gitignore
.npmrc
.prettierignore
.prettierrc Feat: Add background to next login page #3221 (#4474) 2025-01-14 13:43:18 +08:00
.umirc.ts Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00
externals.d.ts
jest-setup.ts
jest.config.ts
package-lock.json Feat: Upgrade react-hook-form to the latest version to solve the problem that appending a useFieldArray entry cannot trigger the watch callback function #3221 (#7849) 2025-05-26 12:21:19 +08:00
package.json Feat: Upgrade react-hook-form to the latest version to solve the problem that appending a useFieldArray entry cannot trigger the watch callback function #3221 (#7849) 2025-05-26 12:21:19 +08:00
tailwind.config.js Feat: Verify the parameters of the begin operator #3221 (#7794) 2025-05-22 16:58:47 +08:00
tailwind.css Feat: Verify the parameters of the begin operator #3221 (#7794) 2025-05-22 16:58:47 +08:00
tsconfig.json
typings.d.ts Feat: Add FilesTable #3221 (#4491) 2025-01-15 14:39:33 +08:00