Skip to content

feat(data-modeling): add collection search and fix styles COMPASS-9308 COMPASS-9309 #6895

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 8 commits into from
May 7, 2025

Conversation

mabaasit
Copy link
Contributor

@mabaasit mabaasit commented May 6, 2025

In this PR, I added spinner when we are in loading state and search for collections.

Preview
Screen.Recording.2025-05-06.at.12.08.11.mov

Description

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)

@mabaasit mabaasit marked this pull request as ready for review May 6, 2025 10:11
@paula-stacho
Copy link
Contributor

Unexpectedly, making changes with active search can mean loosing the previous selection (only the search results are kept in that instance). See video:

Screen.Recording.2025-05-06.at.14.06.25.mov

@mabaasit
Copy link
Contributor Author

mabaasit commented May 6, 2025

Unexpectedly, making changes with active search can mean loosing the previous selection (only the search results are kept in that instance). See video:

Screen.Recording.2025-05-06.at.14.06.25.mov

Nice catch. Fixed in d308e26

@mabaasit mabaasit changed the title chore(data-modeling): fix styles and add collection search COMPASS-9308 COMPASS-9309 feat(data-modeling): add collection search and fix styles COMPASS-9308 COMPASS-9309 May 6, 2025
@github-actions github-actions bot added the feat label May 6, 2025
@mabaasit mabaasit added the feature flagged PRs labeled with this label will not be included in the release notes of the next release label May 6, 2025
Copy link
Contributor

@paula-stacho paula-stacho left a comment

Choose a reason for hiding this comment

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

Neat! 🎉

Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

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

lgtm, one text suggestion, not a blocker.

footerText: (
<>
<strong>{selectedCollections.length}</strong>/
<strong>{collections.length}</strong> total collections selected.
Copy link
Member

Choose a reason for hiding this comment

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

nit, the s here could be not plural if there is only 1 collection possible (same with the description)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in 250eb40

@mabaasit mabaasit merged commit 06db64e into main May 7, 2025
52 of 55 checks passed
@mabaasit mabaasit deleted the COMPASS-9308-dm-loading-states branch May 7, 2025 07:06
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