-
Notifications
You must be signed in to change notification settings - Fork 230
feat(compass-collection) Fill in the script screen of the Generate Mock Data modal flow #7286
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
base: main
Are you sure you want to change the base?
feat(compass-collection) Fill in the script screen of the Generate Mock Data modal flow #7286
Conversation
c8dd1ff
to
6c55005
Compare
7713d6d
to
13a8e9a
Compare
@leo-generali Can you provide a screenshot? Not a blocker btw |
</ul> | ||
</section> | ||
<section> | ||
<Body baseFontSize={16} weight="medium"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think it's more semantic html to have as="h3"
as a prop for this instruction and the other elements of the same weight="medium".
import { useConnectionInfo } from '@mongodb-js/compass-connections/provider'; | ||
|
||
const RUN_SCRIPT_COMMAND = ` | ||
mongosh "mongodb+srv://<your-cluster>.mongodb.net/mockDataDB" \\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: mockDataDB
should be replace with a <your-database>
supernit: the user placeholders should all either be camelCase or hyphen-separated
I think it's ready for review @leo-generali. I only had nits |
Description
Types of changes