[COMPASS-7013] Editor tab indentation behavior broken in 1.38.2 Created: 07/Jul/23  Updated: 29/Oct/23  Resolved: 11/Oct/23

Status: Closed
Project: Compass
Component/s: Editor, UI / UX
Affects Version/s: 1.38.2
Fix Version/s: 1.40.4

Type: Bug Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Lambeosaurus, Iteration Minmi

 Description   

Reproduce:

  • Select text from two lines in the aggregation editor.
  • Hit tab.
  • Observe that a tab character was added instead of both lines being indented.

Not sure if it started happening in this release. We should indent content when it's selected instead of adding a tab character (see shift+tab behavior as it seems to be working correctly).

Reported on slack:
https://mongodb.slack.com/archives/C0U7K0MC3/p1688662809796499 

 



 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

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

Message: fix(compass-editor): fix tab behavior with selection COMPASS-7013 (#4940)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/8d970066e5edbb2d6640cd18316e57f6ac11db85

Comment by Githook User [ 17/Oct/23 ]

Author:

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

Message: fix(compass-editor): fix tab behavior with selection COMPASS-7013 (#4940)
Branch: investigate-update-preview
https://github.com/mongodb-js/compass/commit/8d970066e5edbb2d6640cd18316e57f6ac11db85

Comment by Githook User [ 16/Oct/23 ]

Author:

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

Message: fix(compass-editor): fix tab behavior with selection COMPASS-7013 (#4940)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/8d970066e5edbb2d6640cd18316e57f6ac11db85

Comment by Githook User [ 12/Oct/23 ]

Author:

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

Message: fix(compass-editor): fix tab behavior with selection COMPASS-7013 (#4940)
Branch: COMPASS-7292-run-ai-accuracy-tests
https://github.com/mongodb-js/compass/commit/8d970066e5edbb2d6640cd18316e57f6ac11db85

Comment by Githook User [ 11/Oct/23 ]

Author:

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

Message: fix(compass-editor): fix tab behavior with selection COMPASS-7013 (#4940)
Branch: COMPASS-7303-increase-timeout
https://github.com/mongodb-js/compass/commit/8d970066e5edbb2d6640cd18316e57f6ac11db85

Comment by Githook User [ 10/Oct/23 ]

Author:

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

Message: fix(compass-editor): fix tab behavior with selection COMPASS-7013 (#4940)
Branch: main
https://github.com/mongodb-js/compass/commit/8d970066e5edbb2d6640cd18316e57f6ac11db85

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