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

SWF Editor - Ability to update editor's content

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Optional Optional
    • None
    • None
    • Authoring Tooling

      Motivation

      Stunner based editors,such as the SWF Editor, are (historically) designed for achieveing a comlete editor's lifecycle for every Workbench editor call to setContent. It implies DOM nodes, references and heap being reserved also destroyed on every single setContent call.

      Due to new requirements in SWF Editor, the user is able to author the workflow by using the text based editor (at west side), and display the updates on the diagram (visual) based editor (at east side).

      It results on the need for changing the lifecycle for the diagram editor, in order to consdier an initial setContent call, followed by multiple updates also relying on setContent.

      Goal

      Need for editor lifecycle change in order to assume:

      • An initial content being set
      • Potential further content updates
      • Handle setContent promise rejection (actually we're never rejecting it, only diagram edior shows an error icon)

      Condierations: TBD

      Actions: TBD

            eignatow Eder Ignatowicz
            romartin@redhat.com Roger Martinez
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: