Tencent / Tencent/tdesign-react

[ChatSender] 能否支持在输入框中进行定义渲染逻辑

Open
#4,215 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💪🏻 enhancement
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

这个功能解决了什么问题

在目前agent的一些功能场景可能会有这样的需求。就是@加入上下文。就是需要在输入框中自定义渲染逻辑了而不是只支持文字了

Image
你建议的方案是什么

只用用户自定义渲染逻辑

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the ChatSender component and inspect how the input currently represents and renders text. The issue does not identify an entry file, API shape, or expected rendering behavior, so first clarify the custom-rendering contract and examples for @-context content. Done should include an agreed behavior and tests covering the supported rendering cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.