[COMPASS-6335] Compass no longer autocompletes nested fields Created: 30/Nov/22  Updated: 29/Oct/23  Resolved: 08/Dec/22

Status: Closed
Project: Compass
Component/s: Autocomplete
Affects Version/s: 1.34.1
Fix Version/s: 1.34.2, 1.35.0

Type: Bug Priority: Critical - P2
Reporter: Massimiliano Marcon Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image (3).png     PNG File image (4).png    
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Quahog

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?

Starting with Compass 1.34, it looks like the name of nested fields are no longer available in the autocompleter.

Please be sure to attach relevant logs with any sensitive data redacted.

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?

  • Open a collection where documents have nested fields, e.g. sample_mflix.movies.
  • Try to type a query
  • Observe that only the top level field is autocompleted

Expected Results

What do you expect to happen?

  • Nested fields are suggested as they were in older versions of Compass

Actual Results

What do you observe is happening?

  • Nested fields are ignored

Additional Notes

Old Compass New Compass


 Comments   
Comment by Githook User [ 15/Dec/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-editors): fix nested field autocomplete COMPASS-6335 (#3874)
Branch: 1.34-releases
https://github.com/mongodb-js/compass/commit/1a0e4ad5f1ada7d07abbabeea093a33fc1517c58

Comment by Githook User [ 15/Dec/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-editors): fix nested field autocomplete COMPASS-6335 (#3874)
Branch: 1.35-releases
https://github.com/mongodb-js/compass/commit/1336f6ccd01a8b5f63ed6bea289fa9f8fc4d9557

Comment by Githook User [ 12/Dec/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-editors): fix nested field autocomplete COMPASS-6335 (#3874)
Branch: aggregations-stage-components
https://github.com/mongodb-js/compass/commit/1336f6ccd01a8b5f63ed6bea289fa9f8fc4d9557

Comment by Githook User [ 08/Dec/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-editors): fix nested field autocomplete COMPASS-6335 (#3874)
Branch: main
https://github.com/mongodb-js/compass/commit/1336f6ccd01a8b5f63ed6bea289fa9f8fc4d9557

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