[COMPASS-2986] $sort default elipsis is unintuitive Created: 10/Jul/18  Updated: 16/Aug/18  Resolved: 16/Aug/18

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.15.0

Type: Bug Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Durran Jordan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2018-07-10 at 10.56.35 AM.png    
Sprint: Iteration Halloumi

 Description   

Version 1.15.0-beta.7 (1.15.0-beta.7)

 

When using the $sort agg pipeline stage, it gives the following prompt:

 

/**
 * Provide any number of field/order pairs.
 */
{
  <<field1>>: <<sortOrder>>, ...
} 

 

Once you fill in the field and sortOrder, it's unclear that you then have to delete the "..." in order to run the stage.  The error message is not clear either.  Can this be improved?  Do we need the elipsis?



 Comments   
Comment by Githook User [ 16/Aug/18 ]

Author:

{'name': 'Durran Jordan', 'email': 'durran@gmail.com', 'username': 'durran'}

Message: COMPASS-2986: Remove elipsis from sort snippet
Branch: master
https://github.com/10gen/compass/commit/e5c15a34c1b2af37a89ed713953d04c7e156b253

Comment by Githook User [ 16/Aug/18 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-2986: Remove elipsis from sort snippet
Branch: COMPASS-2986
https://github.com/10gen/compass/commit/9e9209314a1ed77275e62f48e7b1d89a70220f44

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