compass
compass copied to clipboard
chore(compass-saved-aggregation-queries): refactor of "My Queries" to support multiple connections COMPASS-7915
Description
This PR refactors the openItem slice to support the possibility of multiple connections. We also remove the direct dependency on DataService and ConnectionsManager and instead rely on ConnectionInfoProvider for active connection in single connection mode.
Note:
Unfortunately we cannot get rid of ConnectionInfoProvider for rendering "My Queries" plugin without creating an inconsistency, so I thought of continuing the rendering "My Queries" plugin within the ConnectionInfoProvider until we release the FF. (I am open to a different thought on this though).
Checklist
- [ ] New tests and/or benchmarks are included
- [ ] Documentation is changed or added
- [ ] 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)