「RFC」 ActionsBar 操作列表 #77
ONLY-yours
started this conversation in
RFC
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
ActionBar => Actions 如何? 在桌面端可能是一个 bar,但是在移动端可能是长按菜单的形式。是不是没必要在名字上做限定。 ![]() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
新增名为 ActionBar - 操作列表 的新组件。目的快速配置一些 AI 场景下所需要的操作按钮/功能
Motivation
在 AI 场景下有些通用、常见的操作列表,例如对话的时候会有一些「重新生成」、「复制」、「点赞」、「点踩」等操作


当选项较多时,还需要提供操作收纳的能力
因此需要有个「操作列表」来帮助用户快速配置对应的能力
有些按钮定制化程度很高,但是有些操作又是通用的,我们会提供一些方式将一些通用的按钮能力提供出来,并支持用户自定义
Detailed Design
组件名称
API 设计
Example Usage
基本使用
配置 子菜单
配置变体
通过

variant
设置变体2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions