[COMPASS-5853] Code formatting support for stage editor Created: 24/May/22 Updated: 08/Nov/22 Resolved: 08/Nov/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Investigation | Priority: | Major - P3 |
| Reporter: | Massimiliano Marcon | Assignee: | Sergey Petushkov |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Story Points: | 3 | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Sprint: | Iteration Dolphin, Iteration Fish, Iteration Grouper, Iteration Narwhal | ||||||||
| Description |
|
When aggregation stages start to become big and deeply nested, often indentation gets messed up. It'd e great to have a way to reformat/prettify the code in the stage editor to avoid having to do the formatting outside of Compass. The UX could be a button in the stage toolbar that triggers the reformatting. I propose a timeboxed investigation to see if this is something we can ship very quickly (I am thinking a couple of days max). Alternatively/at the same time, we should add this functionality as a feature for the new stage editor. |
| Comments |
| Comment by Maurizio Casimirri [ 01/Jun/22 ] |
|
Note from triage: timeboxed to 3 days |
| Comment by Maurizio Casimirri [ 01/Jun/22 ] |
|
massimiliano.marcon@mongodb.com claudia.deangelis@mongodb.com do we already have at least an idea of the design we could attach here? |