[COMPASS-5544] Unable to export collection with filters Created: 28/Feb/22  Updated: 29/Oct/23  Resolved: 08/May/23

Status: Closed
Project: Compass
Component/s: Import/Export, UI / UX
Affects Version/s: 1.30.1
Fix Version/s: 1.37.0

Type: Bug Priority: Major - P3
Reporter: Kyle Soeltz Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOS Monterrey
Compass 1.30.1


Attachments: PNG File Screen Shot 2022-02-28 at 9.08.26 AM.png     PNG File Screen Shot 2022-03-03 at 10.23.07 PM.png    
Issue Links:
Depends
depends on COMPASS-6582 Remove new export feature flag, remov... Closed
Epic Link: COMPASS-5576
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

I am unable to enter any text into the "filters" input when exporting a collection. This makes it impossible to export a collection with a filter applied

Steps to Reproduce

  1. Navigate to a collection in MongoDB compass.
  2. Click the "Export Collection" icon button (next to "Add Data" button)
  3. Attempt to add any text to filter input that appears

Expected Results

I expect to be able to enter text into the filter input so as to be able to filter the query

Actual Results

I can place my text cursor into the filter input, however I cannot type anything.

 



 Comments   
Comment by Rhys Howell [ 04/Mar/22 ]

Hi wsoeltz@gmail.com that field is a readonly field that shows the query that has last been run in the query bar. What you're seeing is expected behavior - we might be able to make an improvement here to make this a bit more apparent to a user as this isn't the first time this has come up. To export with a filter you can add a query (screenshot attached) and click find then open up the export modal and it will appear in that filter are. I'll bring it up with the team if we can surface that differently.

Generated at Wed Feb 07 22:39:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.