Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bottom panel to extension manager #2393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

christian-byrne
Copy link
Collaborator

@christian-byrne christian-byrne commented Feb 2, 2025

Allows extensions to manage the bottom panel. For instance, if an extension wants to show the terminal:

  const panel = app.extensionManager.bottomPanel
  const isTerminalVisible =
    panel.bottomPanelVisible &&
    panel.activeBottomPanelTab.id === 'logs-terminal'
  if (!isTerminalVisible) panel.toggleBottomPanelTab('logs-terminal')

The bottom panel support was added in #1294. Adding custom bottom panel tabs is possible through regsterExtension, but managing the panel is not easy for extensions.

┆Issue is synchronized with this Notion page by Unito

@christian-byrne christian-byrne requested a review from a team as a code owner February 2, 2025 05:50
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.

1 participant