Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5205

Metadata form generated by designer contains styles inconsistent with webui

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Added to Roadmap
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: Studio Designer

      Description

      Metadata forms generated by view designer don't contain the correct styles.

      Styles should be externalize so:

      • there is no need to keep view designer and webui in sync
      • if webui styles are updated, existing forms in designer don't need to be updated

      Step to reproduce:

      • Create a new document type
      • Configure the missing layouts in designer

      Webui default layout styles:
      https://github.com/nuxeo/nuxeo-web-ui/blob/cdc1e17874787392d98dcaa02084a0e6208ca404/elements/document/file/nuxeo-file-metadata-layout.html#L26

      Designer generated styles:

          <style>
            *[role=widget] {
              padding: 5px;
            }
          </style>
      

        Attachments

        1. custom form.PNG
          custom form.PNG
          114 kB
        2. designer.PNG
          designer.PNG
          265 kB
        3. File.PNG
          File.PNG
          223 kB
        4. webui-file-metadata-form.PNG
          webui-file-metadata-form.PNG
          79 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: