Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8456

Stunner based JS bundle for creating custom domains

    XMLWordPrintable

Details

    • Stunner - JS bundle for custom domains
    • False
    • None
    • False
    • To Do
    • 60
    • 60% 60%
    • ---
    • ---

    Description

      Goal

      Stunner must be exposed as a JavaScript library / framework in order to allow the creation of editors for custom domains (declared in JS as well)

      Actions

      1. Domain
        1. JS native Domain Adapter's (KOGITO-7999)
        2. Refactor domain configuration state (Domain initialization stuff) to an object
        3. Support for JS native domain models (isNative=true, declaration, initialization, etc)
        4. Js native API's
        5. Fields for Diagram/Graph/Node/Edge, etc are not properly exposed to js, they're still obfuscated (maybe cause those are private final?)
      2. Shapes
        1.  Create some generic Shape & ShapeView types -> js declarations should only worry about lienzo (multipath / children)
        2. Create some generic ShapeFactory for use in js declarations
        3. Js runtime Shape Declarations (Shape, ShapeFactory, etc)
        4.  Kirill Issues on edit mode with selection feature
        5.  - Kirill Issues with shapes title. No need for init at constructor, it is a runtime property that may change
      3. Marshalling
        1. Check serialization issues reported by Dmitrii
        2. Default JSON/YAML parsers for Diagram instance
      4. Bundling
        1. Standalone Runtime Editor bundle ( WIP see this branch )
        2. ES6 Modules ( See this work from Dmitrii )
      5. J2CL migration
      6. Clean-ups
        1. drop errai data binders / uibinders (+dep to modules)
        2. drop gwt uibinders (+dep to modules)
        3. drop gwtbootstrap (+dep to modules)
        4. Decouple from unnecessary resources (js,css,etc)
          1. See SwfDiagramEditorResources.ts
          2. Analyze stunner-widges dependencies to resources, other modules shouldn't depend on

       

      Attachments

        Issue Links

          Activity

            People

              romartin@redhat.com Roger Martinez
              romartin@redhat.com Roger Martinez
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: