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

Consolidate Ace Editor usage into one Editor component in `compass-components`

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.3
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • Not Needed
    • Iteration Anemone

      There are a number of places where we use Ace Editor (react-ace) in Compass which are similar in their implementation. If, down the line, we wanted to transition away from react-ace or update one property it would take changes in all of those ace editor uses.
      To help make changes like this easier and to abstract away the editor implementation let's add an `Editor` component to `compass-components`.

      This `Editor` component should replace all of the direct `react-ace` uses in Compass and be able to provide the flexibility to accommodate all of the various ways it can be configured, maybe through something like a variant property as to hide some of the internals.

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

              Created:
              Updated:
              Resolved: