Skip to content

feat: Open create index modal with query context CLOUDP-311788 #6904

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

Conversation

waltertan12
Copy link
Collaborator

CLOUDP-311788

Description

  • Add query field to Create Index redux store and redux actions
  • Publish open-create-index-modal events with query context
  • Read and pass down query context from store to components
Screen.Recording.2025-05-07.at.1.51.49.PM.mov

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)

@rubydong rubydong added the no release notes Fix or feature not for release notes label May 7, 2025
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 once tests and check are green!

@rubydong
Copy link
Collaborator

rubydong commented May 7, 2025

Looking good so far!! i think you have some typing issues though and can you also add "We prefilled the query input below based on your recently run query" if it's opened from the nudge

image

Comment on lines 86 to 90
// const enableInIndexesGuidanceExp = usePreference('enableIndexesGuidanceExp');
// const showIndexesGuidanceVariant =
// usePreference('showIndexesGuidanceVariant') && enableInIndexesGuidanceExp;
const enableInIndexesGuidanceExp = true;
const showIndexesGuidanceVariant = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

revert this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh woops 😓 sloppy commits. removed though!

@rubydong rubydong changed the title CLOUDP-311788: Open create index modal with query context feat: Open create index modal with query context CLOUDP-311788 May 8, 2025
@github-actions github-actions bot added the feat label May 8, 2025
Copy link
Collaborator

@rubydong rubydong left a comment

Choose a reason for hiding this comment

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

LGTM!

@waltertan12 waltertan12 merged commit 8146050 into main May 9, 2025
56 checks passed
@waltertan12 waltertan12 deleted the CLOUDP-311788 branch May 9, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat no release notes Fix or feature not for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants