Skip to content

fix(desktop): remove duplicate '+' button in TabBar#3986

Open
NkAntony777 wants to merge 1 commit into
esengine:main-v2from
NkAntony777:fix/3933-remove-duplicate-add-button
Open

fix(desktop): remove duplicate '+' button in TabBar#3986
NkAntony777 wants to merge 1 commit into
esengine:main-v2from
NkAntony777:fix/3933-remove-duplicate-add-button

Conversation

@NkAntony777

Copy link
Copy Markdown
Contributor

Summary

  • Remove the redundant '+' (new session) button from the TabBar component
  • The sidebar already has a prominent 'New Session' button, making the TabBar's small '+' button unnecessary
  • This simplifies the UI and eliminates user confusion about duplicate functionality

Changes

  • TabBar.tsx: Removed the '+' button, its Tooltip wrapper, and the onNewTab prop
  • App.tsx: Removed the onNewTab prop from TabBar usage
  • styles.css: Removed the .tabbar__new and .tabbar__new:hover CSS rules
  • en.ts / zh.ts: Cleaned up the unused tabBar.newSession i18n key

Related Issue

Fixes #3933

Testing

  • TypeScript type check passes (npm run typecheck)
  • No new type errors introduced
  • The sidebar's 'New Session' button remains functional for creating new sessions

Remove the redundant '+' (new session) button from the TabBar component.
The sidebar already has a prominent 'New Session' button, making the
TabBar's small '+' button unnecessary and confusing.

Fixes esengine#3933
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 界面左上方的快捷加号按钮功能重复

1 participant