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

Stunner based JS bundle for creating custom domains

XMLWordPrintable

    • Stunner - JS bundle for custom domains
    • False
    • None
    • False
    • To Do
    • 40% To Do, 0% In Progress, 60% Done
    • ---
    • ---

      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

       

            handreyrc Handrey Cunha
            romartin@redhat.com Roger Martinez
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: