Skip to content

Added context menu to config tabs#3330

Open
Corepex wants to merge 3 commits into2025.4from
2974-widget-editor-add-close-all-option-on-the-opened-widget-editor-tabs
Open

Added context menu to config tabs#3330
Corepex wants to merge 3 commits into2025.4from
2974-widget-editor-add-close-all-option-on-the-opened-widget-editor-tabs

Conversation

@Corepex
Copy link
Copy Markdown
Contributor

@Corepex Corepex commented Apr 10, 2026

Changes in this pull request

Resolves #2974

Additional info

This pull request introduces a context menu for tab components, allowing users to close the current tab, close other tabs, or close all tabs directly from the tab interface. The main changes involve adding the new TabContextMenu component and integrating it into the existing tabs implementation.

New context menu functionality for tabs:

  • Added a new TabContextMenu React component that provides options to close the current tab, close other tabs, or close all tabs.
  • Integrated the TabContextMenu into each tab label using the ContextMenuWrapper, so that right-clicking a tab shows the context menu if the onClose prop is provided. [1] [2]
  • Enhanced the logic for generating tab items to include all tab keys, which is required for the context menu actions.

@Corepex Corepex self-assigned this Apr 10, 2026
@Corepex Corepex requested a review from xIrusux April 10, 2026 10:11
@sonarqubecloud
Copy link
Copy Markdown

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.

[Widget Editor] Add close all option on the opened widget editor tabs

1 participant