Skip to content

Feature: 将「模型测试」按钮移出更多操作菜单,并支持自定义更多操作内元素 #720

Description

@cheezmil

Title

Feature: 将「模型测试」按钮移出更多操作菜单,并支持自定义更多操作内元素

例行检查 / Checklist

  • 我已确认目前没有类似 issue (I have checked for similar issues)
  • 我已确认当前主版本线的最新补丁版本仍无法满足需求 (I have confirmed the latest patch release in my current major line does not meet this need)
  • 我已查看对应版本线的 README 和发布说明 (I have read the README and release notes for my release line)
  • 我不会在 issue 中提交任何凭据或令牌 (I will not include credentials or tokens in this issue)
  • 我理解并愿意跟进此 issue,协助测试和提供反馈 (I am willing to follow up on this issue, assist with testing, and provide feedback)

目标版本线 / Target Release Line
2.x

功能描述 / Feature Description

  1. 将「模型测试」操作项从「更多操作」下拉菜单提取出来,直接展示在 Key 列表行操作区域。
  2. 在设置页面增加配置项,允许用户自定义「更多操作」下拉菜单中展示哪些操作元素。

应用场景 / Use Case
当前操作流程:选中 Key → 点击更多操作 → 点击模型测试。高频测试模型时,每次都需要多点一次下拉菜单,操作繁琐。不同用户常用功能不一样,希望可以自由配置按钮,把高频操作放在行内,低频操作收纳进更多操作。

期望方案 / Desired Behavior

  1. 默认「模型测试」按钮直接展示在 Key 列表行操作栏,无需打开更多操作菜单。
  2. 设置中新增列表操作项自定义配置:用户可勾选需要收纳到「更多操作」的功能,未勾选的操作直接在行操作栏展示。
  3. 用户自定义配置保存后即时生效,页面刷新后配置保留。

兼容性、数据与安全影响 / Compatibility, Data, and Security Impact
新增用户偏好配置存储,不改动原有业务数据、API、权限逻辑,无安全风险。

备选方案 / Alternatives Considered
暂无合适备选方案,只能每次打开更多操作菜单进行模型测试,操作链路较长。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestunder-reviewCurrently being reviewed.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions