Skip to content

feat(sidebar): context menu to control connections COMPASS-9392 #7063

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

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

kraenhansen
Copy link
Contributor

@kraenhansen kraenhansen commented Jun 30, 2025

Description

The original design showed just the "Import connections" and "Export connections" and I believe this is a mistake as it makes sense for the actions which are "above the menu fold" (collapsing connections and creating a new) would also show from the context menu.

right-click-sidebar-connections.mov

Merging this PR will:

  • Reuse the existing action items to show a context menu containing four items:
    • Collapse all connections
    • Add new connection
    • Import connections
    • Export connections

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added
  • If this change updates the UI, screenshots/videos are added and a design review is requested
  • I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@kraenhansen kraenhansen self-assigned this Jun 30, 2025
@github-actions github-actions bot added the feat label Jun 30, 2025
@kraenhansen kraenhansen marked this pull request as ready for review June 30, 2025 15:10
@kraenhansen kraenhansen requested a review from a team as a code owner June 30, 2025 15:10
@kraenhansen kraenhansen requested review from gagik and a team and removed request for a team June 30, 2025 15:11
@kraenhansen kraenhansen force-pushed the kh/sidebar-connections-menu branch 2 times, most recently from 2c3c2ac to 163b8bd Compare July 1, 2025 11:00
Base automatically changed from gagik/context-menu-compass-ui to main July 1, 2025 14:23
@kraenhansen kraenhansen force-pushed the kh/sidebar-connections-menu branch from 163b8bd to 6b31996 Compare July 1, 2025 15:30
@kraenhansen kraenhansen force-pushed the kh/sidebar-connections-menu branch from 6b31996 to 60f6780 Compare July 2, 2025 06:39
@kraenhansen kraenhansen merged commit efdada9 into main Jul 2, 2025
78 of 81 checks passed
@kraenhansen kraenhansen deleted the kh/sidebar-connections-menu branch July 2, 2025 12:59
@lerouxb lerouxb added feature flagged PRs labeled with this label will not be included in the release notes of the next release and removed release notes labels Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat feature flagged PRs labeled with this label will not be included in the release notes of the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants