[COMPASS-6377] Aggregation pipeline editor automatically scrolls pipeline out of view Created: 15/Dec/22  Updated: 29/Oct/23  Resolved: 19/Jun/23

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: 1.35.0
Fix Version/s: 1.37.0

Type: Bug Priority: Major - P3
Reporter: Ivan Fefer Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: editor
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X, Compass 1.34.1.


Attachments: File Screen Recording 2022-12-15 at 16.57.26-1.mov     File Screen Recording 2022-12-15 at 16.57.26.mov    
Issue Links:
Depends
depends on COMPASS-6481 Replace ace editors in compass with c... Closed
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

While editing big pipeline, it is convenient to stretch edit frame, extending it to the right, while keeping auto-preview smaller.

When it is done, editor automatically scroll pipeline code to the right, hiding the left side, even if the window is stretched enough to fit everything.

 

Steps to Reproduce

  1. Open pipeline editor
  2. Stretch text edit window to the right
  3. Enter a large line of characters.
  4. Use horizontal scrolling to scroll it to the left to the start of the screen
  5. Move editing cursor to the right.

Expected Results

Window stays the same, showing the whole line of code.

Actual Results

Window scrolls horizontally to hide the start of the line.

Additional Notes

Reproduction video is attached



 Comments   
Comment by Rhys Howell [ 19/Jun/23 ]

This is fixed with our update to codemirror editors (away from ace). Thanks for opening the ticket ivan.fefer@mongodb.com ! We appreciate the many good feedback items and bugs you bring up. 

Comment by Maurizio Casimirri [ 29/Jan/23 ]

ivan.fefer@mongodb.com thanks for reporting this, confirmed to happen on the latest beta for 1.35.1-beta.1: Screen Recording 2022-12-15 at 16.57.26.mov

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