fix: remove redundant Connect GitHub placeholder from import menu (#964)

GitHub connection is already available through the Connectors tab.
The disabled 'Connect GitHub' item in the chat composer import menu
was a redundant placeholder that created confusion about duplicate
entry points.

This removes the placeholder to streamline the UI and direct users
to the primary GitHub connection flow via Connectors.

Fixes #777
This commit is contained in:
Nicholas-Xiong 2026-05-08 22:32:48 +08:00 committed by GitHub
parent e3423c2b7b
commit 727936ecb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1066,7 +1066,6 @@ function ToolsImportPanel({
return (
<div className="composer-tools-list">
<ImportItem icon="upload" label={t('chat.importFig')} t={t} />
<ImportItem icon="link" label={t('chat.importGitHub')} t={t} />
<ImportItem icon="grid" label={t('chat.importWeb')} t={t} />
<ImportItem
icon="folder"