Skip to content

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

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

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
@SivanCola

Copy link
Copy Markdown
Collaborator

Closing as superseded by #4493.

The product direction for now is to keep the top + new-session affordance and fix its placement beside the tab list, rather than removing the button entirely.

Thank you @NkAntony777 for the implementation and product exploration in this PR. The retained PR includes a contribution note acknowledging #3986 as part of the shared repository work behind the final tab/new-session direction.

@SivanCola SivanCola closed this Jun 15, 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]: 界面左上方的快捷加号按钮功能重复

2 participants