Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 Sender 组件 content 自定义渲染,以支持类似的 speech 交互变体需求 #290

Open
YumoImer opened this issue Dec 2, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@YumoImer
Copy link
Collaborator

YumoImer commented Dec 2, 2024

需求动机

image

提议的 API 是什么样的?

export interface SenderComponents {
  input?: CustomizeComponent<TextareaProps>;
  /** + Sender Content CustomizeComponent ⬇️  */
  content?: CustomizeComponent;
}
@YumoImer YumoImer added the enhancement New feature or request label Dec 2, 2024
@YumoImer YumoImer added this to the Mobile Support milestone Dec 2, 2024
@LofiSu
Copy link

LofiSu commented Dec 9, 2024

这个好酷,我想来做试试看

@YumoImer
Copy link
Collaborator Author

YumoImer commented Dec 9, 2024

这个好酷,我想来做试试看

非常感谢积极参与~这个我空了更新相关资料至讨论区~(预计 12.10 前)

然后你可以基于此从书写 RFC -> 评审 -> 代码实现。

@LofiSu
Copy link

LofiSu commented Dec 9, 2024

这个好酷,我想来做试试看

非常感谢积极参与~这个我空了更新相关资料至讨论区~(预计 12.10 前)

然后你可以基于此从书写 RFC -> 评审 -> 代码实现。

我看了一下sender组件,意思是不是缺一个手机上的语音输入sender,点击语音就是可以开始说话了,然后检测到说话就是正在听。还有一种是点击录音,长按录音。

@YumoImer
Copy link
Collaborator Author

我看了一下sender组件,意思是不是缺一个手机上的语音输入sender,点击语音就是可以开始说话了,然后检测到说话就是正在听。还有一种是点击录音,长按录音。

我暂时的想法是:给 Sender 组件增加 content 可自定义渲染的能力。这样就可以支持类似的 speech 交互变体需求。

具体的可以 RFC 里详细描述和讨论。

@LofiSu
Copy link

LofiSu commented Dec 11, 2024

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants