[COMPASS-3294] [SPIKE] Agg. pipeline builder editor improvements Created: 23/Nov/18  Updated: 10/Jan/19  Resolved: 10/Jan/19

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.19.0

Type: Task Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Lucas Hrabovsky (Inactive)
Resolution: Done Votes: 0
Labels: triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-2888 Agg pipeline builder to autocompolete... Closed
Epic Link: COMPASS-3220
Story Points: 5
Sprint: Iteration Unagi, Iteration Vol au Vent

 Description   

Can we (and how hard is it):

  1. Can we autoselect the <<>> along with the placeholder text to make editing faster?
  2. can we autocomplete generated fields (COMPASS-2888)
  3. improve syntax highlighting to differentiate between expressions, fields and operators?


 Comments   
Comment by Githook User [ 10/Jan/19 ]

Author:

{'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky'}

Message: COMPASS-3294: Update agg plugin (#1614)

See mongodb-js/ace-autocompleter#4
Branch: master
https://github.com/10gen/compass/commit/a1d192f0cdd9aab0492b7138e7055a8289899cca

Comment by Githook User [ 10/Jan/19 ]

Author:

{'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky'}

Message: COMPASS-3294: Update agg plugin
Branch: COMPASS-3294_update_autocomplete
https://github.com/10gen/compass/commit/42e561ba91b51e63673859ba72f12cc22a58a505

Comment by Lucas Hrabovsky (Inactive) [ 19/Dec/18 ]

PR for #1 is up. #2 and #3 to follow. More context below.

1. Can we autoselect the <<>> along with the placeholder text to make editing faster?

Removing the <<>> is fastest: https://github.com/mongodb-js/ace-autocompleter/pull/4

2. Can we autocomplete generated fields (COMPASS-2888)

Explicitly for $project yes. Even easier if its global (If I $project in stage 5, its ok for that new field to autocomplete if I go back to editing Stage 2) vs position dependent ($project in stage 5 should not show up in stage 2 autocomplete)

3. Improve syntax highlighting to differentiate between expressions, fields and operators?

Should be straightforward.

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