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

[Stunner] Lienzo - Migration to native interfaces

XMLWordPrintable

    • 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21), 2021 Week 28-30 (from Jul 12)

      The tasks below are mostly scoped for the Lienzo Core, and their main goal is to move to native interfaces, as many possible, by relying on latest JsInterop DOM APIs (Elemental2, Vertispan, etc).
      It will provide out-of-the-box improvements on performance, code quality and debugging. When performing code, usability and performance improvements in other areas of the lienzo core will be made as well.

      Main goals:

      • Migration to native APIs
        • Move as much as possible from gwt to elemental2/j2cl, although the idea is still to run on top of both of them, as probably it's still hard to completely decouple from gwt
      • GWT event bus & event dispatching - Refactoring to native browser events and move to single event instance reuse policy
        • Refactor human abstract events to native
        • Reduce the amount of new objects being created

      Actions:

      1. Rebase from the latest upstream
      2. Refactor Panel & Events stuff
        1. LienzoPanel/s (eg: growable)
        2. Refactor also the showcase infinite scroll stuff?
        3. Events stuff (eg: LienzoHandlerManager, LienzoPanelHandlerManager)
      3. Showcase app (refactor/extract from core)
      4. Unit testing (lienzo-tests)
      5. Include Performance examples/tests (comparison with old stuff)

      Acceptance criteria

      • The whole lienzo-core repository is rebased with upstream.
      • Lienzo Panel is migrated from GWT to elemental2/j2cl.
      • GWT Events are replaced by native HTML events.
      • The document with comparison of performance data of old and new code is produced.
      • For Lienzo tests https://issues.jboss.org/browse/JBPM-8858 must be resolved.

        1. fee.dmn
          18 kB
          Jozef Marko

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

              Created:
              Updated:
              Resolved: