Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Conversation

lrlna
Copy link
Contributor

@lrlna lrlna commented Dec 2, 2019

Description

Displays document count, does not display line numbers in editor, removes editor 80 character gutter line.

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added

Motivation and Context

Currently when opening up the export modal, you don't get to see the current document count with the initial query. It's displayed as null. This PR includes a document count on open, and populates that number.

Some folks were confused that the editor in export modal is not editable, so I am removing the lines to hopefully indicate that a bit more.

Also, for aesthetic purposes, removing the gutter line for the editor.

Types of changes

  • Patch (non-breaking change which fixes an issue)

@lrlna lrlna requested a review from imlucas December 2, 2019 22:30
@lrlna lrlna changed the title UX imporvements: display doc count, do not display line numbers UX improvements: display doc count, do not display line numbers Dec 2, 2019
@durran durran merged commit 9150e89 into master Dec 3, 2019
@durran durran deleted the export-ux-improvements branch December 3, 2019 00:57
@imlucas imlucas mentioned this pull request Dec 4, 2019
imlucas added a commit that referenced this pull request Dec 4, 2019
Cutting master so all of your export improvements from the past few days can be upstreamed into compass asap with @mongodb-js/compass-import-export@^4.2.0.

The import type casting stuff in #18 is complex enough that I don't want it blocking so it will go as 5.0.0. We can keep this 4.x-releases branch ref around just in case casting performance is a real dud and we want to take another stab at it.

Now that this release has been published, a PR to mongodb-js/compass 📦 @mongodb-js/compass-import-export@^4.2.0 has changelog:

UX improvements: display doc count, do not display line numbers #20
COMPASS-3961: allow adding missing fields #19
COMPASS-3851: ability to add fields when exporting collection #17
imlucas added a commit to mongodb-js/compass that referenced this pull request Dec 6, 2019
Now that this release has been published, a PR to mongodb-js/compass 📦 `@mongodb-js/compass-import-export@^4.2.0` has changelog:

- UX improvements: display doc count, do not display line numbers mongodb-js/compass-import-export#20
- Closes COMPASS-3961: allow adding missing fields mongodb-js/compass-import-export#19
- Closes COMPASS-3851: ability to add fields when exporting collection mongodb-js/compass-import-export#17
imlucas added a commit to mongodb-js/compass that referenced this pull request Dec 6, 2019
)

Now that this release has been published, a PR to mongodb-js/compass 📦 `@mongodb-js/compass-import-export@^4.2.0` has changelog:

- UX improvements: display doc count, do not display line numbers mongodb-js/compass-import-export#20
- Closes COMPASS-3961: allow adding missing fields mongodb-js/compass-import-export#19
- Closes COMPASS-3851: ability to add fields when exporting collection mongodb-js/compass-import-export#17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants