Skip to content

Added context menu to config tabs#3330

Merged
Corepex merged 6 commits into2025.4from
2974-widget-editor-add-close-all-option-on-the-opened-widget-editor-tabs
Apr 22, 2026
Merged

Added context menu to config tabs#3330
Corepex merged 6 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 linked an issue Apr 10, 2026 that may be closed by this pull request
@Corepex Corepex requested a review from xIrusux April 10, 2026 10:11
Copy link
Copy Markdown
Contributor

@xIrusux xIrusux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but pls accept sonar qube issues

@sonarqubecloud
Copy link
Copy Markdown

@Corepex Corepex merged commit c794407 into 2025.4 Apr 22, 2026
1 check passed
@Corepex Corepex deleted the 2974-widget-editor-add-close-all-option-on-the-opened-widget-editor-tabs branch April 22, 2026 07:26
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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

2 participants