Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7013

Editor tab indentation behavior broken in 1.38.2

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.40.4
    • Affects Version/s: 1.38.2
    • Component/s: Editor, UI / UX
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Not Needed
    • Iteration Lambeosaurus, Iteration Minmi

      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 

       

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: