Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13331

Fix macro behavior for directives widget

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 5.0.0, 4.3.5
    • Component/s: UI
    • Labels:
      None
    • Sprint:
      5.0 06/05
    • Release Notes:
      Fixed macro enabled properties in plugin configuration to only have macro behavior if the entire value is a macro.
    • Rank:
      1|i00byv:6

      Description

      Currently, if part of the directives is a macro, then when you open the wrangler transform node, the widget gets changed to a macro textbox, and all the directives get collapsed to one line. To fix this, we should:

      1. Remove the special casing for the code editors that was added in CDAP-13162
      2. Only turn it into a macro text box if the entire value of the widget is a macro.
      3. If only a part of the entire value of a widget is a macro, keep the widget as is, and retain any formatting of its value. However, only add a grey background to it like was done in CDAP-13162, to indicate that it contains a macro.

        Attachments

          Activity

            People

            • Assignee:
              edwin Edwin Elia
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: