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

fix(compass-sidebar): convert to ts, fix save connections bug COMPASS-7418 #5077

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented Nov 7, 2023

Description

Checklist

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)

@github-actions github-actions bot added the fix label Nov 7, 2023
try {
await connectionStorage.save(connectionInfo);
await connectionStorage.save({ connectionInfo });
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

^ This is what was preventing connections from being saved

Copy link
Collaborator

@mcasimir mcasimir Nov 8, 2023

Choose a reason for hiding this comment

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

Like completely from the sidebar? Do we miss some test?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, we don’t have an e2e test for this

@@ -1,48 +0,0 @@
import toNS from 'mongodb-ns';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This file was just completely unused, so I just removed it

@@ -1,15 +0,0 @@
const hadronApp = require('hadron-app');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This file and the ones in test/mocks as well, they didn’t seem to actually be consumed anywhere so I just removed them

@addaleax addaleax merged commit 716378b into main Nov 8, 2023
5 checks passed
@addaleax addaleax deleted the 7418-dev branch November 8, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants