Skip to content

fix: make expert edit/delete buttons visible by default (#187) - #193

Merged
jubaoliang merged 1 commit into
TencentCloud:developfrom
miaowmint:fix/issue-187-edit-delete-visible
Aug 7, 2026
Merged

fix: make expert edit/delete buttons visible by default (#187)#193
jubaoliang merged 1 commit into
TencentCloud:developfrom
miaowmint:fix/issue-187-edit-delete-visible

Conversation

@miaowmint

Copy link
Copy Markdown

问题:专家卡片上的编辑和删除按钮默认不可见(opacity: 0),仅在鼠标悬停于名称行时才显示。用户难以发现这两个操作入口,可能误以为功能不存在。

修复:将 dashboard/src/pages/Experts/index.module.less 中 .agentCard2NameActions 的 opacity 从 0 改为 1,使编辑(Pencil)和删除(Trash2)按钮始终可见。

Summary

Target branch

  • Base is develop (feature / fix — default)
  • Base is main (release/* or hotfix/* only)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore
  • Release / hotfix

Test plan

  • make all passes locally
  • Added/updated tests

Checklist

  • Updated CHANGELOG.md (if user-facing)
  • README / docs updated (if needed)

…#187)

Change opacity from 0 to 1 for .agentCard2NameActions so the edit
(Pencil) and delete (Trash2) buttons are always visible on agent cards,
not only on hover.
@jubaoliang
jubaoliang merged commit d73ca29 into TencentCloud:develop Aug 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants