Skip to content

Fix skill detail expand button / 修复技能详情展开按钮#3462

Merged
esengine merged 1 commit into
main-v2from
codex/fix-skill-expand-details-3460
Jun 8, 2026
Merged

Fix skill detail expand button / 修复技能详情展开按钮#3462
esengine merged 1 commit into
main-v2from
codex/fix-skill-expand-details-3460

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • make the skill card's lower expand/collapse affordance a real button
  • wire that button to the same detail toggle handler as the skill card header
  • preserve the existing visual treatment while adding hover and keyboard focus states

Root cause

The visible "Expand" text under long skill descriptions was rendered as a plain div, so clicking it did not call the skill detail toggle handler. Only the card header button actually toggled the expanded state.

Validation

  • pnpm --dir desktop/frontend build passed after generating local Wails bindings

Fixes #3460

@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) and removed v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 7, 2026
@SivanCola SivanCola marked this pull request as ready for review June 7, 2026 14:57
@SivanCola SivanCola requested a review from esengine as a code owner June 7, 2026 14:57
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把展开文字从 div 换成真正的 button 并接上 onToggle,补了 aria-expanded 和键盘 focus 态。小而准。

@esengine esengine merged commit cd313db into main-v2 Jun 8, 2026
10 checks passed
@esengine esengine deleted the codex/fix-skill-expand-details-3460 branch June 8, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 桌面端设置页无法展开技能详细描述

2 participants